[PD] cross-correlation in pd ?

Charles Henry czhenry at gmail.com
Mon Jun 18 17:34:31 CEST 2007


> Here's an abstraction for computing a symmetric cross-covariance, this
> way.  It outputs the cross-covariance, xcov(k)=sum(i=-32,...,31;
> s1(i+k)*s2(i))
> It's still pretty ugly, and the details of the math confuse me a bit.
> I'm still working on the one-sided cross covariance function for
> delays, like from [0,63] instead of [-32,31]

and here's the same thing except it's a forward cross-covariance,
called fxcov~.pd
It's pretty much the same thing (up to a certain point), but as I've
discovered, using xcov to calculate PSD and CSD for deconvolution can
be tricky (even when it's a full rank system).  There's a big diff
between symmetric and forward cross-covariance in this respect.  None
of my reverberation measurement patches ever worked completely due to
audio dropouts and badly formatted problems (I'm still working on it).
The fxcov~ patch contains some math for your comparison.

Chuck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fxcov~.pd
Type: application/octet-stream
Size: 1664 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070618/0fb2005d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fxcov~-test.pd
Type: application/octet-stream
Size: 1209 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070618/0fb2005d/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conj_mult~.pd
Type: application/octet-stream
Size: 551 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070618/0fb2005d/attachment-0002.obj>


More information about the Pd-list mailing list