audio-separation-nodes-comfyui

audio-separation-nodes-comfyui
★ 479

音频分离音源分离节拍匹配音频裁剪
将音频分离为人声、贝斯、鼓和其他声部,并提供重组、节拍匹配与切片裁剪等工具,便于混音与编辑。
💡 将音乐分离为声部分别处理并进行混音或重采样。
🍴 39 Forks💻 Python🔄 2025-12-24
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/8b0992d318c3
📦 requirements.txt
librosa==0.10.2
torchaudio>=2.3.0
numpy
moviepy
worklow picture
📄 README

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

Examples

_Separating Voices in a Video_

  Show

[!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

_Replacing BGM with StableAudio-Generated BGM_

  Show

[!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

_Remixing Songs with StableAudio_

  Show

  • workflow json
  • example output (audio file) with embedded workflow
  • example output (audio file) with embedded workflow
  • _Separating Song Vocals_

      Show

    workflow.json

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

    _Extracting Instrumentals from Songs_

      Show

  • workflow json
  •  

    Requirements

    librosa==0.10.2
    torchaudio>=2.3.0
    numpy
    moviepy

    Installation

  • If you run ComfyUI inside of a virtual environment, make sure it is activated
  • git clone this repository in ComfyUI/custom_nodes folder
  • cd into the cloned repository
  • pip install -r requirements.txt