Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
interfaces:respeaker [2023/09/30 19:04] – [Install driver] darroninterfaces:respeaker [2023/10/01 03:27] (current) – [Resources] darron
Line 31: Line 31:
 ===Setup=== ===Setup===
  
-Disable internal sound device and reduce memory consumption.+Disable internal sound devices and reduce memory consumption.
  
 /boot/config.txt: /boot/config.txt:
 <code> <code>
 # Enable audio (loads snd_bcm2835) # Enable audio (loads snd_bcm2835)
-dtparam=audio=off+#dtparam=audio=on 
 + 
 +# Enable DRM VC4 V3D driver 
 +#dtoverlay=vc4-kms-v3d 
 +#max_framebuffers=2
  
 # Local # Local
 gpu_mem=16 gpu_mem=16
 +dtparam=spi=on
 </code> </code>
 +
 +REBOOT
 +
 +aplay -l && arecord -l
 +
 +<code>
 +**** List of PLAYBACK Hardware Devices ****
 +card 0: seeed2micvoicec [seeed-2mic-voicecard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 [bcm2835-i2s-wm8960-hifi wm8960-hifi-0]
 +  Subdevices: 1/1
 +  Subdevice #0: subdevice #0
 +**** List of CAPTURE Hardware Devices ****
 +card 0: seeed2micvoicec [seeed-2mic-voicecard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 [bcm2835-i2s-wm8960-hifi wm8960-hifi-0]
 +  Subdevices: 1/1
 +  Subdevice #0: subdevice #0
 +</code>
 +
 +
 +=== Test===
 +
 +Install the Respeaker demo with picovoice 1.
 +
 +The demo contains binary blobs of unknown origin.
 +
 +<code>
 +sudo apt install python3-pip python3-pyaudio
 +rehash
 +pip3 install pvrespeakerdemo==1.1.3
 +</code>
 +
 +Add $HOME/.local/bin to PATH
 +
 +You can install Version 2 but it needs a LICENSE key whereas version 1 does not.
 +
  
 ===Resources=== ===Resources===
Line 47: Line 85:
  
 [[https://github.com/HinTak/seeed-voicecard|Updated kernel driver]] [[https://github.com/HinTak/seeed-voicecard|Updated kernel driver]]
 +
 +[[https://pypi.org/project/pvrespeakerdemo/#history|Respeaker demo history]]