Open main menu

Changes

Voice HAT Software

437 bytes added, 19:17, 18 November 2020
no edit summary
[[File:IMG-8960-interface.jpg|700px]]
 
Return [[Raspi Voice HAT]]
We test it base on 2020-08-20-raspios-buster-armhf.img
#Ctrl+C to exit,
#Recore Record to result file test.wav
sudo arecord -D hw:1,0 -f S32_LE -r 16000 -c 2 test.wav
#The result recore record file is test.wav, Ctrl+C to exit
* Play the record result file
sudo alsamixer
[[File:VOICE0HAT-3.png|none]]
 
if the default sound card is not WM8960, please select it via press F6
 
 
* How to use the LED?
Download file [[File:Voice-HAT.zip]], unzip it, then run the following command:
cd Voice-HAT
sudo python pixels.py
 
* How to use the custom button?
 
sudo pip install rpi.gpio // install RPi.GPIO library
 
Download [[File:Button.zip]], unzip it to get button.py file,
 
<pre>
pi@raspberrypi:~ $ python button.py
off
off
on
on
off
</pre>
 
 
 
Return [[Raspi Voice HAT]]
<!--Add review function! -->
<comments />
 
<!--Please choose the -->
<!--Remove other categories, just keep the appropriate categories -->
 
 
[[Category:Product Manual]]
[[Category:Raspberry pi]]
[[Category:Knowledge]]