AEC Intermittently Fails

Steven Eckhoff <[email protected]> Wed, 18 May 2016 09:59:30 -0500
Newsgroups gmane.comp.audio.compression.speex.devel
Message-ID <CANHAape8O5HnWG_FbhGZyNCQB9XajOg6NpA=6zRqgy6T=Q0TOA@mail.gmail.com>
--===============3735665279200714538==
Content-Type: multipart/alternative; boundary=001a11492eb8d17e0f05331f1aef

--001a11492eb8d17e0f05331f1aef
Content-Type: text/plain; charset=UTF-8

Hello,

I have Speex AEC working in the Android HAL, but now I am seeing
intermittent failures where no echo is cancelled. The AEC works about 75%
of the time and seems robust. On an AEC failure I can hang up and call
again which will initialize a new echo state and it usually works after
that.

I have also written a test app that takes a nearend and farend wav and
various parameters like frame_size, filter_size and echo delay and this
works flawlessly with the delay that I measured with our system.

Is there anything I can do to resolve the other 25% of the time. I have
tried lowering the mic input volumes. I see that there is an API to reset
the echo state I have messed with this a bit, but I don't quite understand
when this should be done other than when you want to reuse the state on a
different audio stream.

Thanks!

--001a11492eb8d17e0f05331f1aef
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"font-size:12.8px">Hello,</span><div style=
=3D"font-size:12.8px"><br></div><div style=3D"font-size:12.8px">I have Spee=
x AEC working in the Android HAL, but now I am seeing intermittent failures=
 where no echo is cancelled. The AEC works about 75% of the time and seems =
robust. On an AEC failure I can hang up and call again which will initializ=
e a new echo state and it usually works after that.</div><div style=3D"font=
-size:12.8px"><br></div><div style=3D"font-size:12.8px">I have also written=
 a test app that takes a nearend and farend wav and various parameters like=
 frame_size, filter_size and echo delay and this works flawlessly with the =
delay that I measured with our system.</div><div style=3D"font-size:12.8px"=
><br></div><div style=3D"font-size:12.8px">Is there anything I can do to re=
solve the other 25% of the time. I have tried lowering the mic input volume=
s. I see that there is an API to reset the echo state I have messed with th=
is a bit, but I don&#39;t quite understand when this should be done other t=
han when you want to reuse the state on a different audio stream.</div><div=
 style=3D"font-size:12.8px"><br></div><div style=3D"font-size:12.8px">Thank=
s!</div></div>

--001a11492eb8d17e0f05331f1aef--

--===============3735665279200714538==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KU3BlZXgtZGV2
IG1haWxpbmcgbGlzdApTcGVleC1kZXZAeGlwaC5vcmcKaHR0cDovL2xpc3RzLnhpcGgub3JnL21h
aWxtYW4vbGlzdGluZm8vc3BlZXgtZGV2Cg==

--===============3735665279200714538==--