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:

Overlay two audio signals using a specified offset:

Spectrogram of the overlaid signal:

Scope  (4)

Control the offset between the audio objects to be overlaid:

Overlay audio objects with different types:

Overlay audio objects with different sample rates:

Join audio objects with different numbers of channels:

Options  (1)

SampleRate  (1)

The SampleRate option can be used to control the sample rate of the result:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_audiooverlay, author="Wolfram Research", title="{AudioOverlay}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/AudioOverlay.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_audiooverlay, organization={Wolfram Research}, title={AudioOverlay}, year={2016}, url={https://reference.wolfram.com/language/ref/AudioOverlay.html}, note=[Accessed: 21-November-2024 ]}