On Sun, June 17, 2018 3:16 am, Benny Alexandar wrote:
> The user who is listening to it should not notice the switching, and this
> switching happens when the quality of one audio is degraded compared to
> other.
Is like the digital radio schemes where a digital program and an analog FM
signal are both broadcast, and if the reception changes such that the
digital signal cannot be received the audio is switched to the analog
signal?
> Yes delay estimation is required as the delay is not known upfront.
Is that acceptable to require user intervention, e.g. adjust delay until
it sounds correct, or are you looking for automatic delay estimation? If
you want automatic delay estimation it is unlikely you will find anything
off the shelf that does what you want. You would need to check the
auto-correlation value as a function of delay and find the delay at which
the signals are most correlated.
> In addition to re-sampling stretching also required.
You have not adequately explained why either resampling or stretching
would be required. If the two streams are from the same source but one
path has a delay, then presumably a fixed delay would be all you need.
--
Chris Caudle
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user