I was given a problem, but I couldn't solve. I did some researches but I still didn't figure it out. Here is the problem:
An audio signal $ s(t) $ is generated by a speaker reflects in a wall with reflection coefficient $ \mu (\mu < 1) $. The signal $ x(t) $ is recorded by a microphone close to the speaker and far from the wall, after sampled, is given by:
$ x(t) = s(t) + \mu s(t - k) $
Where $ k $ is the delay given in samples due to the echo.
So, my goal here is to estimate $ \mu $ and $ k $, observing the autocorrelation function of $ x(t) $, $ r_{xx}(l) $, that can be writen in function of the autocorrelation function of $ s(t) $, $ r_{ss}(l) $. I was able to compute this autocorrelation function and I got:
$ r_{xx}(l) = (1 + \mu^{2})r_{ss}(l) + \mu r_{ss}(l-k) + \mu r_{ss}(l+k) $
So, it obvious has three peaks: when $ l = 0 $, when $ l = k $ and when $ l = -k $.
Assuming that $ r_{ss}(l) = 0 $ for $ |l| > k/10 $, I think that I can obtain the value of k observing the side peaks, and the value of $ \mu $ observing the central peak, but i wasn't able to formalize it mathematically. Could anyone help me to do so?
Thanks in advance.