Ben, can you confirm that what you want to do is Asynchronous Sample Rate Conversion (ASRC)? this is what Steffan is talking about and what it looked like you were looking for in your first post.

If ASRC is what you wanna do, that is a combination of the SRC task (like what is done to a sound file when you change the sample rate of it) and servo systems like you get in control theory, like what is done in a phase-lock loop (like hurrying up or slowing down based on the delay). If you wanna write your own code to do this, it's about those two general DSP and digital control problems. you will need to be able to read a fast system clock (like what profilers read) to do this really well.

r b-j

On 1/28/18 1:16 PM, STEFFAN DIEDRICHSEN wrote:
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.



Von meinem iPhone gesendet

Von meinem iPhone gesendet
Am 28.01.2018 um 17:19 schrieb 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 ?


*From:* <> < <>> on behalf of gm < <>>
*Sent:* Saturday, January 27, 2018 5:20 PM
*To:* <>
*Subject:* Re: [music-dsp] Clock drift and compensation

I don't understand your project at all so not sure if this is helpful,
probably not,
but you can calculate the drift or instantanous frequency of a sine wave
on a per sample basis
using a Hilbert transform
HT -> Atan2 -> differenciate -> unwrap
dupswapdrop: music-dsp mailing list <>

dupswapdrop: music-dsp mailing list <>

dupswapdrop: music-dsp mailing list


r b-j        

"Imagination is more important than knowledge."

dupswapdrop: music-dsp mailing list

Reply via email to