4 Mic HAT not detected in Audacity

info about ReSpeaker series products

Moderators: lily.li, violet, seth.welday

Post Reply
oliver113
Pre-kindergarten
Pre-kindergarten
Posts: 4
Joined: Sat Aug 24, 2019 10:47 pm

4 Mic HAT not detected in Audacity

Post by oliver113 » Sat Oct 05, 2019 5:55 am

I've followed the Wiki, I've installed the Seeed voice card source code and when I run arecord -L I get:
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
pulse
PulseAudio Sound Server
playback
ac108
mic
speaker
default
usbstream:CARD=ALSA
bcm2835 ALSA
USB Stream Output
sysdefault:CARD=seeed4micvoicec
seeed-4mic-voicecard,
Default Audio Device
dmix:CARD=seeed4micvoicec,DEV=0
seeed-4mic-voicecard,
Direct sample mixing device
dsnoop:CARD=seeed4micvoicec,DEV=0
seeed-4mic-voicecard,
Direct sample snooping device
hw:CARD=seeed4micvoicec,DEV=0
seeed-4mic-voicecard,
Direct hardware device without any conversions
plughw:CARD=seeed4micvoicec,DEV=0
seeed-4mic-voicecard,
Hardware device with all software conversions
usbstream:CARD=seeed4micvoicec
seeed-4mic-voicecard
USB Stream Output
If I go to Audio Device Settings the HAT appears as seeed-4mic-voicecard (Alsa Mixer)

However if I launch Audacity the HAT is not detected. The host is set to ALSA but no device is listed. If I go to Preferences>Devices it says no devices found under recording.

If I try to record from Terminal with arecord -Dac108 -f S32_LE -r 16000 -c 4 hello.wav I get this error:

arecord: main:828: audio open error: Device or resource busy

Any ideas?

oliver113
Pre-kindergarten
Pre-kindergarten
Posts: 4
Joined: Sat Aug 24, 2019 10:47 pm

Re: 4 Mic HAT not detected in Audacity

Post by oliver113 » Sat Oct 05, 2019 8:21 pm

As an update on this. I just flashed a new SD card with Raspian and put that in the Pi4, so a completely fresh installation. Ran:
sudo apt-get update
sudo apt-get upgrade
git clone https://github.com/respeaker/seeed-voicecard.git
cd seeed-voicecard
sudo ./install.sh
reboot
But now when I run arecord -L all I get is:
null
Discard all samples (playback) or generate zero samples (capture)
jack
Jack Audio Connection Kit
pulse
PulseAudio Sound Server
default
playback
ac108
usbstream:CARD=ALSA
bcm2835 ALSA
USB Stream Output
HAT is mounted directly on the Pi4 and Pi powered by official PSU.

oliver113
Pre-kindergarten
Pre-kindergarten
Posts: 4
Joined: Sat Aug 24, 2019 10:47 pm

Re: 4 Mic HAT not detected in Audacity

Post by oliver113 » Sun Oct 06, 2019 7:13 pm

And another update. Well I got it working in that the card is now detected and Audacity will record but the only way I could do this was by installing an OLDER version of Raspian Buster. I had to install Raspian 2019-07-12, anything later than that and I found it produced Kernal errors when installing the driver. It's also not possible to update Raspian once installed as then the card stops working again.

From what I can work out, and as a newbie, your driver does not support kernals 4.19.75 and higher.

Will there be a new driver any time soon so that we can use the latest versions of Raspian Buster?

martin.honecker
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Sat Nov 16, 2019 8:10 am

Re: 4 Mic HAT not detected in Audacity

Post by martin.honecker » Sat Nov 16, 2019 8:28 am

I have exactly the same problem. Thank you for posting your solution! I'll try to install an older raspbian buster tomorrow.

Post Reply