Re: [music-dsp] Clock drift and compensation

2018-03-09 Thread gm
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 this is the case. Am 09.03.2018 um 19:58 schrieb Benny Alexandar: Hi GM, Instead of finding Hilbert transform, I tried with just finding the

Re: [music-dsp] Clock drift and compensation

2018-03-09 Thread Ethan Duni
Hi ben You don't need to evaluate the asin() - it's piecewise monotonic and symmetrical, so you can get the same comparison directly in the signal domain. Specifically, notice that x(n) = sin(2*pi*(1/4)*n) = [...0,1,0,-1,...]. So you get the same result just by checking ( abs( x[n] - x[n-1] ) ==

Re: [music-dsp] Clock drift and compensation

2018-03-09 Thread Benny Alexandar
Hi GM, My application is to capture an analog sine tone through PC sound card and check for discontinuity, glitch, audio gap, attenuation etc. Please suggest any other reliable methods for this analysis. -ben From: music-dsp-boun...@music.columbia.edu