demucs-separation

Extract 4- or 6-stem audio tracks from mixed files using Demucs.

1|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/SpiralCloudOmega/DevTeam6 --skill demucs-separation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: demucs-separation
Source: https://github.com/SpiralCloudOmega/DevTeam6/tree/main/.github/skills/ai-integration/demucs-separation
Command: npx skills add https://github.com/SpiralCloudOmega/DevTeam6 --skill demucs-separation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Demucs/HTDemucs-based AI stem separation enables producers, audio engineers, and developers to extract individual instrument tracks from a mixed audio file for remixing, mastering, and analysis.

Core Features & Use Cases

  • 4-stem and 6-stem separation for drums, bass, vocals, and other instruments, with guitar and piano added in the 6-stem model
  • GPU-accelerated inference via LibTorch for native performance without Python runtime
  • Real-time preview mode for interactive auditioning before committing to full separation
  • Overlap-add segment processing for long tracks to avoid boundary artifacts
  • Python script example for batch processing and saving individual stems

Quick Start

Run a separation on a mixed audio file to produce 4 or 6 stem WAVs and preview the results in real time

Frequently Asked Questions about demucs-separation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract individual instrument stems from a mixed audio track?

To extract individual audio stems from a mixed track, you can use Demucs or HTDemucs models to separate audio into 4 or 6 stems like drums, bass, and vocals. This process uses GPU-accelerated inference to isolate instruments for remixing or mastering.

Does Demucs support GPU-accelerated inference without a Python runtime?

Yes, Demucs supports GPU-accelerated inference without a Python runtime by using LibTorch for native performance. This allows you to execute audio stem separation directly in your environment, avoiding Python dependencies while maintaining real-time preview capabilities.

What is the difference between 4-stem and 6-stem audio separation?

4-stem audio separation extracts drums, bass, vocals, and other instruments, while 6-stem separation additionally isolates guitar and piano. Both modes use the HTDemucs model to process mixed tracks, allowing you to choose the granularity needed for your specific audio analysis or remixing workflow.

How do I process long audio tracks for stem separation without boundary artifacts?

To process long audio tracks for stem separation without boundary artifacts, the system uses overlap-add segment processing. This technique divides the mixed audio into overlapping segments, ensuring seamless transitions and preventing artifacts at the boundaries when reconstructing the full-length instrument stems.

Can I batch process multiple audio files to save individual stem WAVs?

Yes, you can batch process multiple audio files to save individual stem WAVs by utilizing the provided Python script example. This enables automated execution of 4-stem or 6-stem separation across numerous mixed tracks, outputting isolated drums, bass, and vocals efficiently.

Do I need a GPU to run real-time audio stem separation previews?

While a GPU is highly recommended for real-time audio stem separation previews due to the computational demands of the HTDemucs model, the underlying LibTorch integration manages device utilization. This ensures interactive auditioning of separated stems before committing to the full separation process.