diff options
author | lassulus <lass@aidsballs.de> | 2016-05-20 23:18:44 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-05-20 23:18:44 +0200 |
commit | f53fac7c05f45f9af42abbc1a32d2fcde8d28470 (patch) | |
tree | 6d2216c00178bd573169965a510ef368a5576ad7 /bin/ogg-maker | |
parent | dd8f701f44faffd64f0ff945ec3df51d1f1e4fa0 (diff) |
use sox --norm without args
Diffstat (limited to 'bin/ogg-maker')
-rwxr-xr-x | bin/ogg-maker | 4 |
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 |