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)

AudioDelete

AudioDelete[audio,t]
deletes the first t seconds of audio.

AudioDelete[audio,-t]
deletes the last t seconds of audio.

AudioDelete[audio,{t1,t2}]
deletes from time t1 to time t2, returning the remaining audio as a single Audio object.

AudioDelete[audio,{{t11,t12},}]
deletes multiple time intervals.

DetailsDetails

  • AudioDelete can be used to remove uninteresting parts of an audio sample, e.g. silence.
  • The time t can be any of the following:
  • ttime given in seconds
    Quantity[t,"unit"]time given in "unit" compatible with seconds
    Quantity[t,"Samples"]time given as number of samples

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Delete from the beginning of an audio signal:

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

Delete from the middle:

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