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

Problem with Soundcard #992

Open
Chris112358 opened this issue Dec 10, 2020 · 2 comments
Open

Problem with Soundcard #992

Chris112358 opened this issue Dec 10, 2020 · 2 comments

Comments

@Chris112358
Copy link

Hello,
I tried to install Jarvis on my RPi 4 with a Respeaker 4-Mic Array and got some trouble with it.
When I record sounds with the arecord function, the Mic works fine.
But if i try to run the installer I got the error massage

rec WARN alsa: can't encode 0-bit Unknown or not applicable

I am rather new to raspbian and linux, but could not find a solution for my problem jet.
Thanks for helping

@anoriel
Copy link

anoriel commented Jan 23, 2021

Hi @Chris112358,

I got the same issue for me.
All is ok for ouput but when jarvis script tries to capture sound, here is what I got:
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM false rec FAIL sox: Sorry, there is no default audio device configured Selection of the microphone device **** Liste des Périphériques Matériels CAPTURE **** carte 2: seeed4micvoicec [seeed-4mic-voicecard], périphérique 0: bcm2835-i2s-ac10x-codec0 ac10x-codec.1-003b-0 [bcm2835-i2s-ac10x-codec0 ac10x-codec.1-003b-0] Sous-périphériques: 1/1 Sous-périphérique #0: subdevice #0
If I try to select card 2 and device 0, the error come again... even if I select any other number...

Did you find a way to set your Respeaker 4-Mic?

@Chris112358
Copy link
Author

Hi,
yes for me the rec worked as I replaced in the whole script 'rec', with 'AUDIODEV=hw:1 rec' than the recording worked.
But I could not yet finish to install the projekt so I dont know if speech recorgnation is working.

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