4 Mic Linear Array not recognized

Hi,

I’ve followed the installation instructions. When I check the record device I get the following:



pi@raspberrypi:~/griefbot/griefbot $ arecord -L

null

Discard all samples (playback) or generate zero samples (capture)

ac108

dmixer

ac101

default

Playback/recording through the PulseAudio sound server

sysdefault:CARD=seeed8micvoicec

seeed-8mic-voicecard,

Default Audio Device

dmix:CARD=seeed8micvoicec,DEV=0

seeed-8mic-voicecard,

Direct sample mixing device

dsnoop:CARD=seeed8micvoicec,DEV=0

seeed-8mic-voicecard,

Direct sample snooping device

hw:CARD=seeed8micvoicec,DEV=0

seeed-8mic-voicecard,

Direct hardware device without any conversions

plughw:CARD=seeed8micvoicec,DEV=0

seeed-8mic-voicecard,

Hardware device with all software conversions



Which is not exactly the same as the list I see on your webpage.



I am able to record and play the a.wav file correctly, but when I try to run my python project (a chatbot) It doesn’t seem to work, I just don’t get an answer. I think there is a problem with ALSA.



When I run my project I get this:



(bot.py:18525): Gtk-CRITICAL **: gtk_widget_get_preferred_width_for_height: assertion ‘height >= 0’ failed



(bot.py:18525): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 586 and height -1

hola

Expression ‘alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 924

Expression ‘alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 924

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘defaults.bluealsa.device’

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition ‘defaults.bluealsa.device’

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa

ALSA lib pcm_dmix.c:990:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

connect(2) call to /tmp/jack-0/default/jack_0 failed (err=No such file or directory)

attempt to connect to server failed

1111+00000000-0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000GRABANDO



Sorry for all the text. Hope you can help.





Best





David