OpenTX code moved to transmitter directory

This commit is contained in:
Bertrand Songis
2013-11-30 21:23:55 +01:00
parent f088c481f8
commit f4df52a033
707 changed files with 0 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
echo off
echo Getting max amplitude..
sox %1.wav -n stat -v 2> %1_apl.txt
Set /P apl_value= < %1_apl.txt
echo Normalizing audio.. gain: %apl_value%
sox --show-progress -v %apl_value% %1.wav %1_norm.wav
copy %1_norm.wav %1.wav
echo Cleaning..
del %1_norm.wav
del %1_apl.txt