Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more detailed guide #9

Open
blademckain opened this issue Aug 9, 2019 · 1 comment
Open

more detailed guide #9

blademckain opened this issue Aug 9, 2019 · 1 comment

Comments

@blademckain
Copy link

blademckain commented Aug 9, 2019

Hi,
would it be possible to have more detailed explanations on how to make ec_hw work on a Respeaker 4 mic linear array?

i have installed ec followinf your guide:
sudo apt-get -y install libasound2-dev libspeexdsp-dev git clone https://github.com/voice-engine/ec.git cd ec make
Now i run:
root@raspberrypi:~/ec# ./ec_hw -i plughw:1 -c 8 -l 7 -m 0,1,2,3 Running... Press Ctrl+C to exit
if i play a wav in another terminal i get the error:
root@raspberrypi:~/pyaudio# aplay output.wav Playing WAVE 'output.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono ALSA lib pcm_params.c:2226:(snd1_pcm_hw_refine_slave) Slave PCM not usable aplay: set_params:1310: Broken configuration for this PCM: no configurations available

if i do in another terminal
cat /tmp/ec.output > 16k_s16le_stereo_audio.raw
i get only a trash audio

Can anyone help me?
I need running EC always in the Alsa default device

@Franklin62120
Copy link

Hello blademckain,
Did you solve your problem ? I only get trash audio too using ec_hw...
Thanks in advance !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants