[PD] Phase and impulse response measurement

Christoph Kuhr christoph.kuhr at web.de
Thu Nov 4 17:28:49 CET 2010


i want to display it like the picture attached...


Am 04.11.2010 16:14, schrieb Mathieu Bouchard:
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: phase.jpg
Type: image/jpeg
Size: 144585 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20101104/d5b94617/attachment-0001.jpg>


More information about the Pd-list mailing list