Hey I’ve been screwing around with installing mycroft on raspberry pi with a 2 mic hat and this is what I have come up with in the past month or so since I’ve started trying in my free time:
How to install Mycroft with a ReSpeaker 2-mic hat on a Raspberry Pi 3B+
-
Install image from: https://drive.google.com/uc?id=1FdPUZhgoo_J8-MF4Z-xBl8nnf_6fJbrf&export=download
-
Format card with SD Card Formatter
-
Use balenaEtcher to flash image to sd Card
-
Boot up raspberry pi with power to both hat and board
-
Let it go through the first boot process
-
It will ask you after the first boot process if you want to go through the guided install or to just go straight to the command line. Choose to go straight to the command line.
-
From note (B), follow steps 2.1 and 2.2.
-
Run
pactl list sinks
andpactl list sources
and note what number corresponds with the Description: seeed-2mic-voicecard Analog Stereo for the sources and sinks command (should be 1 and 2 respectively). -
Run
pactl set-default-sink $sink_card_number
andpactl set-default-source $source_card_number
where $sink_card_number and $source_card_number are replaced from the numbers you took note of in step 7 (again, should be 1 and 2 respectively). -
Run
sudo reboot
for good measure. -
Run
sudo nano /etc/mycroft/mycroft.conf
and edit the file to have the following code: -
“Play_wav_cmdline”: “paplay %1”,
-
Confirm functionality by running
./mycroft-core/start-mycroft.sh audiotest -l
from your home directory. When it says “DONE RECORDING. PLAYING BACK…”, let it try to run until it fails, do not try to control+c out of it. Sometimes it takes a few seconds to start the Daemon(?). -
Pair device
Notes: