ReSpeaker 4-Mic Array for Raspberry Pi
Contents
ReSpeaker 4-Mic Array
Version pour Raspberry Pi
Montage
Assurez-vous que les broches sont correctement alignés.
Attention le branchement à chaud peut endommager ReSpeaker .
Veuillez faire l’assemblage avec le Raspberry Pi une fois cette dernière éteint (Power Off)
section 3
Step 2. Get the seeed voice card source code.
sudo apt-get update sudo apt-get upgrade git clone https://github.com/respeaker/seeed-voicecard.git cd seeed-voicecard sudo ./install.sh reboot
section 4
Step 3. Then select the headphone jack on Raspberry Pi for audio output:
sudo raspi-config
# Select 7 Advanced Options
# Select A4 Audio
# Select 1 Force 3.5mm ('headphone') jack
# Select Finish
section 5
Step 4. Check that the sound card name looks like this:
pi@raspberrypi:~/seeed-voicecard $ arecord -L null Discard all samples (playback) or generate zero samples (capture) playback capture dmixed array ac108 default:CARD=seeed4micvoicec seeed-4mic-voicecard, Default Audio Device 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
If we want to change the alsa settings, we can use
sudo alsactl --file=ac108_asound.state store
to save it. And when we need to use the settings again, copy it to:
sudo cp ~/seeed-voicecard/ac108_asound.state /var/lib/alsa/asound.state
section 6
Step 5. Open Audacity and select AC108 & 4 channels as input and bcm2835 alsa: - (hw:0:0) as output to test:
$ sudo apt update $ sudo apt install audacity $ audacity // run audacity
[[File:Audacity.png|200px|
