AudioSplit

AudioSplit[audio,t]

splits audio at time t.

AudioSplit[audio,{t1,t2,}]

splits audio at times ti.

Details

  • AudioSplit can create audio partitions of different durations. Use AudioPartition to partition the audio signal into equal partition lengths.
  • The times ti 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)

Split an audio object at 0.5 seconds:

Specify a list of split points:

Scope  (2)

Split an audio object at 1 second from the end:

The time specification can also be expressed as a time Quantity:

Use a "Samples" Quantity:

Applications  (1)

Split an Audio object at the peaks of the "Novelty" measurement:

Compute the novelty and find the peaks:

Split the audio object:

Properties & Relations  (1)

The list of split times is internally sorted:

Neat Examples  (1)

Split an Audio object and randomly recompose it:

Choose randomly from the list and join the result:

Introduced in 2016
 (11.0)