diff --git a/play.sh b/play.sh old mode 100644 new mode 100755 index ee5807a..b1d622b --- a/play.sh +++ b/play.sh @@ -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 \