Nodes Browser

ComfyDeploy: How audio-separation-nodes-comfyui works in ComfyUI?

What is audio-separation-nodes-comfyui?

Separate audio track into stems (vocals, bass, drums, other). Along with tools to recombine, tempo match, slice/crop audio.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for audio-separation-nodes-comfyui and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

worklow picture

https://github.com/user-attachments/assets/c5cf20de-a17f-438d-81ac-0c392af669cf

Examples

Separating Voices in a Video

<details> <summary> &nbsp; Show </summary>

[!NOTE]

In order to load videos into the LoadAudio Node, change this line in your Comfy install to include the video's extension (e.g., .mp4)

workflow.json

https://github.com/user-attachments/assets/c5af418e-7137-4c36-b86e-3352cf558ea8

</details>

Replacing BGM with StableAudio-Generated BGM

<details> <summary> &nbsp; Show </summary>

[!NOTE]

In order to load videos into the LoadAudio Node, change this line in your Comfy install to include the video's extension (e.g., .mp4)

You can use this to replace copyrighted BGM in a video with new BGM. You can set the denoise low, so that the new BGM is still stimilar to the original.

workflow json

https://github.com/user-attachments/assets/a7d5656b-5f8b-439a-936f-6ebb6a0d538a

</details>

Remixing Songs with StableAudio

<details> <summary> &nbsp; Show </summary> </details>

Separating Song Vocals

<details> <summary> &nbsp; Show </summary>

workflow.json

https://github.com/user-attachments/assets/c5cf20de-a17f-438d-81ac-0c392af669cf

</details>

Extracting Instrumentals from Songs

<details> <summary> &nbsp; Show </summary> </details>

 

Requirements

librosa==0.10.2
torchaudio>=2.3.0
numpy
moviepy

Installation

  1. git clone this repository in ComfyUI/custom_nodes folder
  2. cd into the cloned repository
  3. pip install -r requirements.txt