added tee to also play audio to speaker

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

@ -35,7 +35,8 @@ 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

Loading…
Cancel
Save

Powered by TurnKey Linux.