added tee to play audio

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

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# script to decode SSTV using rtl_fm and QSSTV from the CubeSatSim # script to decode SSTV using rtl_fm and QSSTV from the C
echo "Script to decode SSTV from the CubeSatSim for ARISS Radio Pi" echo "Script to decode SSTV from the CubeSatSim for ARISS Radio Pi"
@ -27,6 +27,7 @@ qsstv &
sleep 5 sleep 5
rtl_fm -M fm -f 434.9M -s 48k | aplay -D hw:2,0,0 -r 48000 -t raw -f S16_LE -c 1 & #rtl_fm -M fm -f 434.9M -s 48k | aplay -D hw:2,0,0 -r 48000 -t raw -f S16_LE -c 1 &
rtl_fm -M fm -f 434.9M -s 48k | tee >(aplay -D hw:${2:0:1},0,0 -r 48000 -t raw -f S16_LE -c 1) | aplay -D hw:0,0 -r 48000 -t raw -f S16_LE -c 1
$SHELL $SHELL

Loading…
Cancel
Save

Powered by TurnKey Linux.