Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

AudioNormalize

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

AudioNormalize[audio,s]
normalizes samples so that the maximum absolute value of samples is s.

DetailsDetails

  • 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].
Introduced in 2016
(11.0)