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)

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.

DetailsDetails

  • 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:
  • 0zero (silence) padding
    "Periodic"cyclic repetitions of the complete audio
    "Reflected"reflections of the audio at the boundary
    "Reversed"reversals of the complete audio

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Add two seconds of silence to the end of an audio object:

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Add a second of silence to both ends:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2016
(11.0)