Calculating unwrapped phase between two signals
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!