On Tuesday, 28 April 2015 at 17:50:48 UTC, Stincky gecko wrote:
If you have only a filter it can be batch-processed but if the
the filter is plugged to a delay line itself pluged to a SSB
frequency shifter whose itself has a feedback bus going
to...well it cant be buffered anymore.
I see what you mean, but maybe it can be buffered.
With ae.utils.graphics, even a long chain of operations still
benefits from pixel being arranged in scanlines. It's like
"expression templates for images" and maybe we need "expression
templates for sound".
The memory support for this is often alloca() in the C++ world.
And it's pretty cumbersome to do everything with buffers.
In video game, they play wavetables and eventually the output
is passed in a binaural spatiializer or a reverb unit...though
it's still need sample rate info for re-sampling and maybe
dithering depending on the sample bit-depth of the samples
frames.
Indeed wavetable look-up is not stateful.