Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
R3ABM Artem
DigestPlay
Commits
20e6735b
Commit
20e6735b
authored
May 26, 2017
by
PD0ZRY Rudy
Browse files
fixed play script
parent
755d95ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
play.sh
100644 → 100755
View file @
20e6735b
...
...
@@ -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
=
$(
mkt
e
mp
)
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
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment