Commit 20e6735b authored by PD0ZRY Rudy's avatar PD0ZRY Rudy
Browse files

fixed play script

parent 755d95ab
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
DIRECTORY=$(dirname $0) DIRECTORY=$(dirname $0)
. $DIRECTORY/play.conf . $DIRECTORY/play.conf
CONVERTER="/usr/bin/qemu-arm /opt/MD380Tools/md380-emu" CONVERTER="/usr/bin/qemu-arm ./md380-emu"
PLAYER="/opt/Tools/digestplay" PLAYER="./digestplay"
FILE=$(mktmp) 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 | \ $CONVERTER -e -i $FILE.raw -o /dev/stdout | \
$PLAYER \ $PLAYER \
--server-address $SERVER \ --server-address $SERVER \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment