[pulseaudio-discuss] Test and Evaluate Echo Cancellation in an Embedded Device
arun at arunraghavan.net
Thu May 12 03:47:05 UTC 2016
On Thu, 12 May 2016, at 01:41 AM, Caio wrote:
> I'm working with a embedded linux and I'm using gstreamer to talk with
> other board (voice call).
> To test and evaluate my project I'm using the IMX6SABRE Dual Lite Board
> have the pulseaudio , speex and webrtc installed in my oard, but with
> tests I didn't have success with echo cancellation
> In my testbed I'm using two boards in different rooms, each board has the
> same softwares, to test the voice call I'm using a script with gstreamer.
> There's some method to test and evaluate the echo cancellation in
> environment? Someone has an advice?
> I'm loading the module-echo-cancel using this command
> pactl load-module module-echo-cancel source_name=echosource
> sink_name=echosink aec_method=webrtc sink_master=mastersink
> (I change the webrtc to speex in other tests)
> The Gstreamer Script (usage ./gstreamer-call.sh ip start)
> case "$2" in
> echo "Starting gstlaunch"
> gst-launch-1.0 -v \
> pulsesrc device="echosource" \
> ! alawenc ! rtppcmapay ! udpsink port=4000
> gst-launch-1.0 -v udpsrc
> port=4000 ! \
> rtppcmadepay ! alawdec ! audioconvert !
> audioresample ! \
> pulsesink device="echosink" \
This script should work. Can you describe what is failing? And can you
attach PA server logs as well?
I usually test with something like:
gst-launch-1.0 filesrc location=some-voice-file.wav ! wavparse !
pulsesrc ! wavenc ! filesink
More information about the pulseaudio-discuss