added tee to also play audio to speaker

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

@ -36,6 +36,7 @@ echo "$value" > /dev/null
set -- $value
rtl_fm -M fm -f 144.39M -s 48k | aplay -D hw:${2:0:1},0,0 -r 48000 -t raw -f S16_LE -c 1
rtl_fm -M fm -f 144.39M -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

Loading…
Cancel
Save

Powered by TurnKey Linux.