[LAU] Audio seamless switch

Chris Caudle chris at chriscaudle.org
Wed Jun 20 23:06:03 CEST 2018


On Sun, June 17, 2018 3:16 am, Benny Alexandar wrote:
> The user who is listening to it should not notice the switching, and this
> switching happens when the quality of one audio is degraded compared to
> other.

Is like the digital radio schemes where a digital program and an analog FM
signal are both broadcast, and if the reception changes such that the
digital signal cannot be received the audio is switched to the analog
signal?

> Yes delay estimation is required as the delay is not known upfront.

Is that acceptable to require user intervention, e.g. adjust delay until
it sounds correct, or are you looking for automatic delay estimation?  If
you want automatic delay estimation it is unlikely you will find anything
off the shelf that does what you want.  You would need to check the
auto-correlation value as a function of delay and find the delay at which
the signals are most correlated.

> In addition to re-sampling stretching also required.

You have not adequately explained why either resampling or stretching
would be required.  If the two streams are from the same source but one
path has a delay, then presumably a fixed delay would be all you need.

-- 
Chris Caudle


More information about the Linux-audio-user mailing list