<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<font size="2"><span style="font-size:11pt;">>Is like the digital radio schemes where a digital program and an analog FM<br>
>signal are both broadcast, and if the reception changes such that the<br>
>digital signal cannot be received the audio is switched to the analog<br>
>signal?</span></font></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<font size="2"><span style="font-size:11pt;"><br>
</span></font></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<font size="2"><span style="font-size:11pt;">Yes, you are right. That is the use case.
<br>
</span></font></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<font size="2"><span style="font-size:11pt;"><br>
</span></font></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<font size="2"><span style="font-size:11pt;"></span></font><font size="2"><span style="font-size:11pt;">>Is that acceptable to require user intervention, e.g. adjust delay until<br>
>it sounds correct, or are you looking for automatic delay estimation?  If<br>
>you want automatic delay estimation it is unlikely you will find anything<br>
>off the shelf that does what you want.  You would need to check the<br>
>auto-correlation value as a function of delay and find the delay at which<br>
>the signals are most correlated.<br>
</span></font></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I would like that to be  automated by correlating and finding the delay. <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
However, in case of analog broadcast to digital program will have a</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
fixed delay 3-4 seconds.But if the switching is from IP broadcast to  <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
digital radio then it can be variable.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Can Ardour DAW be programmed to a fixed delay and do the cross fading of two audio ?</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Will it support real time audio streaming audio captures through sound card and playback
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
through sound cards.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<font size="2"><span style="font-size:11pt;">>If the two streams are from the same source but one<br>
>path has a delay, then presumably a fixed delay would be all you need.</span></font></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<font size="2"><span style="font-size:11pt;"><br>
</span></font></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<font size="2"><span style="font-size:11pt;">Yes, if the sample rates of both are same.</span></font></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<font size="2"><span style="font-size:11pt;"><br>
</span></font></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<font size="2"><span style="font-size:11pt;">-ben</span></font><br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Linux-audio-user <linux-audio-user-bounces@lists.linuxaudio.org> on behalf of Chris Caudle <chris@chriscaudle.org><br>
<b>Sent:</b> Thursday, June 21, 2018 2:36 AM<br>
<b>To:</b> linux-audio-user@lists.linuxaudio.org<br>
<b>Subject:</b> Re: [LAU] Audio seamless switch</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On Sun, June 17, 2018 3:16 am, Benny Alexandar wrote:<br>
> The user who is listening to it should not notice the switching, and this<br>
> switching happens when the quality of one audio is degraded compared to<br>
> other.<br>
<br>
Is like the digital radio schemes where a digital program and an analog FM<br>
signal are both broadcast, and if the reception changes such that the<br>
digital signal cannot be received the audio is switched to the analog<br>
signal?<br>
<br>
> Yes delay estimation is required as the delay is not known upfront.<br>
<br>
Is that acceptable to require user intervention, e.g. adjust delay until<br>
it sounds correct, or are you looking for automatic delay estimation?  If<br>
you want automatic delay estimation it is unlikely you will find anything<br>
off the shelf that does what you want.  You would need to check the<br>
auto-correlation value as a function of delay and find the delay at which<br>
the signals are most correlated.<br>
<br>
> In addition to re-sampling stretching also required.<br>
<br>
You have not adequately explained why either resampling or stretching<br>
would be required.  If the two streams are from the same source but one<br>
path has a delay, then presumably a fixed delay would be all you need.<br>
<br>
-- <br>
Chris Caudle<br>
_______________________________________________<br>
Linux-audio-user mailing list<br>
Linux-audio-user@lists.linuxaudio.org<br>
<a href="https://lists.linuxaudio.org/listinfo/linux-audio-user">https://lists.linuxaudio.org/listinfo/linux-audio-user</a><br>
</div>
</span></font></div>
</body>
</html>