On Saturday 08 February 2003 21.03, Tim Hockin wrote:
Branching to
fill your delay line with explit 0.0's intead of
reading them from a buffer of zeros doesn't help. We allready
know that reverbs cant support it at all. Efficieny reasons would
also rule out flangers, delays, most filters and choruses.
Maybe I'm missing something, but how can a test that amounts to
this NOT be faster than doing any work at all?
if (me->silent && XAP_BUF_SILENT(me->in[0]) &&
XAP_BUF_SILENT(me->in[1])) { return;
}
Well, you'll have to "pump zeroes" until your tail is out, but that's
all... A state machine with three states, basically. If you have no
tail, there are only two states, but that doesn't apply to all that
many effects.
[...]
As for the 'feature' - let's keep it in
mind, and we'll see how it
fares. If it is not effective, or the burden is really too much,
we'll scrap it. That is why discussions like this are so great.
Yeah.
//David Olofson - Programmer, Composer, Open Source Advocate
.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`--------------------------->
http://olofson.net/audiality -'
---
http://olofson.net ---
http://www.reologica.se ---