[PD] audio delay

Amos Robinson amos.robinson at gmail.com
Tue Dec 2 15:53:50 CET 2008


I think? that you could easily replace the [rzero~ 1] -> [-~] dance
with just an [rzero_rev~ 0]?

On Wed, Dec 3, 2008 at 12:50 AM, Frank Barknecht <fbar at footils.org> wrote:
> Hallo,
> joel silvestre hat gesagt: // joel silvestre wrote:
>
>> I'm searching how to do a sample resolution audio delay. Is it possible?
>
> Yes, even in multiple ways: One would involve [rzero~]. rzero acts like
> this on audio input:
>
>  y[n] = x[n] - a[n] * x[n-1]
>
>  y[n]: output sample n
>  x[n]: input sample n
>
> If you set a = 1 and substract this from the original signal, you get:
>
>  y[n] = x[n] - (x[n] - x[n-1]) = x[n-1]
>
> You could also set a = -1 and substract the original from rzero's output:
>
>  y[n] = (x[n] + x[n-1]) - x[n]) = x[n-1]
>
> Both are a one sample delays. In Pd the first approach would realised as:
>
>  [inlet~]
>  | \
>  |  [rzero~ 1]
>  |  |
>  [-~]
>  |
>  [outlet~]
>




More information about the Pd-list mailing list