grep for Loopback number fora play

pull/128/head
alanbjohnston 5 years ago committed by GitHub
parent 24da8362d1
commit 624b5fe9a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -37,6 +37,10 @@ sleep 5
#sudo systemctl restart cubesatsim
rtl_fm -M fm -f 434.9M -s 48k | aplay -D hw:2,0,0 -r 48000 -t raw -f S16_LE -c 1
value=`aplay -l | grep "Loopback"`
echo "$value" > /dev/null
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
$SHELL

Loading…
Cancel
Save

Powered by TurnKey Linux.