AudioAmplify[audio,s]
multiplies all samples of audio by a factor s.
AudioAmplify[video,s]
amplifies the first audio track in video.
AudioAmplify
AudioAmplify[audio,s]
multiplies all samples of audio by a factor s.
AudioAmplify[video,s]
amplifies the first audio track in video.
Details
- AudioAmplify can be used to amplify or attenuate audio signals.
- AudioAmplify multiplies each sample value with the factor s.
- In AudioAmplify[audio,s], with s>1 the audio is amplified; with s<1 the audio is attenuated.
- The multiplier s can be any non-negative real number or can be given in decibels.
- A scalar value s is equivalent to
in decibels. - Use AudioNormalize to uniformly amplify or attenuate all elements.
Examples
open all close allBasic Examples (2)
Scope (2)
The amplification parameter can be specified in decibels:
a = \!\(\*AudioBox[""]\);
AudioAmplify[a, Quantity[6, IndependentUnit["decibels"]]]Negative decibel values attenuate a signal:
AudioAmplify[a, Quantity[-20, IndependentUnit["decibels"]]]Process the audio track of a video:
AudioAmplify[\!\(\*VideoBox[""]\), 2]Properties & Relations (3)
AudioAmplify is equivalent to multiplying the signal by the amplification factor:
a = AudioGenerator["Sin"];
2a === AudioAmplify[a, 2]Use AudioAmplify to normalize a signal:
a = Audio[RandomReal[{-.3, .5}, 11025]];
AudioAmplify[a, 1. / Max[Abs[a]]]This would be equivalent to calling AudioNormalize:
% == AudioNormalize[a]Compare the power spectra of a signal and its amplified versions:
Periodogram[AudioAmplify[\!\(\*AudioBox[""]\), #]& /@ {1, 5, 10}, 512, PlotLegends -> {1, 5, 10}]Related Guides
Text
Wolfram Research (2016), AudioAmplify, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioAmplify.html (updated 2024).
CMS
Wolfram Language. 2016. "AudioAmplify." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/AudioAmplify.html.
APA
Wolfram Language. (2016). AudioAmplify. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioAmplify.html
BibTeX
@misc{reference.wolfram_2026_audioamplify, author="Wolfram Research", title="{AudioAmplify}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/AudioAmplify.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_audioamplify, organization={Wolfram Research}, title={AudioAmplify}, year={2024}, url={https://reference.wolfram.com/language/ref/AudioAmplify.html}, note=[Accessed: 13-June-2026]}