({{, (RefLink[AudioNormalize, paclet:ref/AudioNormalize])[audio] 
normalizes audio so that the maximum absolute value of its samples is 1.}, {, (RefLink[AudioNormalize, paclet:ref/AudioNormalize])[audio,model]
normalizes the audio signal based on the specified model.}})

OpenersNotesSection(Spacer1)Details

The model specification can be one of the following:

(RefLink[AudioNormalize, paclet:ref/AudioNormalize])[audio,s] implements peak normalization. All samples are rescaled using the same scaling factor s/(Abs[peak]), where peak is a sample value with the highest absolute value.

The parameter s should be a non-negative real number, typically between 0 and 1.

(RefLink[AudioNormalize, paclet:ref/AudioNormalize])[audio] is equivalent to (RefLink[AudioNormalize, paclet:ref/AudioNormalize])[audio,1].

(RefLink[AudioNormalize, paclet:ref/AudioNormalize])[audio,{"LoudnessEBU",l}] amplifies audio so that the resulting signal has a global EBU loudness of l LUFS.

OpenersPrimaryExamplesSection(Spacer1)Examples  (4)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Normalize audio to full scale:

AudioNormalize[]

Normalize audio to half scale:

AudioNormalize[,.5]

OpenersExampleSection1(Spacer1)Scope  (1)

Normalize to half scale:

a=Audio[RandomReal[{-.2,.3},11025]];
MinMax[a]

AudioNormalize[a,.5]//MinMax

Specify scale in decibels:

AudioNormalize[a,(Quantity[-6.0206, "decibels", decibels, IndependentUnit["decibels"]])]//MinMax

OpenersExampleSection3(Spacer1)Properties & Relations  (1)

(RefLink[AudioNormalize, paclet:ref/AudioNormalize]) is equivalent to amplification by the inverse of the maximum absolute value:

audio=Audio[RandomReal[{-.3,.5},11025]];
AudioNormalize[audio]==AudioAmplify[audio,1./Max[Abs[audio]]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[AudioAmplify, paclet:ref/AudioAmplify])  ▪  (RefLink[AudioLoudness, paclet:ref/AudioLoudness])  ▪  (RefLink[AudioMeasurements, paclet:ref/AudioMeasurements])  ▪  (RefLink[Duration, paclet:ref/Duration])  ▪  (RefLink[Audio, paclet:ref/Audio])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Audio Processing, paclet:guide/AudioProcessing])}})}})