Re: Audio seamless switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>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@xxxxxxxxxxxxxxxxxxxx> on behalf of Chris Caudle <chris@xxxxxxxxxxxxxxx>
Sent: Thursday, June 21, 2018 2:36 AM
To: linux-audio-user@xxxxxxxxxxxxxxxxxxxx
Subject: Re: 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@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux