Forums > MaxMSP

Calculating unwrapped phase between two signals

August 27, 2013 | 5:40 pm

We’re basically looking at some sine sweeps between two mics and want to be able to calculate the phase shift with the aim of being able to do very accurate time delay calculations. I used to do this with Smaart Live a long time ago using the "unwrapped" phase measurement, which could then be calculated back to time delay.

But I’m trying to DIY it with Max and am pretty stumped on how to do it. Right now I have two buffers (though this could/should be able to be done realtime as well) that are identical with log sweeps. Does anyone know how to get and plot the phase vs. frequency?

Many thanks!


Viewing 1 post (of 1 total)