added tee to play audio

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

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