Open Source · Self-Hosted · Free

Learn, explore, repeat !
every song becomes a playground

Upload your audio files. StemTube separates stems, detects chords, syncs lyrics, and gives you a full mixer — ready to practice, learn, or create.

View on GitHub Demo video coming soon
StemTube Mixer Interface
0
Cloud Dependency
170
Chord Types
PWA
Mobile Ready
MIT
License
Just want to try it on Windows, macOS or Linux?

There's a one-click desktop install

No Python, no setup. Same audio engine, packaged as a one-click installer for Windows, macOS (Intel) and Linux. Stems, chords, beats, lyrics, mixer — all offline, single user.

What's new

Latest changes landed in the server edition. Pull the repo to get them.

2026-12-04 Desktop · macOS

StemTube Desktop is now on macOS

The Desktop edition now installs on Intel Macs (macOS 13.4 or later): a 300 KB app that downloads its engine on first launch, then keeps itself up to date. Nothing else to install: no Python, no Homebrew, no FFmpeg.

StemTube-Desktop-macOS.dmg  ·  Release v2.3.0  ·  Install on macOS

Apple Silicon Macs (M1 and later) are not supported yet: their engine is in preparation. The app is not signed with an Apple Developer ID, so macOS asks you to allow its first launch.

2026-11-23 Mixer

Auto remix, MIDI tracks and quantize

Made for rough recordings such as a rehearsal taped on a phone: StemTube now cleans and mixes the separated stems for you, doubles every stem with a MIDI track you can edit, and can straighten the timing of the whole song.

  • Auto remix — a new copy of the song with cleaned, balanced stems in one of eight mixing styles (pop, rock, metal, soul/funk, jazz, acoustic/folk, reggae, blues). The original is untouched and every fader still works on the copy.
  • MIDI tracks — every stem is transcribed to notes and played by a sampled instrument or a built-in synth (analog, FM, wavetable, plucked string, tonewheel organ, drum machine). Choose the sound per track, play the MIDI instead of a stem full of bleed, download the .mid files.
  • Piano-roll editor — move, stretch, draw, delete and quantize notes on the song's own beat grid.
  • Pre-mix — once you have chosen what plays (mute, solo, MIDI instead of audio), one button redoes the mix of exactly those tracks as a new song with independent tracks.
  • Quantize — a copy of the song on a regular beat grid: every audio track is stretched along the same tempo map, so the voice follows, and the MIDI notes are pulled onto the grid.

Available in the desktop interface; the mobile app does not offer these tools.

2026-09-22 Version 3.1.0

Chords and lyrics

  • Chord detection rebuilt : analysis on the harmonic stems (no vocals, no drums) after extraction, chords snapped to the beat grid, no more spurious changes shorter than one beat ; simple or detailed names at your choice ; key recomputed from the chords.
  • Synchronized lyrics under the chords, word by word, in every chord view (desktop, Stage View, mobile).
  • Chords above the lyrics in the Lyrics views (songbook style).
  • Free scrolling during playback, with a « Now » button to return to the current chord or lyric.
2026-09-20 NVIDIA GPU only

Fine stem separation — up to 17 stems

A new separation model, mvsep_mega_fine, runs a three-stage pipeline: Demucs htdemucs_6s for the coarse split, then DrumSep (inagoy, HDemucs) splitting the drum kit into kick, snare, toms and cymbals (hi-hat folded into cymbals), then MVSep Mega BS-RoFormer (ZFTurbo) heads splitting the remaining stems with Wiener masks.

  • Up to 17 stems — lead and backing vocals, drums plus kick/snare/toms/cymbals, bass, electric and acoustic guitar, piano, organ, synth, brass, winds, strings, and other.
  • Roughly 1-2 minutes per song on a GPU.
  • Model weights (~1.5 GB) download automatically on first use.

Requires an NVIDIA CUDA GPU with about 4.5 GB of usable VRAM. This model does not run on CPU — the other separation models still do.

2026-09-20 Mixer

Mixer improvements

  • Chords view is now a stage chart — a grid of four bars per system, lyrics under every beat, chord names that scale to their cell, a clearer "now" cue, and auto-scroll that keeps the active system near the top for maximum look-ahead.
  • Audible scrubbing — dragging the timeline ruler moves the playhead and plays short slices, so you can find a passage by ear.
  • Richer loop controls — draggable edge handles, fields accepting a timecode (1:23.45) or a bar (b17), a clear button, and a shared snap-to-beat toggle. Defining a loop is Shift+drag, on the ruler or on a waveform.
  • Lyrics popup became a stage prompter — real font scaling up to 3x with reflow, size remembered between sessions, active line parked mid-screen.
  • Faster loading — tracks and server-side waveforms appear immediately, and each stem decodes as its own download finishes.
2026-09-20 Lyrics

Lyrics now come from LRCLIB, aligned on Whisper

Musixmatch's unofficial API stopped serving anonymous clients, so lyrics now come from LRCLIB — free, no account — with faster-whisper supplying the word timings; the LRCLIB words are then aligned onto those timings.

  • Fixes French songs being transcribed as English: the language is now detected on voiced parts only.
  • Whisper's credit hallucinations over instrumental passages are dropped.
2026-09-20 Fix

Structure detection works again

MSAF failed to import on modern SciPy, so song sections were never detected. Sections are now labelled A, B, C… by similarity.

What StemTube can do

