kalliope-project / kalliope

Kalliope is a framework that will help you to create your own personal assistant.
https://kalliope-project.github.io/
GNU General Public License v3.0
1.71k stars 229 forks source link

ReSpeaker Mic Array V2 microphone sensibility #671

Open jccoral opened 2 years ago

jccoral commented 2 years ago

I installed Kalliope on a Raspberry PI 3B + and a ReSpeaker Mic Array V2 mic. Everything works fine but I have to be within 50cm of the mic for it to work. Cannot change settings with Alsamixer. If I speak 2 or 3 meters away from the microphone, the ReSpeaker LED will light up. Is there another way to increase the sensitivity of the microphone?

Sispheor commented 2 years ago

Kalliope mic settings is based on the system setting config. It needs to work at the Linux system level to work on kalliope. I know that for this kind of microphone you need to customize a bit the Alsa settings.

corus87 commented 2 years ago

If you have used the setup script or followed the installation guide to setup pulseaudio you should be able to use alsamixer (Press F5 for all settings). I use the respeaker V2 too and I can change the input volume with alsamixer without configure any alsa settings e.g. .asound.conf if you are using pulseaudio otherwise it may be necessary to configure a ,asound.conf.

And as @Sispheor mentioned if the respeaker works on the terminal with e.g. rec test_file.wav it should work with kalliope too.

jccoral commented 2 years ago

Kalliope is working with Respeaker. But only if i speaker at less than 50cm from the microphone. I installed Kalliope following the installation guide(Manually). I have the following alsa message when i switch to Respeaker with F6

image

corus87 commented 2 years ago

If you setup your respeaker as default in pulse with pactl list sources short and pactl set-default-source DEVICE_NR you should see in alsamixer as "Device" (or in your case "Carte"): PulseAudio. Then you can just use F5 and set capture to a higher value.