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:

Normalize audio to half scale:

Scope  (1)

Normalize to half scale:

Specify scale in decibels:

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 2017).

Text

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

CMS

Wolfram Language. 2016. "AudioNormalize." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2017. 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="2017", howpublished="\url{https://reference.wolfram.com/language/ref/AudioNormalize.html}", note=[Accessed: 24-April-2024 ]}

BibLaTeX

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