Here is what I was planning. The sine wave frequency is known.

For example if sine wave is having a frequency of 1 kHz and sampling rate is 48 
Then every 48 samples will make one full cycle. Find the norm of this 48 
It should remain constant,  if any fading, mute etc will be detected by 
comparing with
this threshold value. But if there is a phase discontinuity it will be hard to 


<> on behalf of Spencer Jackson 
Sent: Wednesday, January 10, 2018 10:04 PM
Subject: Re: [music-dsp] Finding discontinuity in a sine wave.

If the sine frequency is known, perhaps you could use a goertzel filter and 
compare a average signal power calculation to measure the power of the error 

That doesn't identify the nature of the error, but strikes me as an interesting 

On Wed, Jan 10, 2018 at 9:23 AM, Eric Brombaugh 
<<>> wrote:
Maybe try locking a PLL to the sinewave to get the expected frequency and 
phase, then look for differences between them?


On 01/10/2018 09:08 AM, Benny Alexandar wrote:

I want to do some time domain analysis on a sine wave signal which is 
continuously streaming.
My objective is to detect any discontinuities such as audio gap, fading, phase 
discontinuity etc.

Any algorithms available on time domain other than doing FFT based approach ?


dupswapdrop: music-dsp mailing list<>

dupswapdrop: music-dsp mailing list<>

dupswapdrop: music-dsp mailing list

Reply via email to