added tee to also play audio to speaker

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

@ -41,6 +41,7 @@ value=`aplay -l | grep "Loopback"`
echo "$value" > /dev/null echo "$value" > /dev/null
set -- $value set -- $value
rtl_fm -M fm -f 434.9M -s 48k | aplay -D hw:${2:0:1},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:1},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.