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: [email protected] <[email protected]> on behalf of Nigel Redmon <[email protected]> Sent: Tuesday, June 19, 2018 4:44 AM To: [email protected] 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 <[email protected]<mailto:[email protected]>> 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 protected] https://lists.columbia.edu/mailman/listinfo/music-dsp
