WOLFRAM

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)Summary of the most common use cases

Join audio objects:

Out[3]=3

Spectrogram of the joined signals:

Out[4]=4

Specify some silence between audio objects:

Out[5]=5

Spectrogram of the joined signals:

Out[6]=6

Scope  (4)Survey of the scope of standard use cases

Control the separation between the Audio objects to be joined:

Out[3]=3
Out[4]=4

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

Out[5]=5
Out[6]=6

Join audio objects with different types:

Out[2]=2
Out[3]=3

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

Out[2]=2
Out[3]=3

Join audio objects with a different number of channels:

Out[2]=2
Out[3]=3

Options  (1)Common values & functionality for each option

SampleRate  (1)

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

Out[7]=7
Out[8]=8

Specify the sample rate:

Out[9]=9

Applications  (1)Sample problems that can be solved with this function

Obtain a looping effect:

Out[1]=1
Out[2]=2
Wolfram Research (2016), AudioJoin, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioJoin.html (updated 2020).
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).

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

CMS

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

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

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

BibTeX

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

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

BibLaTeX

@online{reference.wolfram_2025_audiojoin, organization={Wolfram Research}, title={AudioJoin}, year={2020}, url={https://reference.wolfram.com/language/ref/AudioJoin.html}, note=[Accessed: 09-July-2025 ]}

@online{reference.wolfram_2025_audiojoin, organization={Wolfram Research}, title={AudioJoin}, year={2020}, url={https://reference.wolfram.com/language/ref/AudioJoin.html}, note=[Accessed: 09-July-2025 ]}