Tim Blechmann wrote:
hi iohannes ...
i was trying to use dirac~ today ... got a few comments:
- the creation argument is ignored for the first dirac impulse
- it wasn't possible to suppress the first dirac impulse
- the dsp algorithm was pretty unoptimized
yes, i haven't looked at that one for ages.
so i was tweaking it a bit:
- creation argument schedules the first dirac impulse, too
- using negative creation arguments suppresses the first dirac impulse
(absolute value is used for the next impulse delay)
- optimized it, did some loop unrolling (no simd code ... since you
probably want to keep compatibility with vanilla pd)
perfect.
patch is attached ...
thanks, it's in the CVS.
mfg.as.dr IOhannes