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.

AudioNormalize[video]

normalizes the first audio track in video.

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:

Normalize audio to half scale:

Scope  (3)

Normalize to half scale:

Specify scale in decibels:

Normalize a signal so that the resulting loudness is LUFS:

Specify the target loudness in LUFS:

Process the audio track of a video:

Properties & Relations  (1)

AudioNormalize is equivalent to amplification by the inverse of the maximum absolute value:

Wolfram Research (2016), AudioNormalize, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioNormalize.html (updated 2024).

Text

Wolfram Research (2016), AudioNormalize, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioNormalize.html (updated 2024).

CMS

Wolfram Language. 2016. "AudioNormalize." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/AudioNormalize.html.

APA

Wolfram Language. (2016). AudioNormalize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioNormalize.html

BibTeX

@misc{reference.wolfram_2024_audionormalize, author="Wolfram Research", title="{AudioNormalize}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/AudioNormalize.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_audionormalize, organization={Wolfram Research}, title={AudioNormalize}, year={2024}, url={https://reference.wolfram.com/language/ref/AudioNormalize.html}, note=[Accessed: 21-November-2024 ]}