AudioJoin

AudioJoin[audio1,audio2,] or AudioJoin[{audio1,audio2,}]

concatenates all audioi and returns an audio object.

AudioJoin[{audio1,t1},{audio2,t2},]

inserts ti seconds of silence after each audioi.

Details and Options

  • In AudioJoin[{{audio1,t1},{audio2,t2},}], if any of the ti are negative, audioi+1 overlaps audioi by ti seconds and the overlapped values are added.
  • All audioi are conformed to have the same data type, number of channels, and sample rate.
  • AudioJoin can take a SampleRate option to specify the sample rate of the resulting Audio object.

Examples

open allclose all

Basic Examples  (1)

Join audio objects:

Spectrogram of the joined signals:

Specify some silence between audio objects:

Spectrogram of the joined signals:

Scope  (4)

Control the separation between the Audio objects to be joined:

If a ti is negative, then audioi+1 will overlap with audioi:

Join audio objects with different types:

When joining audio objects with different sample rates, the larger sample rate is used:

Join audio objects with a different number of channels:

Options  (1)

SampleRate  (1)

By default, the largest sample rate of all audio is used:

Specify the sample rate:

Applications  (1)

Obtain a looping effect:

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

Text

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

BibTeX

@misc{reference.wolfram_2020_audiojoin, author="Wolfram Research", title="{AudioJoin}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/AudioJoin.html}", note=[Accessed: 19-April-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_audiojoin, organization={Wolfram Research}, title={AudioJoin}, year={2020}, url={https://reference.wolfram.com/language/ref/AudioJoin.html}, note=[Accessed: 19-April-2021 ]}

CMS

Wolfram Language. 2016. "AudioJoin." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/AudioJoin.html.

APA

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