<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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);">
<div><font size="3" face="Calibri,Helvetica,sans-serif" color="black"><span style="font-size:12pt;">>>><font size="2" face="arial,Helvetica,sans-serif"><span style="font-size:11pt;">why would you need to resample/stretch them?</span></font><font size="2" face="arial,Helvetica,sans-serif"><span style="font-size:11pt;"><br>
</span></font> <font face="arial,Helvetica,sans-serif">​</font></span></font></div>
<div><font size="3" face="Calibri,Helvetica,sans-serif" color="black"><span style="font-size:12pt;"><font face="arial,Helvetica,sans-serif">As mentioned earlier the two audio are identical but one will be ahead/delayed than other.
</font><font face="arial,Helvetica,sans-serif"><br>
</font></span></font></div>
<div><font size="3" face="Calibri,Helvetica,sans-serif" color="black"><span style="font-size:12pt;"><font face="arial,Helvetica,sans-serif">The user who is listening to it should not notice the switching, and this
</font><font face="arial,Helvetica,sans-serif"><br>
</font></span></font></div>
<div><font size="3" face="Calibri,Helvetica,sans-serif" color="black"><span style="font-size:12pt;"><font face="arial,Helvetica,sans-serif">switching happens when the quality of one audio is degraded compared to other.
</font><font face="arial,Helvetica,sans-serif"><br>
</font></span></font></div>
<div><font size="3" face="Calibri,Helvetica,sans-serif" color="black"><span style="font-size:12pt;"><font face="arial,Helvetica,sans-serif"><br>
</font></span></font></div>
<div><font size="3" face="Calibri,Helvetica,sans-serif" color="black"><span style="font-size:12pt;"><font face="arial,Helvetica,sans-serif">-ben</font></span></font></div>
<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> Paul Davis <paul@linuxaudiosystems.com><br>
<b>Sent:</b> Sunday, June 17, 2018 12:01 AM<br>
<b>To:</b> Benny Alexandar<br>
<b>Cc:</b> Ralf Mardorf; linux-audio-user@lists.linuxaudio.org<br>
<b>Subject:</b> Re: [LAU] Audio seamless switch</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<div>
<div dir="ltr">
<div class="x_gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="x_gmail_extra"><br>
<div class="x_gmail_quote">On Sat, Jun 16, 2018 at 2:13 PM, Benny Alexandar <span dir="ltr">
<<a href="mailto:ben.alex@outlook.com" target="_blank">ben.alex@outlook.com</a>></span> wrote:<br>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div 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">What is the reason that signal<br>
1 is ahead of signal 2? </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)">
For various reason, one audio receiving from network and <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
other thru air. <br>
</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">Perhaps a simple delay is what you are looking for, but maybe you need<br>
resampling.</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)">
Yes delay estimation is required as the delay is not known upfront. <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
In addition to re-sampling stretching also required. <br>
</div>
</div>
</blockquote>
<div><br>
<div class="x_gmail_default" style="font-family:arial,helvetica,sans-serif">​that turns it into a totally different problem. You originally said: ​<br>
<br>
      <font size="2"><span style="font-size:11pt"><span class="x_gmail-">two identical audio inputs say A1 & A2.<br>
<br>
</span></span></font></div>
<div class="x_gmail_default" style="font-family:arial,helvetica,sans-serif"><font size="2"><span style="font-size:11pt"><span class="x_gmail-">why would you need to resample/stretch them?<br>
</span></span></font></div>
 
<div class="x_gmail_default" style="font-family:arial,helvetica,sans-serif; display:inline">
​<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>