Hi,
<div><br></div><div>I want to ask what&#39;s the intention and expected input of  this matlab script echo_diagnostic.m in \libspeex</div><div><br></div><div>It seems to be calculating the wiener filter directly from a long block of data, meanwhile calculating the delay change between the first and second half of the data.</div>
<div>My question is </div><div>1. Is the data required to be clean echo, no double-talk?</div><div>2. What is the proper length of the data?</div><div>3. rec = [rec; zeros(1024,1)];</div><div>    play = [play; zeros(1024,1)];</div>
<div>    What is the purpose to add 1024 zeros?</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Kaiyu Jiang</div>