Skip to content
Node packVerifiedExternal
Open source

audio-separation-nodes-comfyui

Separate stems (vocals, bass, drums, other) from audio. Recombine, tempo match, slice/crop audio

Maintainer@christian-byrneBgrade

Package profile

Status
Verified
Publisher
@christian-byrne
Source
GitHub
Stars
632

README

worklow picture

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

Nodes

NodeDescription
Audio SeparationSeparate audio into four stems (bass, drums, other, vocals) using Hybrid Demucs.
Audio CombineCombine two audio tracks by overlaying their waveforms (add, mean, subtract, multiply, divide).
Audio CropCrop (trim) audio to a specific start and end time.
Audio Tempo MatchMatch the tempo of two audio tracks by time-stretching both to their average BPM.
Audio Speed ShiftTime-stretch or time-compress audio by a given rate.
Audio Get TempoGet the tempo (BPM) of audio using onset detection.
Audio Video CombineReplace the audio of a VIDEO input with a new audio track.

Examples

Separating Voices in a Video

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

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

Separating Song Vocals

workflow.json

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

Extracting Instrumentals from Songs

  • workflow json

 

Stem Mapping

The Audio Separation node uses Hybrid Demucs to split audio into four stems:

OutputContains
BassBass guitar, sub-bass, low-frequency instruments
DrumsDrums, percussion, hi-hats
OtherEverything else — guitars, keyboards, synths, strings, etc.
VocalsSinging, speech, vocal harmonies

Looking for a specific instrument like guitar? Guitar is included in the Other stem. To isolate guitar, separate first, then use the Audio Combine node to subtract unwanted elements or further process the "Other" output.

Requirements

librosa>=0.10.2,<1
torchaudio>=2.3.0
numpy
moviep

Nodes in this pack

7 nodes
  • AudioCombine
  • AudioCrop
  • AudioGetTempo
  • AudioSeparation
  • AudioSpeedShift
  • AudioTempoMatch
  • AudioVideoCombine

Related resources

24 connections
Used byLTX-2.3 All-In-One workflow for RTX 3060 with 12 GB VRAM + 32 GB RAM — LTX-2.3 v1.0Used byVACE & InfiniteTalk & StandIn Control + Reference + Voiceover + Lip Sync — v1.0Used byLTX-2 19B GGUF 12GB ComfyUI Workflows 5 TOTAL! t2v/i2v/v2v/ia2v/ta2v — I WANT ALL THE THINGSv2.0Used byMultiTalk Dual-Player Accelerated Edition High-Motion Camera Edition V1 — v1.0Used byMultiTalk Single Player + Wan2.2 (Low) + Sigma Scheduling KJ Acceleration V4 (Full Body Dynamic Version UNI3C Camera Movement) — v1.0Used byMultiTalk+Aniwan Single KJ High Quality Accelerated Stabilized Version V4 (Face Consistency Version) — v1.0Used byInfinite+Talk High-Quality Camera Movement Edition Video KTV Version V1 (Co-creation Edition) — v1.0Used by[V2V New Version] Infinite+Talk Dynamic Camera Control Digital Human — v1.0Used byLTX-2.3 All-In-One workflow for RTX 3060 with 12 GB VRAM + 32 GB RAM — v1.0Used byMultiTalk Single-Player KJ High-Quality Accelerated Stable Version (UNI3C Camera Movement Version) — v1.0Used byInfiniteTalk (MultiTalk 2.0) with Wan 2.1 : 5 Steps Video 2 Video with GGUF Support — v1.0Used byInfiniteTalk Lip Sync — v1.0Used byLTX-2.3 All-In-One workflow for RTX 3060 with 12 GB VRAM + 32 GB RAM — v2.0Used byLTX-2 19B GGUF 12GB ComfyUI Workflows 5 TOTAL! t2v/i2v/v2v/ia2v/ta2v — ia2v with two samplersUsed byWan 2.1/Multitalk/Chatterbox - Poor Man's Veo 3 — v1.0Used byLTX-2 19B GGUF 12GB ComfyUI Workflows 5 TOTAL! t2v/i2v/v2v/ia2v/ta2v — I WANT ALL THE THINGS!Used byMiniMax H3 Dual Digital Human — v1.0Used byLTX-2 19B GGUF 12GB ComfyUI Workflows 5 TOTAL! t2v/i2v/v2v/ia2v/ta2v — Image Audio 2 Video V1.0Used byLTX-2.3 All-In-One workflow for RTX 3060 with 12 GB VRAM + 32 GB RAM — LTX-2.3 v1.1Used byLTX-2.3 All-In-One workflow for RTX 3060 with 12 GB VRAM + 32 GB RAM — v1.2Used byHumo+InfiniteTalk+Character MV production — v1.0Used byLTX-2 19B GGUF 12GB ComfyUI Workflows 5 TOTAL! t2v/i2v/v2v/ia2v/ta2v — Image-Audio-2-Video V2Used byLTX-2.3 22B GGUF WORKFLOWS 12GB VRAM — v1.0Used byLTX-2 19B GGUF 12GB ComfyUI Workflows 5 TOTAL! t2v/i2v/v2v/ia2v/ta2v — Text Audio 2 Video V1.0

Sources

3 sources
GitHubSourceVersion ac339561973f0c1e56db2f9d40f11b0fddda6763
github.com/christian-byrne/audio-separation-nodes-comfyui

Verified Oct 8

Source excerpts

1 excerpt

Source context: Repo christian-byrne/audio-separation-nodes-comfyui