shithub: sox

Download patch

ref: 147c4c1d9df98f07483b454820ba6107c4b3c980
parent: 5a36edac0341d8e4ecab6a5eed7914893d2207e7
author: robs <robs>
date: Sun Feb 17 03:34:00 EST 2008

added option to normalise across all channels or normalise individual channels

--- a/soxeffect.7
+++ b/soxeffect.7
@@ -560,7 +560,7 @@
 	sox noisy.au -n trim 0 1 noiseprof | play noisy.au noisered
 .EE
 .TP
-\fBnorm\fR [\fIlevel\fR]
+\fBnorm\fR [\fB-i\fR] [\fIlevel\fR]
 Normalise audio to 0dB FSD or to a given level relative to 0dB.
 Requires temporary file space to store the audio to be normalised.
 .SP
@@ -584,6 +584,14 @@
 .EE
 gives both effect2 and the output file the highest possible signal
 levels.
+.SP
+Normally, audio is normalised based on the level of the channel with
+the highest peak level, which means that whilst all channels are adjusted,
+only one channel attains
+the normalised level.  If the
+.B \-i
+option is given, then each channel is treated individually and
+will attain the normalised level.
 .SP
 In most cases,
 .B norm \-3