AudioPad
AudioPad[audio,t]
adds t seconds of silence to the end of audio.
AudioPad[audio,{t1,t2}]
adds t1 seconds of silence to the beginning and t2 seconds to the end of audio.
AudioPad[audio,tspec,padding]
pads using the value or method specified by padding.
Details
- The amount of padding can be a non-negative real number in seconds, a time quantity, or a samples quantity.
- The following forms of padding can be specified:
-
0 zero (silence) padding val a constant value "Faded" a short faded padding followed by zero padding "Fixed" repetitions of the boundary value "Periodic" cyclic repetitions of the complete audio "Reflected" reflections of the audio at the boundary "Reversed" reversals of the complete audio
Examples
open allclose allBasic Examples (2)
Scope (6)
Pad an audio object with silence:
Pad the audio with its reverse:
Pad an audio object with silence:
Pad with a repetition of the boundary value:
Pad the audio with its reverse:
Pad the audio with a short decay to zero:
Add a second of silence to the beginning and the end:
Specify the amount of padding as a time quantity:
Applications (4)
Use faded padding to avoid clicks:
Add padding to an audio object before applying a reverb:
Pad an audio object before an AudioJoin operation:
Pad an audio object to match the duration of a different one:
Text
Wolfram Research (2016), AudioPad, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioPad.html (updated 2017).
CMS
Wolfram Language. 2016. "AudioPad." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2017. https://reference.wolfram.com/language/ref/AudioPad.html.
APA
Wolfram Language. (2016). AudioPad. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioPad.html