demucs-rs

HTDemucs music source separation in Rust: CLI, browser app and DAW plugin

Image 1 of 3: DAW plugin with separated stems, per-stem spectrograms, gain sliders and solo buttons

A native Rust implementation of HTDemucs v4 on Burn's wgpu backends that splits songs into drums, bass, vocals and other stems, plus guitar and piano with the 6-stem model, as a CLI on Metal or Vulkan, a WebAssembly and WebGPU app in the browser, and a VST3 or CLAP plugin with per-stem outputs.

Trade-offs

  • Fully local everywhere, with no server and no uploads, even in the browser, where the model runs through WebAssembly and WebGPU.
  • The browser build is markedly slower than the native CLI because of WebGPU overhead and WASM limits, so the CLI is the choice for long tracks and batches.
  • The DAW plugin is macOS-only for now, with a native SwiftUI interface and Metal inference.

Q&A2

Any MIDI note starts playback from beat 0 and releasing all notes stops it, while aux outputs give each raw stem its own stereo bus for routing to a mixer channel.

Reviews

Loading reviews

    More in Audio

    See all 9 →
    • AudioRouterVisual audio router for Windows 11: route, process and record on a canvas
    • GridlinePattern-based music workstation in C++17, from channel rack to mixer
    • SotFAutomatic EQ for speakers and headphones, with room measurement and a player
    • Acid DripA DIY groovebox on an RP2040: acid bassline, a second synth and a drum machine
    • CatharAudio restoration in pure Rust: denoise, de-hum, de-click and LUFS leveling
    • REAmoWireless control surface for REAPER on a phone or tablet

    More in Machine learning

    See all 8 →
    • JeffyPretrained classifiers to run and retrain on CPU
    • ACE-Step StudioDesktop studio that writes and renders full songs with vocals on a local GPU
    • ML ForgeVisual node editor for building and training PyTorch image classifiers
    • LucidaBackground removal model fine-tuned for glass, camouflage, text and print
    • Texo20M-parameter LaTeX formula OCR model that runs in the browser
    • X-AnyLabeling-ServerInference server that runs auto-labeling models for a desktop annotation tool

    More in WebGPU

    See all 12 →
    • OpenSubsSubtitle generator that transcribes and burns captions with no video upload
    • MPEEOffline routing and vehicle-routing optimization in one Rust engine
    • MuTracerPhysically based path tracer for the web on WebGPU, with a WebGL 2 fallback
    • FramegenBrowser extension that interpolates 24 fps video up to 240 fps on the GPU
    • HarfiyenTurkish speech to text and styled video captions, processed in the browser
    • MasterSelectsBrowser video editor on WebGPU and WebCodecs, with node-graph effects