Acoustic Echo Cancellation (AEC) is not working when Respeaker USB with firmware 1 channel in CentOS

I do the recording while playing some music, but it recorded the music.

I used arecord to record and aplay to play the music/voice.

Hi @happy_bz, the arecord will record from all the channels and merge into one file or only record one channel, in order to the AEC trick you need to add the number of channels when recording and specify the channel name when playing the audio.

You can use the free and OpenSource Audacity digital audio editor and recording application software to record the audio from 4 channels and playback the individual channels.

You can can find more information here : http://wiki.seeedstudio.com/ReSpeaker_Mic_Array_v2.0/

hi thanks for reply,

but my question is, I have installed 1 channel firmware. according to the wiki

Firmware Channels Note
1_channel_firmware.bin 1 Processed audio for ASR

the only 1 channel is for (Processed audio for ASR)

in my option, the only 1 channel should has the AEC function.

I need to use java to record the audio in Centos so the 1 channel(which has the AEC) is enough for me

Hi @happy_bz, 1 channel firmware or 6 channels firmware have no differences if you just capture the first channel. Have you tried to decrease the playback volume and place the loudspeaker a bit far away from the mic array as I mentioned in the post? Acoustic Echo Cancellation (AEC) is not working when playing a voice audio with firmware 6 channel