ComfyUI > Nodes > SaltAI_AudioViz > Audio Stitcher

ComfyUI Node: Audio Stitcher

Class Name

SaltAudioStitcher

Category
SALT/AudioViz/Audio/Process
Author
SaltAI (Account age: 146days)
Extension
SaltAI_AudioViz
Latest Updated
2024-06-29
Github Stars
0.01K

How to Install SaltAI_AudioViz

Install this extension via the ComfyUI Manager by searching for SaltAI_AudioViz
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter SaltAI_AudioViz 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Audio Stitcher Description

Seamlessly merge two audio files with silent transitions for cohesive tracks.

Audio Stitcher:

The SaltAudioStitcher node is designed to seamlessly combine two audio files into a single continuous audio track. This node is particularly useful for AI artists who need to merge different audio segments, such as background music and voiceovers, or different parts of a soundtrack. One of the key features of this node is the ability to add a silent transition between the two audio segments, allowing for smooth and natural transitions. By using this node, you can create cohesive audio experiences without the need for complex audio editing software, making it an essential tool for enhancing your audio projects.

Audio Stitcher Input Parameters:

audio_a

This parameter represents the first audio file that you want to stitch. It is a required input and should be provided in the AUDIO format. The audio file will be the starting segment of the final stitched audio.

audio_b

This parameter represents the second audio file that you want to stitch. It is also a required input and should be provided in the AUDIO format. The audio file will be the ending segment of the final stitched audio.

silent_transition_seconds

This optional parameter allows you to specify the duration of silence to be inserted between the two audio segments. It is a FLOAT value with a minimum of 0.0 seconds and a default value of 0.0 seconds. Adding a silent transition can help create a smoother and more natural transition between the two audio segments.

Audio Stitcher Output Parameters:

stitched_audio

This output parameter represents the final stitched audio file. It is in the AUDIO format and contains the combined audio segments from audio_a and audio_b, with an optional silent transition if specified. The stitched audio can be used directly in your projects or further processed as needed.

Audio Stitcher Usage Tips:

  • To create a seamless transition between two audio segments, consider using a small value for silent_transition_seconds, such as 0.5 or 1.0 seconds.
  • Ensure that both audio_a and audio_b are in the same format and sample rate to avoid any compatibility issues during the stitching process.
  • Use this node to combine background music with voiceovers or different parts of a soundtrack to create a cohesive audio experience.

Audio Stitcher Common Errors and Solutions:

"Input audio must be in AUDIO format."

  • Explanation: This error occurs when the provided audio files are not in the expected AUDIO format.
  • Solution: Ensure that both audio_a and audio_b are correctly formatted as AUDIO files before inputting them into the node.

"Invalid value for silent_transition_seconds."

  • Explanation: This error occurs when the value provided for silent_transition_seconds is outside the acceptable range.
  • Solution: Make sure that the value for silent_transition_seconds is a FLOAT and is greater than or equal to 0.0 seconds.

"Error reading audio files."

  • Explanation: This error occurs when there is an issue with reading the provided audio files.
  • Solution: Verify that the audio files are not corrupted and are accessible. Ensure that the file paths are correct and that the files are in a readable format.

Audio Stitcher Related Nodes

Go back to the extension to check out more related nodes.
SaltAI_AudioViz
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.