Raspberry Pi Command Line Audio [Link]
uk/2013/06/raspberry-pi-command-line-audio/
1 of 8 5/5/17, 8:53 PM
Raspberry Pi Command Line Audio [Link]
lsmod | grep snd_bcm2835
sudo modprobe snd_bcm2835
cd /etc
sudo nano modules
1 # /etc/modules: kernel modules to load at boot time.
2 #
3 # This file contains the names of kernel modules that should be
4 # loaded at boot time, one per line. Lines beginning with "#" are
5 # ignored. Parameters can be specified after the module name.
6
7 snd-bcm2835
amixer cset numid=3 n
amixer cset numid=3 1
wget [Link]
wget [Link]
2 of 8 5/5/17, 8:53 PM
Raspberry Pi Command Line Audio [Link]
aplay police_s.wav
sudo apt-get -y install mpg321
wget [Link]
mpg321 bubbling_water_1.mp3
mpg321 -g 50 bubbling_water_1.mp3
omxplayer
sudo apt-get -y install omxplayer
omxplayer bubbling_water_1.mp3
3 of 8 5/5/17, 8:53 PM
Raspberry Pi Command Line Audio [Link]
Select Month
4 of 8 5/5/17, 8:53 PM
Raspberry Pi Command Line Audio [Link]
5 of 8 5/5/17, 8:53 PM
Raspberry Pi Command Line Audio [Link]
6 of 8 5/5/17, 8:53 PM
Raspberry Pi Command Line Audio [Link]
7 of 8 5/5/17, 8:53 PM
Raspberry Pi Command Line Audio [Link]
8 of 8 5/5/17, 8:53 PM