world-o-techno/startup.sh
2015-08-08 08:32:03 +00:00

14 lines
254 B
Bash
Executable file

#!/bin/bash -x
# wait for sonic-pi to start
sleep 20
# set the default audio output to be the headphone jack
amixer cset numid=3 1
# set audio volume to full
amixer sset PCM 100%
# play our tune
cat /home/pi/world-o-techno/world-o-techno.rb|sonic_pi