repo.or.cz
/
opentx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add TXRSSI and TXLQI sensors to FrSky D8/D16/LBT when using MULTI (#7128)
[opentx.git]
/
radio
/
util
/
maxvolume.cmd
blob
b3b24c9ccda06c2b8678b8ebb898418efb8ad10f
1
echo
off
2
3
4
echo
Getting max amplitude..
5
sox
%
1
.wav
-
n stat
-
v
2
> %
1
_apl.txt
6
Set
/
P apl_value
= < %
1
_apl.txt
7
8
echo
Normalizing audio.. gain
:
%apl_value%
9
sox
--
show
-
progress
-
v
%apl_value%
%
1
.wav
%
1
_norm.wav
10
11
copy
%
1
_norm.wav
%
1
.wav
12
13
echo
Cleaning..
14
del
%
1
_norm.wav
15
del
%
1
_apl.txt
16