summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-05-20 23:18:44 +0200
committerlassulus <lass@aidsballs.de>2016-05-20 23:18:44 +0200
commitf53fac7c05f45f9af42abbc1a32d2fcde8d28470 (patch)
tree6d2216c00178bd573169965a510ef368a5576ad7 /bin
parentdd8f701f44faffd64f0ff945ec3df51d1f1e4fa0 (diff)
use sox --norm without args
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ogg-maker4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ogg-maker b/bin/ogg-maker
index 82e2f8c..a812f09 100755
--- a/bin/ogg-maker
+++ b/bin/ogg-maker
@@ -3,13 +3,13 @@ filename="$1"
outname=$(echo $1 | sed 's/^\(.*\)\..*/\1/').ogg
if [ "$filename" == "$outname" ]; then
ffmpeg -i $filename tmp_$outname
- sox --norm=3 tmp_$outname tmp2_$outname silence 1 0.1 1% reverse silence 1 0.1 1% reverse rate 44100
+ sox --norm tmp_$outname tmp2_$outname silence 1 0.1 1% reverse silence 1 0.1 1% reverse rate 44100
rm tmp_$outname
vorbisgain tmp2_$outname
mv tmp2_$outname $outname
else
ffmpeg -i $filename tmp_$outname
- sox --norm=-3 tmp_$outname $outname silence 1 0.1 1% reverse silence 1 0.1 1% reverse rate 44100
+ sox --norm tmp_$outname $outname silence 1 0.1 1% reverse silence 1 0.1 1% reverse rate 44100
rm tmp_$outname
vorbisgain $outname
rm $filename