[PD] change length of delay line in delwrite

Roman Haefeli reduzent at gmail.com
Wed May 23 01:03:53 CEST 2012


On Die, 2012-05-22 at 20:13 +0200, Marian Weger wrote:
> >
> > How can i change the second argument of delwrite dynamically?
> >
> > I want to change the legth of the delay line each time I store a 
> > signal, is that possible?
> >
> 
> hi!
> 
> you just want a variable delay time, right?
> 
> just make the second argument of delwrite as long as your maximum needed 
> delay.
> simplified, this is the size that is reserved on ram.
> 
> the effective delay time can be specified with delread dynamically 
> (minimum: 1 dsp cycle, maximum: the size you specified for delwrite)

Actually, you can go as low as 0 samples|ms if you force the execution
order correctly. This is documented in help -> 3.audio.examples ->
G05.execution.order.pd.

Sorry for nitpicking.

Roman





More information about the Pd-list mailing list