[pulseaudio-discuss] Testing echo cancellation on an armhf OMAP phone

Arun Raghavan arun.raghavan at collabora.co.uk
Mon Dec 17 21:30:00 PST 2012


On Mon, 2012-12-17 at 21:49 +0000, Neil Jerram wrote:
[...]
> - load module-echo-cancel
> 
> - do "paplay -d
>   alsa_output.platform-soc-audio.0.analog-stereo.echo-cancel
>   /media/card/Documents/audio/ogg/Do\ They\ Know\ It\'s\ Christmas.ogg"
>   in one terminal
> 
> - do "parecord -d
>   alsa_input.platform-soc-audio.0.analog-stereo.echo-cancel
>   --file-format=wav > record1.wav" in another terminal
> 
> - speak into the microphone.

In general, to start with, you should pick a recording of voice rather
than music since that's the sort of echo that is designed to be
cancelled. I've noticed varying degrees of success for music with speex
and much better success with the webrtc canceller, but starting with the
basics is better.

Also, if you're hitting trouble with double-resampling, you could
resample the file to what the canceller sink supports before doing your
test.

Cheers,
Arun



More information about the pulseaudio-discuss mailing list