[PD] Phase and impulse response measurement

Mathieu Bouchard matju at artengine.ca
Thu Nov 4 16:14:41 CET 2010


On Thu, 4 Nov 2010, Martin Schied wrote:

>       Hi everyone,
>       i wondered if someone made a patch measuring the PHASE of a reference signal compared to measured signal
> 
> you could one of the cross-correlation externals to measure the time 
> delay between 2 signals. (there's one external in iem_tab from 
> pd-extended I remember and there are possibly more). If that's useful 
> for you I created a similar, fft based patch using vanilla objects I can 
> post here. However correlation doesn't directly measure phase 
> differences of separate frequency bands but the delay of the signal over 
> all frequencies.

What do you mean ? If you get the imaginary part of the logarithm of the 
cross correlation, it gives you a list of phase differences corresponding 
to each frequency bin, right ?

(that's equal to the atan2 between the real and imaginary parts of the 
cross-correlation)

  _______________________________________________________________________
| Mathieu Bouchard ------------------------------ Villeray, Montréal, QC


More information about the Pd-list mailing list