Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
interfaces:respeaker [2023/09/30 18:24] – [Install] darron | interfaces:respeaker [2023/10/01 03:27] (current) – [Resources] darron | ||
---|---|---|---|
Line 9: | Line 9: | ||
For Pi Zero | For Pi Zero | ||
- | ===Setup=== | + | ===Basic preparation=== |
< | < | ||
Line 15: | Line 15: | ||
</ | </ | ||
- | ===Install=== | + | ===Install |
For some reason this installs an ARM64 toolchain | For some reason this installs an ARM64 toolchain | ||
- | on a 32-bit Raspberry Pi Zero. | + | on a 32-bit Raspberry Pi Zero along with a ton |
+ | of other stuff that seems unrelated. | ||
< | < | ||
Line 24: | Line 25: | ||
cd seeed-voicecard | cd seeed-voicecard | ||
sudo ./ | sudo ./ | ||
- | sudo reboot | ||
</ | </ | ||
+ | |||
+ | Installation will take quite some time. | ||
+ | |||
+ | ===Setup=== | ||
+ | |||
+ | Disable internal sound devices and reduce memory consumption. | ||
+ | |||
+ | / | ||
+ | < | ||
+ | # Enable audio (loads snd_bcm2835) | ||
+ | # | ||
+ | |||
+ | # Enable DRM VC4 V3D driver | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # Local | ||
+ | gpu_mem=16 | ||
+ | dtparam=spi=on | ||
+ | </ | ||
+ | |||
+ | REBOOT | ||
+ | |||
+ | aplay -l && arecord -l | ||
+ | |||
+ | < | ||
+ | **** List of PLAYBACK Hardware Devices **** | ||
+ | card 0: seeed2micvoicec [seeed-2mic-voicecard], | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | **** List of CAPTURE Hardware Devices **** | ||
+ | card 0: seeed2micvoicec [seeed-2mic-voicecard], | ||
+ | Subdevices: 1/1 | ||
+ | Subdevice #0: subdevice #0 | ||
+ | </ | ||
+ | |||
+ | |||
+ | === Test=== | ||
+ | |||
+ | Install the Respeaker demo with picovoice 1. | ||
+ | |||
+ | The demo contains binary blobs of unknown origin. | ||
+ | |||
+ | < | ||
+ | sudo apt install python3-pip python3-pyaudio | ||
+ | rehash | ||
+ | pip3 install pvrespeakerdemo==1.1.3 | ||
+ | </ | ||
+ | |||
+ | Add $HOME/ | ||
+ | |||
+ | You can install Version 2 but it needs a LICENSE key whereas version 1 does not. | ||
+ | |||
===Resources=== | ===Resources=== | ||
Line 32: | Line 85: | ||
[[https:// | [[https:// | ||
+ | |||
+ | [[https:// |