Skip to content

About

Cross-platform desktop studio for local GPU vocal & stem separation (Windows, macOS, Linux) — 169 AI models, Web Audio mixer, karaoke MP4 remuxing & A/B Blind Test.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Stem Studio — Local GPU Audio Separation & A/B Comparison

Version 1.0.0 Python 3.11+ RoFormer + FFmpeg 169 Local AI Models Windows, macOS, Linux MIT License

A cross-platform Desktop Studio for local GPU vocal, instrumental, and multi-stem separation on Windows, macOS, and Linux.
No cloud uploads, no per-minute credits — 169 local AI models, a synchronized Web Audio stem mixer, video-to-karaoke remuxing, and a live A/B Blind Test comparator.

Why Stem Studio?

Cloud Stem Splitters Legacy Desktop GUIs Stem Studio
100% Offline & Private — ✓ ✓
169 Models (BS-RoFormer, Mel-Band, Demucs, VR) — ✓ ✓
Synchronized Multi-Stem Web Audio Mixer Limited — ✓
Video-In → Vocals & Karaoke MP4-Out — — ✓
Live A/B Model Comparator + Blind Test — — ✓
Zero Subscription or Duration Caps — ✓ ✓

Interface Gallery

Studio Console & Dual-Waveform Scrubber
Synchronized 48 kHz stem playback, Solo/Mute faders, Video Stage, and Export Dock

Stem Studio Console
169-Model Local Library & Downloader
Architecture tabs, stem chips, SDR sorting, and live WebSocket download progress

169-Model Library
Head-to-Head Model A/B Comparison
Published SDR/SIR/SAR/ISR deltas, inference speed, and live A−B diff auditioning

Model A/B Comparison
Unbiased Blind Test Mode
Masks model identities and benchmarks as Candidate X vs. Candidate Y until you vote

Blind Test Mode

Core Capabilities

Dual-RoFormer Studio Ensemble
Blends BS-RoFormer (60%) and Mel-Band RoFormer (40%) at 48 kHz / 24-bit with automatic peak protection, FP16 autocast, and 4 GB VRAM safety.
169-Model Local Catalog
Search and filter across MDXC, MDX, Demucs, and VR architectures, sort by SDR, download with live progress, and manage disk cache in one click.
Sample-Accurate Web Audio Mixer
Zero-latency AudioContext playback with instant Solo (S), Mute (M), per-stem faders, live stereo meters, and Original / Vocals / Music switching.
A/B Comparator & Blind Test
Compare any two models on SDR/SIR/SAR/ISR specs, run 30s or full-track GPU comparisons, audition A − B Diff, and promote your blind-test winner to Studio.
Video-In → Karaoke MP4-Out
Drop any .mkv, .mp4, or .mov to export 24-bit WAVs, 320 kbps MP3s, and lossless-video remuxed Vocals & Karaoke MP4s with a synced video stage.
Native Cross-Platform Desktop Shell
Embedded FastAPI + pywebview (Edge WebView2 on Windows, Cocoa WKWebView on macOS, WebKitGTK on Linux) with CUDA/MPS hardware telemetry, native file picker, and file-manager integration.

Keyboard Shortcuts

Shortcut Action Shortcut Action
Space Play / Pause 1 2 3 Switch Original / Vocals / Music
S / M Solo / Mute Active Stem A B O D Audition Model A / B / Original / Diff
Ctrl+K Focus Model Library Search Shift+B Toggle Layout Stress Mode

Quick Start

Prerequisites

  • Python 3.11+ (install CUDA PyTorch for NVIDIA GPUs on Windows/Linux; Apple Silicon uses PyTorch MPS out of the box)
  • Node.js 20+ & npm (to build the frontend bundle)
  • FFmpeg & FFprobe available on PATH
    • macOS: brew install ffmpeg
    • Ubuntu / Debian: sudo apt install ffmpeg python3-gi gir1.2-webkit2-4.1

Install & Build

# 1. Clone the repository
git clone https://github.com/BMQ-1/stem-studio.git
cd stem-studio

# 2. Install Python dependencies (preserves your existing CUDA/MPS PyTorch build)
pip install -r requirements.txt

# 3. Build the frontend bundle (served directly by FastAPI & pywebview)
cd frontend
npm install
npm run build
cd ..

Launch

Windows

wscript.exe "Stem Studio.vbs"   # Console-free native window
.\start.ps1                     # Or launch via PowerShell

macOS & Linux

chmod +x start.sh
./start.sh

# Optional: build a macOS Stem Studio.app bundle
./packaging/build_macos_app.sh

# Optional: install a Linux desktop menu entry
./packaging/install_linux_desktop.sh

Project Layout & Local API

stem-studio/
├── backend/
│   ├── main.py              # FastAPI server, REST/WS routes, Range media streaming & SPA host
│   ├── engine.py            # Async GPU separation pipeline (RoFormer ensemble & custom models)
│   ├── models_manager.py    # 169-model catalog, disk cache tracking & WebSocket downloader
│   ├── compare_engine.py    # Sequential A/B GPU runner, A−B diff synthesis & telemetry
│   └── waveforms.py         # 200-bar normalized peak generator with disk cache
├── desktop/
│   ├── app.py               # Cross-platform pywebview shell (Edge WebView2 / Cocoa / GTK)
│   ├── make_icon.py         # Multi-size transparent Hardware Split Fader .ico/.png generator
│   ├── stem_studio.ico      # Windows multi-resolution icon (16..256 px)
│   └── stem_studio.png      # macOS & Linux 512x512 transparent icon
├── packaging/
│   ├── build_macos_app.sh   # Generates macOS Stem Studio.app bundle & .icns
│   ├── install_linux_desktop.sh # Installs Linux XDG .desktop launcher
│   └── stem-studio.desktop  # Linux desktop entry template
├── frontend/
│   ├── public/              # favicon.svg & icon.png
│   └── src/
│       ├── components/      # HeaderBar, ProjectSidebar, ModelLibrary, CompareView, ExportDock
│       └── hooks/           # useStemAudioEngine, useCompareAudioEngine, useWebSocket
├── docs/media/              # SVG hero banner, section dividers & showcase screenshots
├── Stem Studio.vbs          # Console-free Windows launcher
├── start.ps1                # Windows PowerShell launcher
├── start.sh                 # macOS & Linux launcher
└── requirements.txt         # Python runtime dependencies

Local endpoints served on http://127.0.0.1:8765:

  • Studio: GET /api/health · GET /api/presets · GET /api/jobs · POST /api/jobs · WS /ws/jobs/{id}
  • Library: GET /api/models · POST /api/models/download · DELETE /api/models/{filename} · WS /ws/models
  • Compare: GET /api/comparisons · POST /api/comparisons · WS /ws/comparisons/{id}

MIT License · Built for local-first audio engineering

About

Cross-platform desktop studio for local GPU vocal & stem separation (Windows, macOS, Linux) — 169 AI models, Web Audio mixer, karaoke MP4 remuxing & A/B Blind Test.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages