<div dir="ltr">On Sat, Aug 9, 2008 at 12:59 PM, Jean-Marc Valin <span dir="ltr"><<a href="mailto:jean-marc.valin@usherbrooke.ca">jean-marc.valin@usherbrooke.ca</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Benny,<br>
<br>
Can you send me your pair of testecho input files that work well with<br>
beta3 and not with rc1? I'll have a look.<br>
<br>
</blockquote><div><br>Thanks for the help. The files are on their way now, the upload will take few more minutes to complete. In the mean time let me explain more what I did.<br><br>The speaker signal is signal-xx, where xx is 8khz and 16khz depending on the file's sampling rate, and mic signal is mic-xx. The result is result-xx-yy, where yy is either rc1 or beta3 depending on Speex version that I used for the test. <br>
<br>For the result, I use my test program for the test [1], and during the test I set echo tail length setting to 200ms, and delay to 100ms (meaning the speaker signal that's given to speex_echo_cancellation() is 100ms older than what's currently playing). The frame length is set to 20ms.<br>
<br>And to switch between rc1 and beta3, I simply replace mdf.c from the corresponding tarball. Nothing else is changed.<br><br>The actual tail length I think is around 160ms, so I'm not sure if default testecho can cope with it. <br>
<br>In case it matters, the original input files are the 16khz ones, the
8khz is the resampled version of it (I don't think it matters in this
case though since the resample is quite good).<br>
<br>And one more thing, my mic is not synched to the speaker (I used different sound device). The mic is running about 0.06% faster than the speaker (that's about one 20ms frame drift every 3.2s or so). But I don't think it matters again, because first I have drift handling in my library (similar to how PLC work, with WSOLA) to compensate this, and secondly it doesn't seem to affect the beta3 EC anyway. But just in case it matters.<br>
<br>And last, the test was done on Win XP.<br><br>Thanks<br> Benny<br><br>[1] <a href="https://trac.pjsip.org/repos/browser/pjproject/trunk/pjsip-apps/src/samples/aectest.c">https://trac.pjsip.org/repos/browser/pjproject/trunk/pjsip-apps/src/samples/aectest.c</a><br>
<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Jean-Marc<br>
<br>
Benny Prijono a écrit :<br>
<div><div></div><div class="Wj3C7c">> Hi Jean-Marc,<br>
><br>
> I tried with both testecho and my test program, and for some reason it<br>
> just doesn't cancel any echoes with the 1.2-rc1. The testecho from beta3<br>
> binaries works fine, and also if I replaced mdf.c in 1.2-rc1 with mdf.c<br>
> from beta3 and use my test program, it will work again. This happens for<br>
> both 8KHz and 16KHz. Any ideas?<br>
><br>
> I could upload the test samples and results if needed.<br>
><br>
> Cheers<br>
> Benny<br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Speex-dev mailing list<br>
> <a href="mailto:Speex-dev@xiph.org">Speex-dev@xiph.org</a><br>
> <a href="http://lists.xiph.org/mailman/listinfo/speex-dev" target="_blank">http://lists.xiph.org/mailman/listinfo/speex-dev</a><br>
</blockquote></div><br></div>