-
Notifications
You must be signed in to change notification settings - Fork 17
Audio and speech
Roberto edited this page Mar 18, 2017
·
5 revisions
Execute:
amixer cset numid=3 1
Edit file asound.conf
sudo nano /etc/asound.conf
add the following:
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
create file /etc/modprobe.d/alsa-base.conf
sudo nano /etc/modprobe.d/alsa-base.conf
with the following content:
options snd_usb_audio index=0
options snd_bcm2835 index=1
options snd slots=snd_usb_audio,snd_bcm2835
then reboot
sudo apt-get install python-pyaudio
sudo apt-get install libportaudio0 libportaudio2 libportaudiocpp0 portaudio19-dev
sudo apt-get install espeak
test:
espeak -ven+f3 -k5 -s150 "I've just picked up a fault in the AE35 unit"