AudioNormalize

AudioNormalize[audio]

normalizes audio so that the maximum absolute value of its samples is 1.

AudioNormalize[audio,model]

normalizes the audio signal based on the specified model.

Details

  • The model specification can be one of the following:
  • snormalize peak to absolute value of s
    "LoudnessEBU"normalize to LUFS
    {"LoudnessEBU",l}normalize to l LUFS
  • AudioNormalize[audio,s] implements peak normalization. All samples are rescaled using the same scaling factor s/TemplateBox[{peak}, Abs], 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.
  • AudioNormalize[audio] is equivalent to AudioNormalize[audio,1].
  • AudioNormalize[audio,{"LoudnessEBU",l}] amplifies audio so that the resulting signal has a global EBU loudness of l LUFS.

Examples

open allclose all

Basic Examples  (2)

Normalize audio to full scale:

In[4]:=
Click for copyable input
Out[4]=

Normalize audio to half scale:

In[1]:=
Click for copyable input
Out[1]=

Scope  (1)

Properties & Relations  (1)

See Also

AudioAmplify  AudioLoudness  AudioMeasurements  Duration  Audio

Introduced in 2016
(11.0)
| Updated in 2017
(11.1)