>> What is the reason that signal
1 is ahead of signal 2? 

For various reason, one audio receiving from network and
other thru air.

>> Perhaps a simple delay is what you are looking for, but maybe you need
resampling.

Yes delay estimation is required as the delay is not known upfront.
In addition to re-sampling stretching also required.



From: Linux-audio-user <linux-audio-user-bounces@lists.linuxaudio.org> on behalf of Ralf Mardorf <ralf.mardorf@alice-dsl.net>
Sent: Saturday, June 16, 2018 11:36 PM
To: linux-audio-user@lists.linuxaudio.org
Subject: Re: [LAU] Audio seamless switch
 
On Sat, 16 Jun 2018 17:47:21 +0000, Benny Alexandar wrote:
>I'm looking for a tool to mix two audio.  My requirement is
>given two identical audio inputs say A1 & A2.
>A1 is ahead of A2 by t sec, when switch from A1 to A2
>it should be seamless and vice versa.

Hi Ben,

this is a vague description of the task. What is the reason that signal
1 is ahead of signal 2? What apps do you want to use, resp. do those
apps support plain alsa or jack or pulseaudio?

Perhaps a simple delay is what you are looking for, but maybe you need
resampling.

Regards,
Ralf
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user