AudioOverlay

AudioOverlay[{audio1,audio2,}]

returns an audio object by overlaying all audioi.

Details and Options

  • When overlaying audio objects, channel of the resulting audio is an overlay of all ^(th) channels of all audioi that have at least channels. The overlaid values are accumulated.
  • All audioi are conformed to have the same duration, data type, number of channels, and sample rate.
  • AudioOverlay takes a SampleRate option to specify the sample rate of the resulting Audio object. By default, the highest sample rate available is used.

Examples

open allclose all

Basic Examples  (2)

Overlay two audio objects:

In[1]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

Overlay two audio signals using a specified offset:

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

Spectrogram of the overlaid signal:

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

Scope  (4)

Options  (1)

See Also

AudioJoin  AudioChannelCombine  AudioTrim  Audio

Introduced in 2016
(11.0)