Re: [music-dsp] Clock drift and compensation

2018-03-09 Thread Benny Alexandar
sic-dsp-boun...@music.columbia.edu> on behalf of gm <g...@voxangelica.net> 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 arcs

Re: [music-dsp] Clock drift and compensation

2018-03-09 Thread Ethan Duni
eck. > > -ben > > > > -- > *From:* music-dsp-boun...@music.columbia.edu <music-dsp-bounces@music. > columbia.edu> on behalf of gm <g...@voxangelica.net> > *Sent:* Monday, January 29, 2018 1:29 AM > > *To:* music-dsp@musi

Re: [music-dsp] Clock drift and compensation

2018-03-09 Thread gm
eck. -ben *From:* music-dsp-boun...@music.columbia.edu <music-dsp-boun...@music.columbia.edu> on behalf of gm <g...@voxangelica.net> *Sent:* Monday, January 29, 2018 1:29 AM *To:* music-dsp@music.columbia.edu *Subject:* Re: [music-dsp] Clock drift and co

Re: [music-dsp] Clock drift and compensation

2018-03-09 Thread Benny Alexandar
a.edu> <music-dsp-boun...@music.columbia.edu><mailto:music-dsp-boun...@music.columbia.edu> on behalf of gm <g...@voxangelica.net><mailto:g...@voxangelica.net> Sent: Saturday, January 27, 2018 5:20 PM To: music-dsp@music.columbia.edu<mailto:music-dsp@music.columbia.edu> Subj

Re: [music-dsp] Clock drift and compensation

2018-02-05 Thread STEFFAN DIEDRICHSEN
robert bristow-johnson > <r...@audioimagination.com> > 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 you want to do is Asynchronous Sample > Rate Conversio

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

Re: [music-dsp] Clock drift and compensation

2018-02-05 Thread Benny Alexandar
ic.columbia.edu> >> <music-dsp-boun...@music.columbia.edu >> <mailto:music-dsp-boun...@music.columbia.edu>> on behalf of gm >> <g...@voxangelica.net <mailto:g...@voxangelica.net>> >> *Sent:* Saturday, January 27, 2018 5:20 PM >> *To:

Re: [music-dsp] Clock drift and compensation

2018-02-04 Thread robert bristow-johnson
27, 2018 5:20 PM *To:* music-dsp@music.columbia.edu <mailto: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

Re: [music-dsp] Clock drift and compensation

2018-01-29 Thread Vladimir Pantelic
:* music-dsp@music.columbia.edu *Subject:* Re: [music-dsp] Clock drift and compensation 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.

Re: [music-dsp] Clock drift and compensation

2018-01-29 Thread Benny Alexandar
<music-dsp-boun...@music.columbia.edu><mailto:music-dsp-boun...@music.columbia.edu> on behalf of gm <g...@voxangelica.net><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-28 Thread gm
gt; on behalf of gm <g...@voxangelica.net> *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, but you can calculate the drift

Re: [music-dsp] Clock drift and compensation

2018-01-28 Thread STEFFAN DIEDRICHSEN
an I Q signal > diff-> gives what ? > unwrap ? > > -ben > > > From: music-dsp-boun...@music.columbia.edu > <music-dsp-boun...@music.columbia.edu> on behalf of gm <g...@voxangelica.net> > Sent: Saturday, January 27, 2018 5:20 PM > To: music-dsp@music.columb

Re: [music-dsp] Clock drift and compensation

2018-01-28 Thread Benny Alexandar
___ From: music-dsp-boun...@music.columbia.edu <music-dsp-boun...@music.columbia.edu> on behalf of gm <g...@voxangelica.net> 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 proje

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 ___

Re: [music-dsp] Clock drift and compensation

2018-01-25 Thread Benny Alexandar
, January 24, 2018 2:17 AM To: music-dsp@music.columbia.edu Subject: Re: [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 an

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,

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