Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-Demucs-AudioSeparator

ComfyUI Extension: ComfyUI-Demucs-AudioSeparator

Repo Name

ComfyUI-Demucs-AudioSeparator

Author
meisoftcoltd (Account age: 3121 days)
Nodes
View all nodes(1)
Latest Updated
2026-07-02
Github Stars
0.0K

How to Install ComfyUI-Demucs-AudioSeparator

Install this extension via the ComfyUI Manager by searching for ComfyUI-Demucs-AudioSeparator
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Demucs-AudioSeparator 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

ComfyUI-Demucs-AudioSeparator Description

ComfyUI-Demucs-AudioSeparator uses Demucs models to split music into vocals, drums, bass, and other stems, with optional guitar and piano tracks for more control over a soundtrack.

ComfyUI-Demucs-AudioSeparator Introduction

ComfyUI-Demucs-AudioSeparator is a custom ComfyUI node that separates a music recording into individual stems: audio tracks for parts such as vocals, drums, bass, and other instruments. It uses Meta’s Demucs audio-separation technology.

If you are making a video, animation, or other AI-assisted artwork, stems give you more control over the soundtrack. You could use the vocal track on its own, adjust the drums separately, or work with the remaining instruments without editing every sound in the original recording at once. The results are estimates, however: a separated stem may still contain traces of other sounds, especially when instruments overlap.

How ComfyUI-Demucs-AudioSeparator Works

Think of a finished song as a painting made from several layers that have been flattened into one image. Demucs tries to identify those layers in the audio and produce a separate track for each one.

You provide an audio clip to the node and choose a model. The model analyzes the recording and predicts which sounds belong to each stem. A four-stem model separates vocals, drums, bass, and other sounds. A compatible six-stem model also provides separate guitar and piano stems. “Other” means sounds that do not fit the model’s separately named categories; it is not necessarily a clean track of one instrument.

Separation involves a trade-off between processing time, memory use, and the quality you hear. For example, asking the model to make more predictions with shifts may improve a result, but takes longer. Processing an audio clip in segments with split can reduce memory pressure, which is particularly useful for long recordings.

ComfyUI-Demucs-AudioSeparator Features

  • Up to six stems: Choose a compatible model to separate vocals, drums, bass, other sounds, guitar, and piano. Four-stem models do not produce separate guitar and piano tracks.
  • Model choice: Try different models when a particular stem matters to your project. The available models are described below.
  • GPU or CPU processing: Set device to cuda to use a compatible CUDA GPU, or cpu to process without one. A GPU can make processing faster.
  • Adjustable precision: The precision choices are float32, bfloat16, and float16. The original documentation recommends bfloat16 for Ampere-generation GPUs, citing the RTX 3090 and 4090 as examples. If a precision setting causes an error on your system, try float32.
  • Quality-versus-speed control: shifts sets the number of predictions made during separation. The author recommends 1–5. Start at 1 for a quicker test, then try a higher value if the result needs improvement.
  • Segment overlap: overlap controls how much neighboring processing windows share. Its documented default is 0.25. You can leave the default in place for an initial run and adjust it when experimenting with how segment boundaries sound.
  • Lower-memory processing: Enable split to process audio in segments. The author particularly recommends it for long clips or GPUs with less than 8 GB of VRAM.
  • Stem output controls: Use stems to enable or disable the instrument-specific outputs you need in your workflow.
  • Automatic model downloads: The extension downloads models to ComfyUI/models/demucs when needed. Allow time for a model to become available the first time you use it.

The node’s audio input is the clip you want to separate. A practical first test is to use a short excerpt, keep overlap at its default, set shifts to 1, and listen to the resulting stems before processing a longer recording.

ComfyUI-Demucs-AudioSeparator Models

ModelWhat it is forWhen to try it
htdemucsThe standard four-stem Hybrid Transformer Demucs model.Start here when you need vocals, drums, bass, and other sounds.
htdemucs_ftA fine-tuned version of the standard model.Compare it with htdemucs when a stem is important and you want to hear which result works better for your recording.
htdemucs_6sA six-stem model that includes separate guitar and piano outputs.Choose it when you specifically need to work with guitar or piano apart from the other instruments.
hdemucs_mmiAn improved HDemucs-based model listed by the extension.Try it as an alternative if the standard model does not give you the separation you need.
mdxA model based on the Music Demixing Challenge.Compare its output with another model for your particular clip.
mdx_extraAnother Music Demixing Challenge-based option.Try it when comparing available separation results.

Different recordings can produce different results with the same model. Listen to the stem you intend to use, rather than assuming that one model will be best for every song.

Troubleshooting ComfyUI-Demucs-AudioSeparator

The node runs out of GPU memory.

  1. Enable split, especially for a long clip or a GPU with less than 8 GB of VRAM.
  2. Test with a shorter excerpt to confirm that the workflow runs.
  3. If needed, set device to cpu. Processing may take longer, but it does not depend on CUDA GPU memory.

Processing is taking longer than expected.

  1. Check shifts. Start with 1 before trying a higher value.
  2. If you have a compatible CUDA GPU, check whether device is set to cuda.
  3. For an initial comparison, process a short excerpt before running the full recording.

There are no separate guitar or piano stems.

  1. Check the selected model. The documented six-stem option is htdemucs_6s.
  2. Check that the relevant outputs are enabled under stems.
  3. Listen to the results: the model predicts which sounds belong in each category, so separation may not be perfect.

A precision setting produces an error.

  1. Change precision to float32.
  2. Run a short test clip.
  3. Once that works, try another precision setting only if you need to compare performance on your hardware.

Frequently asked questions

Will the vocal stem be completely free of instruments? Not necessarily. Demucs estimates the parts of a mixed recording, so some sound can remain in the wrong stem.

Do I need a GPU? The node offers both cuda and cpu device settings. A compatible GPU is recommended for performance, but you can select CPU processing.

Which model should I choose first? Start with htdemucs for the usual four stems. Choose htdemucs_6s when separate guitar and piano outputs are essential.

Do I need to download each model myself? According to the original documentation, models are downloaded automatically to ComfyUI/models/demucs.

Learn More about ComfyUI-Demucs-AudioSeparator

The node’s settings are best learned by comparing short clips of music you already know. Start with htdemucs, listen closely to the stem you need, and then change one setting or model at a time. This makes it easier to tell whether a change actually helps your project.

For background on the underlying audio-separation technology, look for Meta Demucs documentation. For extension-specific behavior, use the extension’s own repository documentation and issue tracker when you have its verified repository address; the repository URL shown in the original readme is a placeholder, so it is not reproduced here.

ComfyUI-Demucs-AudioSeparator Related 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 Models, enabling artists to harness the latest AI tools to create incredible art.

ComfyUI-Demucs-AudioSeparator detailed guide | ComfyUI