repeat WAV play

pull/131/head
alanbjohnston 4 years ago committed by GitHub
parent bec0be1951
commit ce35b94dfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -123,9 +123,12 @@ else
echo "$value" > /dev/null
set -- $value
aplay -D hw:0,0 /home/pi/CubeSatSim/telem.wav &
aplay -D hw:${2:0:1},0,0 /home/pi/CubeSatSim/telem.wav &
#aplay -D hw:0,0 /home/pi/CubeSatSim/telem.wav &
(while true; do (sleep 2 && aplay -D hw:0,0 /home/pi/CubeSatSim/telem.wav); done) &
#aplay -D hw:${2:0:1},0,0 /home/pi/CubeSatSim/telem.wav &
(while true; do (sleep 2 && aplay -D hw:${2:0:1},0,0 /home/pi/CubeSatSim/telem.wav); done) &
timeout 30 direwolf -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf-4800.conf -r 48000 -t 0
echo

Loading…
Cancel
Save

Powered by TurnKey Linux.