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.

Details

  • 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

Examples

open allclose all

Basic Examples  (2)

Delete from the beginning of an audio signal:

Delete from the middle:

Scope  (3)

Delete last two seconds of an Audio object:

Delete multiple intervals:

Time given as a number is assumed to be in seconds:

Specify a time quantity:

Specify the time as the number of samples:

If the specified intervals overlap, their union is deleted:

Applications  (1)

Delete silent intervals:

Wolfram Research (2016), AudioDelete, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioDelete.html.

Text

Wolfram Research (2016), AudioDelete, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioDelete.html.

BibTeX

@misc{reference.wolfram_2020_audiodelete, author="Wolfram Research", title="{AudioDelete}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/AudioDelete.html}", note=[Accessed: 14-May-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_audiodelete, organization={Wolfram Research}, title={AudioDelete}, year={2016}, url={https://reference.wolfram.com/language/ref/AudioDelete.html}, note=[Accessed: 14-May-2021 ]}

CMS

Wolfram Language. 2016. "AudioDelete." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AudioDelete.html.

APA

Wolfram Language. (2016). AudioDelete. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioDelete.html