ComfyUI > Nodes > DJZ-Nodes > Combine Audio Tracks

ComfyUI Node: Combine Audio Tracks

Class Name

CombineAudio

Category
audio
Author
DriftJohnson (Account age: 4052days)
Extension
DJZ-Nodes
Latest Updated
2025-04-25
Github Stars
0.04K

How to Install DJZ-Nodes

Install this extension via the ComfyUI Manager by searching for DJZ-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter DJZ-Nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Combine Audio Tracks Description

Merge two audio tracks seamlessly, adjust volume levels independently, and handle track length differences for a smooth final output.

Combine Audio Tracks:

The CombineAudio node is designed to seamlessly merge two audio tracks into a single cohesive audio file. This node is particularly beneficial for AI artists and audio enthusiasts who wish to overlay multiple audio tracks, such as music and voiceovers, to create a richer auditory experience. By utilizing this node, you can adjust the volume levels of each track independently, ensuring that the final output maintains the desired balance between the two audio sources. The node automatically handles differences in track lengths by padding the shorter track with silence, ensuring a smooth and uninterrupted final product. This functionality is crucial for maintaining the integrity of the audio when combining tracks of varying durations. Overall, the CombineAudio node simplifies the process of audio merging, making it accessible to users without requiring extensive technical knowledge.

Combine Audio Tracks Input Parameters:

audio1

This parameter represents the first audio track that you want to combine. It is a required input and should be provided in a compatible audio format. The audio1 parameter serves as one of the primary sources for the combination process, and its properties, such as duration and file path, are utilized to ensure a seamless merge with the second audio track.

audio2

Similar to audio1, this parameter represents the second audio track to be combined. It is also a required input and should be in a compatible audio format. The audio2 parameter works in conjunction with audio1 to create the final combined audio output. The node ensures that both tracks are aligned in terms of duration by padding the shorter track with silence if necessary.

volume1

This parameter allows you to adjust the volume level of the first audio track before combining. It accepts a floating-point value ranging from 0.0 to 2.0, with a default value of 1.0. A value of 1.0 means no change in volume, while values greater than 1.0 increase the volume, and values less than 1.0 decrease it. This flexibility enables you to fine-tune the prominence of the first track in the final output.

volume2

This parameter functions similarly to volume1 but applies to the second audio track. It also accepts a floating-point value between 0.0 and 2.0, with a default of 1.0. By adjusting this parameter, you can control the volume level of the second track, ensuring that it complements the first track appropriately in the combined audio.

Combine Audio Tracks Output Parameters:

AUDIO

The output of the CombineAudio node is a single audio file that combines the two input tracks. This output retains the characteristics of both input tracks, including their adjusted volume levels and synchronized durations. The combined audio is saved in a specified format, typically as an MP4 file, and can be used for further processing or playback. This output is essential for creating complex audio compositions that require multiple layers of sound.

Combine Audio Tracks Usage Tips:

  • To achieve a balanced audio output, experiment with the volume1 and volume2 parameters to ensure neither track overpowers the other.
  • If one of your audio tracks is significantly shorter than the other, the node will automatically pad it with silence. Consider trimming or extending your tracks beforehand if you want more control over the final output.
  • Use high-quality audio files as inputs to maintain the best possible sound quality in the combined output.

Combine Audio Tracks Common Errors and Solutions:

Error combining audio: <error_message>

  • Explanation: This error occurs when there is an issue during the audio combination process, possibly due to incompatible file formats or corrupted audio files.
  • Solution: Ensure that both audio1 and audio2 are in a supported format and are not corrupted. Try converting them to a common format like WAV or MP3 before using the node.

Successfully created combined audio at: <output_path>

  • Explanation: This is not an error message but a confirmation that the audio combination process was successful and the output file has been created at the specified location.
  • Solution: No action is needed. You can find your combined audio file at the indicated path for further use.

Combine Audio Tracks Related Nodes

Go back to the extension to check out more related nodes.
DJZ-Nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.