omni
omni copied to clipboard
DSL for low-level audio programming.
The untyped parser generates a lot of `typeof` calls. In the typed section these should be maintained ONLY if the variable assigned - or the tuple access- (these are the...
just like #93 ```nim ins 1 outs 1: someOut sample: someOut = in1 #aka out1 = in1 ```
```nim struct Blah: x struct Something[T]: a T init: something = Something(Blah()) #Something[Blah] something = Something(0) #Something[int] ``` Is it really necessary, considering that `Data` already work with this?
Like Max has for like `selector~ 4`
``` a = 0.5 g = Data(100) g[a] -> (Will be interpolated between samples 0 and 1, with frac 0.5) ``` However, this will be exactly like the `read` function....
should there be `fixdenorm` on output? it's been used already in critical functions (`log`, `gamma`, etc..)