[PD] convolution using pd-vanilla
david medine
dmedine at ucsd.edu
Mon May 5 20:49:11 CEST 2014
For the FFT based convolution, you could easily modify the example patch
I06.timbre.stamp.pd to do straight up convolution in the frequency
domain. I wouldn't know how to do it in the time domain without an
extern or a lot of painstaking work. It might be a nice thing to have,
though.
I can tell you, though, that the frequency domain method will out
perform the time domain in terms of CPU usage. But, since you are
windowing there will be a latency. Apart from that, the output is
identical by both methods.
y(n) = x(n) * g(n)
Y(k) = X(k)G(k), y(n) = IDFT(Y(k))
where g(n) is the impulse response, X(k) is the discrete Fourier
transform of x(n) and * is the convolution operation.
On 05/05/2014 09:33 AM, Oli Larkin wrote:
> hi,
>
> is anyone aware of an example of both a brute force time domain (e.g. buffir~ in Max) and an FFT-based fast convolution patch in pd-vanilla? I would like to do a comparison of the two. Can be using a small IR, just for demo purposes.
>
> cheers,
>
> Oli
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list
mailing list