Core audio analysis features running locally on your machine. Some features are still experimental — your feedback shapes the roadmap.

AI Stem Separation

Split any song into vocals, bass, drums, guitar, piano and more using Demucs. Choose between 4-stem and 6-stem models for the level of detail you need.

Chord Detection

Hybrid BTC Transformer + madmom CRF pipeline detecting 170 chord types. Real-time chord display with guitar diagrams synchronized to playback.

Synchronized Lyrics

Synced lyrics from Musixmatch with fallback to Whisper AI transcription. Word-level timestamps with karaoke-style highlighting and a dedicated Focus mode.

Full Mixer

Per-stem volume, pan, mute and solo controls. Tempo adjustment with pitch correction via SoundTouch. Waveform visualization with playhead scrubbing.

Auto remix

A new copy of the song with cleaned, balanced stems in one of eight mixing styles (pop, rock, metal, soul/funk, jazz, acoustic/folk, reggae, blues). The original is untouched and every fader still works on the copy.

MIDI tracks

Every stem is transcribed to notes and played by a sampled instrument or a built-in synth (analog, FM, wavetable, plucked string, tonewheel organ, drum machine). Choose the sound per track, play the MIDI instead of a stem full of bleed, download the .mid files.

Recording Studio Experimental

Record your instrument or vocals over the stems with latency compensation and de-bleed via Demucs. This feature is still evolving — feedback and contributions welcome.

Jam Sessions Experimental

Collaborative jam rooms via WebSocket with shared BPM and synchronized playback. Guest access with auto-generated names, no account required. Still in active development.

Mobile PWA

Progressive web app for iOS and Android. Touch-optimized mixer, recording, chord display and lyrics — same core features as desktop.

Themes

Multiple visual themes including neumorphic and cyberpunk modes. Design is not our strongest suit — if you have UI/UX skills, we'd love your help.

Self-Hosted

Runs on your own hardware. GPU-accelerated with CUDA auto-detection, automatic CPU fallback. Your data stays on your machine.

From audio file to full mixer in minutes

Upload a File

Drop any MP3, WAV, FLAC or other audio format. StemTube checks for existing extractions to avoid duplicate processing.

AI Analysis

Demucs separates stems. BTC + madmom detect chords. Musixmatch or Whisper fetch lyrics. All in parallel.

Mix & Practice

Open the full mixer. Mute the guitar and play along with chords displayed in real-time. Adjust tempo without changing pitch.

Record & Jam

Record your take over the stems. Invite friends to a jam session room. Share synchronized playback in real-time.

See it in action

Desktop interface, designed for musicians.

Stem extraction with per-stem downloads
Stem Extraction — 6-stem AI separation with individual stem downloads
Chord detection with guitar diagrams
Chord Detection — Real-time chord grid with guitar fingering diagrams
Lyrics focus mode with karaoke highlighting
Lyrics Focus — Karaoke-style word-by-word highlighting with tempo control
Jam session with QR code sharing
Jam Sessions — Share via QR code, WhatsApp, email or direct link

And in your pocket

Same workflow on iOS and Android — touch-optimized PWA.

Mobile library view
My Library
Mobile mixer
Mixer
Mobile chords view
Chords
Mobile lyrics view
Lyrics
Mobile settings
Settings

Built with proven open-source tools

Audio AI

Demucs BTC Transformer madmom faster-whisper Musixmatch PyTorch + CUDA

Backend

Python 3.12 Flask Flask-SocketIO SQLite

Frontend

Vanilla ES6+ Web Audio API PWA

A vibe coding experiment turned open-source project

StemTube started as an experiment in vibe coding — exploring what happens when you let AI-assisted development guide the creative process without rigid planning.

What began as a weekend hack turned into a growing music workstation. The project kept evolving because the problems were genuinely fun to solve: how do you synchronize chord detection with waveform scrubbing? How do you compensate for recording latency across different browsers?

After 25 years in IT, I wanted to give back to the open-source ecosystem that gave me so much throughout my career. StemTube is that contribution — imperfect, evolving, and open to all.

The entire codebase is open, from the AI pipeline to the PWA frontend. No tracking, no accounts required for basic use, no cloud dependency. Your music, your machine.

Project at a Glance

100%
Open Source
0
Cloud Dependency
6
AI Models
2
Platforms

This project needs you

Alone I went fast, together you'll go further.

StemTube is delivered as a fully functional solution. However, my professional and personal commitments don't allow me to take it further alone. This is where you come in:

  • UI/UX Design — the current interface is functional but minimal. If you have design skills, your input would make a real difference.
  • Frontend Development — help improve the mobile experience, add polish to the mixer and interactions.
  • Testing & Bug Reports — try it on different hardware and browsers, report issues, suggest improvements.
  • Translations — help make StemTube accessible in more languages.

Want to try it?

Clone the repo, run the setup script, and you're up in minutes. Feedback and contributions welcome.

What users say

Tried StemTube? Share your experience. No account needed; reviews are published after a quick check.

Leave a review

Your rating

Get in touch

A question, an idea, a problem? Write to me, I read everything.

Audience is measured without cookies by a self-hosted open-source tool (Umami). Nothing is shared with third parties.

Responsible Use

StemTube is a tool for learning, practicing, and creating music. It is not intended to facilitate piracy or harm artists' rights. Each user is solely responsible for their use of this software in accordance with the laws of their country. Please respect the artists whose music you enjoy.