Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if test "$1" = "record"; then
- killall chuck.alsa; chuck.alsa --dac3 --adc3 --in1 --bufsize100 /home/pi/chuck/g.ck /home/pi/chuck/rec.ck:/home/pi/rec.wav &
- exit
- fi
- if test "$1" = "play"; then
- killall chuck.alsa; chuck.alsa --dac3 --adc3 --in1 --bufsize100 /home/pi/chuck/g.ck &
- exit
- fi
- killall chuck.alsa; chuck.alsa --dac3 --adc3 --in1 --bufsize100 /home/pi/chuck/g.ck &
- bash /home/pi/jslisten/jslisten.sh 2>&1 &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement