NodeIcon MergeAudio

Merges two audios into one. Can be used to add overlaying noise or chain multiple audios into one.


Inputs

Audio A

Audio (optional) First audio to merge

Audio B

Audio (optional) Second audio to merge

Output

Audio Merged audio

Parameters

Note

If only one of the two inputs is connected, MergeAudio just pass it without changes.

Align Mode:

Align Start both audio start playing simultaneously. Inputs blend.

Align Finish

longer audio starts first, both ends simultaneously. Inputs blend.

A, then B

play A, then play B. Inputs don’t blend.

B, then A

play B, then play A. Inputs don’t blend.

Custom Offsets

each input has custom offset, defined by Offset A and Offset B parameters. Result audio may contain silence in the start and between clips. Inputs may blend.

Custom Offset (sec):

defines number of seconds until Audio B starts.

If Different Sample Rate:

defines how to merge audios with different sample rate: put an error or just ignore it.

If Different Channels Count:

yet always result in error. For now you can’t merge stereo and mono audio.

Gain Compensation:

if inputs blend, multiply them by correspondent Blend before summing. Use it to compensate volume increase on merging 2 audios with simillar volume.

Compensation Blend:

shows how to change inputs volume if using Gain Compensation. On 0 uses Audio A, on 1 - Audio B. On default value 0.5 multiplies each by 0.5 before summing.