grame-cncm / faust

Functional programming language for signal processing and sound synthesis
http://faust.grame.fr
Other
2.58k stars 322 forks source link

`faust osc.dsp` generates a 64k entry lookup table; why? #580

Closed JayFoxRox closed 3 years ago

JayFoxRox commented 3 years ago

I'm experimenting with faust, on a very limited platform with only about 16k of RAM (with a much larger main RAM, but I'd have to page-in and -out data manually).

However, even a trivial case like faust /usr/share/faust/examples/generator/osc.dsp will generate static float ftbl0mydspSIG0[65536]; which is filled at application startup.

I even see this in the --one-sample mode.

Just to be clear: I'd be making my own code-generator / backend for my platform anyway. I just want to figure out wether it's even feasible before I sink too much time into it.

sletz commented 3 years ago