Advertisement
Guest User

Untitled

a guest
Jan 21st, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. if test "$1" = "record"; then
  2. killall chuck.alsa; chuck.alsa --dac3 --adc3 --in1 --bufsize100 /home/pi/chuck/g.ck /home/pi/chuck/rec.ck:/home/pi/rec.wav &
  3. exit
  4. fi
  5.  
  6. if test "$1" = "play"; then
  7. killall chuck.alsa; chuck.alsa --dac3 --adc3 --in1 --bufsize100 /home/pi/chuck/g.ck &
  8. exit
  9. fi
  10.  
  11. killall chuck.alsa; chuck.alsa --dac3 --adc3 --in1 --bufsize100 /home/pi/chuck/g.ck &
  12.  
  13. bash /home/pi/jslisten/jslisten.sh 2>&1 &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement