[LAU] Audio seamless switch

Benny Alexandar ben.alex at outlook.com
Thu Jun 21 03:48:19 CEST 2018


>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, you are right. That is the use case.

>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.

I would like that to be  automated by correlating and finding the delay.
However, in case of analog broadcast to digital program will have a
fixed delay 3-4 seconds.But if the switching is from IP broadcast to
digital radio then it can be variable.

Can Ardour DAW be programmed to a fixed delay and do the cross fading of two audio ?
Will it support real time audio streaming audio captures through sound card and playback
through sound cards.

>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.

Yes, if the sample rates of both are same.

-ben
________________________________
From: Linux-audio-user <linux-audio-user-bounces at lists.linuxaudio.org> on behalf of Chris Caudle <chris at chriscaudle.org>
Sent: Thursday, June 21, 2018 2:36 AM
To: linux-audio-user at lists.linuxaudio.org
Subject: Re: [LAU] Audio seamless switch

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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user at lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.linuxaudio.org/archives/linux-audio-user/attachments/20180621/cec5122a/attachment.html>


More information about the Linux-audio-user mailing list