fixed play script
This commit is contained in:
parent
755d95ab0e
commit
20e6735b13
1 changed files with 4 additions and 4 deletions
8
play.sh
Normal file → Executable file
8
play.sh
Normal file → Executable 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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue