[PD] audio delay

Frank Barknecht fbar at footils.org
Tue Dec 2 15:02:58 CET 2008


Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:

> Another way would be to use a normal delay with [delwrite~] and
> [delread~] and set the delay time to be one sample. One sample at a
> samplerate SR takes 1/SR seconds or 1000/SR milliseconds, so do this: 
> 
>  [samplerate~]
>  |
>  [swap 1000]
>  |     /
>  [/~  ]
>  |
>  [* 1]
>  |
>  [delread~ mydelay]
> 
> Use this approach if you want to calculate delay times with more than
> one sample. Just change the [* 1] to [* 5] to get a delay of five
> samples, for example.

Additional note: Do not use [vd~] here! It's doing interpolation and has
to be run with at least one sample delay anyway. 

Ciao
-- 
Frank




More information about the Pd-list mailing list