Re: [music-dsp] Clock drift and compensation

2018-01-28 Thread Benny Alexandar
Hi GM, >> HT -> Atan2 -> differenciate -> unwrap Could you please explain how to find the drift using HT, HT -> gives real(I) & imaginary (Q) components of real signal Atan2 -> the phase of an I Q signal diff-> gives what ? unwrap ? -ben From: music-dsp-boun...

Re: [music-dsp] Clock drift and compensation

2018-01-28 Thread STEFFAN DIEDRICHSEN
Actually, there are SRC chips available from Texas Instruments, just take look at their website. They don’t cost too much and are found in countless digital mixing consoles. Best, Steffan Von meinem iPhone gesendet Von meinem iPhone gesendet > Am 28.01.2018 um 17:19 schrieb Benny Alexandar

Re: [music-dsp] Clock drift and compensation

2018-01-28 Thread gm
diff gives you the phase step per sample, basically the frequency. However the phase will jump back to zero periodically when the phase exceeds 360° (when it wraps around) in this case diff will get you a wrong result. So you need to "unwrap" the phase or the phase difference, for example: d