4
Fork 0

fixed play script

This commit is contained in:
PD0ZRY Rudy 2017-05-26 14:16:15 +02:00
parent 755d95ab0e
commit 20e6735b13

8
play.sh Normal file → Executable file
View file

@ -3,11 +3,11 @@
DIRECTORY=$(dirname $0)
. $DIRECTORY/play.conf
CONVERTER="/usr/bin/qemu-arm /opt/MD380Tools/md380-emu"
PLAYER="/opt/Tools/digestplay"
FILE=$(mktmp)
CONVERTER="/usr/bin/qemu-arm ./md380-emu"
PLAYER="./digestplay"
FILE=$(mktemp)
sox $1 -c1 -r8000 -b16 --encoding signed-integer -L $FILE.raw
sox $1 -c1 -r8000 -b16 --encoding signed-integer -L --norm=-25 $FILE.raw
$CONVERTER -e -i $FILE.raw -o /dev/stdout | \
$PLAYER \
--server-address $SERVER \