inserts the audio signal new at time t.


inserts the same audio at multiple positions.


inserts multiple audio signals at different positions.


  • AudioInsert can be used to insert one or multiple audio signals into an existing audio object at various times.
  • 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


open allclose all

Basic Examples  (1)

Insert a sinusoid at time 0.5s:

Scope  (2)

Insert a sinusoid at different times:

Insert a different signal at different times:

Applications  (1)

Inset a short sinusoid to remark parts of interest in a recording:

View the spectrogram:

Find the intervals with a nonzero amplitude and the fundamental frequency in a specified range:

Insert a sinusoid just before the beginning of the intervals:

Properties & Relations  (2)

The duration of the result is equal to the sum of the durations of the input signal and all new signals:

If the input and the new audio have different characteristics, the new audio is modified:

While the duration is maintained, the number of channels and the sample rate are conformed to the input audio:

Possible Issues  (1)

Inserting signals at duplicate times inserts sequentially the new audio objects:

Wolfram Research (2017), AudioInsert, Wolfram Language function,


Wolfram Research (2017), AudioInsert, Wolfram Language function,


Wolfram Language. 2017. "AudioInsert." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2017). AudioInsert. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_audioinsert, author="Wolfram Research", title="{AudioInsert}", year="2017", howpublished="\url{}", note=[Accessed: 17-May-2024 ]}


@online{reference.wolfram_2024_audioinsert, organization={Wolfram Research}, title={AudioInsert}, year={2017}, url={}, note=[Accessed: 17-May-2024 ]}