<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;">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 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);">
<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 Ralf Mardorf <ralf.mardorf@alice-dsl.net><br>
<b>Sent:</b> Saturday, June 16, 2018 11:36 PM<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 Sat, 16 Jun 2018 17:47:21 +0000, Benny Alexandar wrote:<br>
>I'm looking for a tool to mix two audio.  My requirement is<br>
>given two identical audio inputs say A1 & A2.<br>
>A1 is ahead of A2 by t sec, when switch from A1 to A2<br>
>it should be seamless and vice versa.<br>
<br>
Hi Ben,<br>
<br>
this is a vague description of the task. What is the reason that signal<br>
1 is ahead of signal 2? What apps do you want to use, resp. do those<br>
apps support plain alsa or jack or pulseaudio?<br>
<br>
Perhaps a simple delay is what you are looking for, but maybe you need<br>
resampling.<br>
<br>
Regards,<br>
Ralf<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>