Hi Nigel, The delay will be estimated one time in the beginning and it remains constant. After that the audio which is ahead is buffered for that much. When switching it has to align so that after switching to other audio, it should be glitch free and seamless meaning user should not notice the switching.
For eg: two same audio sources one a(t) and other a(t + T) where T is the delay between the two audio. -ben ________________________________ From: music-dsp-boun...@music.columbia.edu <music-dsp-boun...@music.columbia.edu> on behalf of Nigel Redmon <earle...@earlevel.com> Sent: Tuesday, June 19, 2018 4:44 AM To: firstname.lastname@example.org Subject: Re: [music-dsp] Blend two audio Suggestions of crossfading techniques, but I’m not convinced that solves the problem the OP posed: "given [two] identical audio inputs...A1 is ahead of A2 by t sec, when switch from A1 to A2...it should be seamless” If the definition of “seamless” is glitch-free, crossfading will solve it. But then why mention “identical" and “ahead”? I think he’s talking about synchronization. And it’s unclear whether t is known. On Jun 16, 2018, at 10:45 AM, Benny Alexandar <ben.a...@outlook.com<mailto:ben.a...@outlook.com>> wrote: Hi, I'm looking for an algorithm to blend two audio. My requirement is given tow 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. -ben
_______________________________________________ dupswapdrop: music-dsp mailing list email@example.com https://lists.columbia.edu/mailman/listinfo/music-dsp