voice-engine / ec

Echo Canceller, part of Voice Engine project
GNU General Public License v3.0
240 stars 69 forks source link

how to add my asla device #8

Open udgish23 opened 5 years ago

udgish23 commented 5 years ago

Hi nice tutorial I have application running on the node js and alsa mixer my default mic is seed 4 mic hat and its current device name (location) plughw:1,0 now I want to change to echo cancellation hw as my mic .

I tied the config.sound file copy then no sound output coming.

I have attached the my default setting image of alsa.

How to solve the noise?

Any other possible error or advice also recommended.

Thanks in advance

xiongyihui commented 5 years ago

You can use the alsa plugin fifo.
https://github.com/voice-engine/ec#use-ec-with-alsa-plugins-as-alsa-devices

with the asound.conf, the device name is eco, just replace plughw:1,0 with eco.

udgish23 commented 5 years ago

Hi sir it s giving me error that please specify the proper --alsadev I followed the steps and used fifo plugin too but not success I changed the device name to 'eco' shoudle I need to change --alsadev with 'ec'??