First install its $ sudo pip3 install apa102-pi Or for manual control of each LEDs use Thonny Python IDE or any other python programming IDE on RPI.To test using ReSpeaker mic hat library, input these commands on terminal.Now you can configure sound and adjust volume as shown below. For adjusting sound on ReSpeaker 2-Mics Pi HAT press F6 then select sound card.alsamixer is a graphical mixer program for the Advanced Linux Sound Architecture (ALSA) that is used to configure sound settings and adjust the $ alsamixer.Replace the card # as corresponding to your device card number as shown as example here " card 2: seeed2micvoicec $ arecord -f cd -Dhw:2 | aplay -Dhw:2Ĭonfigure sound settings and adjust volume with alsamixer: Test speaker and mic by command " arecord -f cd -Dhw:(card #) | aplay -Dhw: (card #)". **** List of CAPTURE Hardware Devices **** **** List of PLAYBACK Hardware Devices ****Ĭard 0: b1, device 0: bcm2835 HDMI 1 Ĭard 1: Headphones, device 0: bcm2835 Headphones Ĭard 2: seeed2micvoicec, device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |