ComfyUI > Nodes > Audio Separation (Demix) > Drums using MDX

ComfyUI Node: Drums using MDX

Class Name

AudioSeparateDrums

Category
audio/separation
Author
set-soft (Account age: 3460days)
Extension
Audio Separation (Demix)
Latest Updated
2026-02-11
Github Stars
0.02K

How to Install Audio Separation (Demix)

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

Drums using MDX Description

Isolates drum tracks from audio using MDX-Net for remixing, analysis, and educational use.

Drums using MDX:

The AudioSeparateDrums node is designed to isolate drum tracks from audio files using advanced MDX-Net networks. This node is particularly beneficial for musicians, producers, and audio engineers who need to extract drum elements from a mix for remixing, analysis, or educational purposes. By leveraging the power of machine learning models, this node can effectively separate the drum components from other elements in a track, providing a clean and distinct drum audio output. This capability is crucial for tasks such as creating drum covers, enhancing drum sounds in a mix, or simply studying the drum patterns in a song. The node's integration with MDX-Net networks ensures high-quality separation, making it a valuable tool in any audio processing workflow.

Drums using MDX Input Parameters:

input_sound

This parameter represents the audio input that you wish to process. It is crucial as it serves as the source from which the drum elements will be extracted. The quality and characteristics of the input sound can significantly impact the separation results. Ensure that the audio is clear and free from excessive noise for optimal performance.

model

This parameter specifies the model file to be used for the separation process. The default model for this node is kuielab_b_drums.safetensors, which is optimized for drum separation tasks. Choosing the right model is essential as it determines the accuracy and quality of the separation. Ensure that the model file is correctly loaded and compatible with the node.

shifts

This parameter controls the number of shifts or augmentations applied during the separation process. It can affect the robustness and quality of the output. A higher number of shifts may improve separation quality but will increase processing time. Adjust this parameter based on your quality requirements and available computational resources.

overlap

This parameter defines the overlap between audio segments during processing. It is crucial for ensuring smooth transitions and avoiding artifacts in the separated audio. The overlap value should be carefully chosen to balance processing efficiency and audio quality. Typical values range from 0.1 to 0.5.

custom_segment

This boolean parameter allows you to specify whether to use a custom segment length for processing. Enabling this option gives you more control over the processing segments, which can be useful for optimizing performance on specific audio files.

segment

When custom_segment is enabled, this parameter specifies the length of each audio segment in seconds. The segment length can impact the separation quality and processing time. Shorter segments may provide better separation but require more computational resources.

target_device

This parameter indicates the computational device to be used for processing, such as cpu or cuda. Selecting the appropriate device can significantly affect processing speed and efficiency. Ensure that your system supports the chosen device and that it is correctly configured.

Drums using MDX Output Parameters:

Drums

This output parameter provides the isolated drum track extracted from the input audio. It is the primary result of the separation process and can be used for further audio processing, remixing, or analysis. The quality of the drum track depends on the input audio and the chosen model.

Complement

This output parameter contains the remaining audio elements after the drum track has been separated. It includes all non-drum components of the original audio, providing a complementary view of the separation process. This output is useful for understanding the separation quality and for applications where the non-drum elements are needed separately.

Drums using MDX Usage Tips:

  • Ensure your input audio is of high quality and free from excessive noise to achieve the best separation results.
  • Experiment with different shifts and overlap values to find the optimal balance between processing time and audio quality.
  • Use the custom_segment option to fine-tune segment lengths for specific audio files, especially if you encounter artifacts or quality issues.
  • Select the appropriate target_device based on your system's capabilities to optimize processing speed.

Drums using MDX Common Errors and Solutions:

Error loading model file

  • Explanation: This error occurs when the specified model file cannot be found or loaded.
  • Solution: Ensure that the model file path is correct and that the file is accessible. Verify that the model file is compatible with the node.

Audio artifacts in output

  • Explanation: Artifacts may appear if the overlap or segment parameters are not optimally set.
  • Solution: Adjust the overlap and segment parameters to reduce artifacts. Experiment with different values to achieve smoother transitions.

Device not supported

  • Explanation: This error indicates that the specified target_device is not available or configured correctly.
  • Solution: Check your system's hardware and software configuration to ensure support for the chosen device. Update drivers or software as necessary.

Drums using MDX Related Nodes

Go back to the extension to check out more related nodes.
Audio Separation (Demix)
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.

Drums using MDX