Re: [music-dsp] Clock drift and compensation

2018-03-09 Thread Benny Alexandar
behalf of gm Sent: Saturday, March 10, 2018 1:20 AM To: music-dsp@music.columbia.edu Subject: Re: [music-dsp] Clock drift and compensation The problem I see is that your sine wave needs to have a precise amplitude for the arcsine. I don't understand your application so I don't know if t

Re: [music-dsp] Clock drift and compensation

2018-03-09 Thread Ethan Duni
gt; -ben > > > > -- > *From:* music-dsp-boun...@music.columbia.edu columbia.edu> on behalf of gm > *Sent:* Monday, January 29, 2018 1:29 AM > > *To:* music-dsp@music.columbia.edu > *Subject:* Re: [music-dsp] Clock drift and compensation > >

Re: [music-dsp] Clock drift and compensation

2018-03-09 Thread gm
tinuity check. -ben *From:* music-dsp-boun...@music.columbia.edu on behalf of gm *Sent:* Monday, January 29, 2018 1:29 AM *To:* music-dsp@music.columbia.edu *Subject:* Re: [music-dsp] Clock drift and compensation diff gives you the phase step per sample, bas

Re: [music-dsp] Clock drift and compensation

2018-03-09 Thread Benny Alexandar
s logic is correct for discontinuity check. -ben From: music-dsp-boun...@music.columbia.edu on behalf of gm Sent: Monday, January 29, 2018 1:29 AM To: music-dsp@music.columbia.edu Subject: Re: [music-dsp] Clock drift and compensation diff gives you the phase step

Re: [music-dsp] Clock drift and compensation

2018-02-05 Thread STEFFAN DIEDRICHSEN
> time + Target Delay) should be ideally zero, > if audio plays out at the same rate as transmission of audio,. > > -ben > > > From: music-dsp-boun...@music.columbia.edu > on behalf of robert bristow-johnson > > Sent: Monday, February 5, 2018 1:01 PM > To

Re: [music-dsp] Clock drift and compensation

2018-02-05 Thread Eric Brombaugh
I've done a few different systems similar to what you're describing - a radio front-end tuner that generates baseband I & Q at audio rates that's then further processed by a DSP to extract true audio. Normally what I do is slave the DSP rate to the tuner audio rate. That's usually possible sin

Re: [music-dsp] Clock drift and compensation

2018-02-05 Thread Benny Alexandar
transmission of audio,. -ben From: music-dsp-boun...@music.columbia.edu on behalf of robert bristow-johnson Sent: Monday, February 5, 2018 1:01 PM To: music-dsp@music.columbia.edu Subject: Re: [music-dsp] Clock drift and compensation Ben, can you confirm that what

Re: [music-dsp] Clock drift and compensation

2018-02-04 Thread robert bristow-johnson
music.columbia.edu <mailto:music-dsp-boun...@music.columbia.edu> <mailto:music-dsp-boun...@music.columbia.edu>> on behalf of gm mailto:g...@voxangelica.net>> *Sent:* Saturday, January 27, 2018 5:20 PM *To:* music-dsp@music.columbia.edu <mailto:music-dsp@music.columbia.edu> *Subje

Re: [music-dsp] Clock drift and compensation

2018-01-29 Thread Vladimir Pantelic
oun...@music.columbia.edu> <mailto:music-dsp-boun...@music.columbia.edu> on behalf of gm <mailto:g...@voxangelica.net> *Sent:* Saturday, January 27, 2018 5:20 PM *To:* music-dsp@music.columbia.edu <mailto:music-dsp@music.columbia.edu> *Subject:* Re: [music-dsp] Clock drift and co

Re: [music-dsp] Clock drift and compensation

2018-01-29 Thread Benny Alexandar
this case 7.999 samples corresponds to 1 kHz. -ben From: music-dsp-boun...@music.columbia.edu on behalf of gm Sent: Monday, January 29, 2018 1:29 AM To: music-dsp@music.columbia.edu Subject: Re: [music-dsp] Clock drift and compensation diff gives you the phase

Re: [music-dsp] Clock drift and compensation

2018-01-28 Thread gm
ay, January 27, 2018 5:20 PM *To:* music-dsp@music.columbia.edu *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

Re: [music-dsp] Clock drift and compensation

2018-01-28 Thread STEFFAN DIEDRICHSEN
what ? > unwrap ? > > -ben > > > From: music-dsp-boun...@music.columbia.edu > on behalf of gm > Sent: Saturday, January 27, 2018 5:20 PM > To: music-dsp@music.columbia.edu > Subject: Re: [music-dsp] Clock drift and compensation > > > I don't u

Re: [music-dsp] Clock drift and compensation

2018-01-28 Thread Benny Alexandar
___ From: music-dsp-boun...@music.columbia.edu on behalf of gm Sent: Saturday, January 27, 2018 5:20 PM To: music-dsp@music.columbia.edu 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, b

Re: [music-dsp] Clock drift and compensation

2018-01-27 Thread gm
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 ___ d

Re: [music-dsp] Clock drift and compensation

2018-01-25 Thread Benny Alexandar
music-dsp] Clock drift and compensation On Tue, Jan 23, 2018 at 04:17:40PM +, Benny Alexandar wrote: > How to design a control system such that a digital baseband frame of duration > 'T' ms is mapped to audio and adjust the drift ? A classic asynchronous resampling problem. L

Re: [music-dsp] Clock drift and compensation

2018-01-23 Thread Bogac Topaktas
On Tue, January 23, 2018 7:17 pm, Benny Alexandar wrote: > Now if the tuner xtal is drifting then the dsp audio streaming needs to > adjust to that drift, else buffer overflow or underrun happens as the > sample rates doesn't match. Assuming you do not have the option of modifying the hardware, yo

Re: [music-dsp] Clock drift and compensation

2018-01-23 Thread Andy Farnell
On Tue, Jan 23, 2018 at 04:17:40PM +, Benny Alexandar wrote: > How to design a control system such that a digital baseband frame of duration > 'T' ms is mapped to audio and adjust the drift ? A classic asynchronous resampling problem. Look at something like SMPTE drop frame resampling using