Jamly
Website & Setup Guide · Download Releases · PyPI · Architecture (DESIGN.md)
Split any song or video into isolated drums and drumless practice tracks—or karaoke (vocals + no_vocals), bass, guitar, piano, or all individual stems—100% locally on your computer.
- Practice, karaoke, or transcribe: Mute the drums (or vocals/bass/guitar) to play or sing along, solo any stem to learn parts note-for-note, or export the full multi-track stem pack.
- URLs or local audio: Pass a media URL supported by
yt-dlpor drop in local.wav,.mp3,.flac,.m4a,.ogg, or.opusfiles. - Phase-accurate & private: Runs Meta's Hybrid Transformer Demucs v4 models locally on your CPU or GPU with shared peak-safe gain staging—no cloud uploads, subscriptions, or per-minute limits.
Note: Stem separation is an estimate and can contain bleed or artifacts depending on the mix; "drumless" is not a guarantee of perfect removal.
Quick Start
Option A: Desktop Companion (No Python setup required)
Self-contained archives for macOS (Apple Silicon & Intel), Windows x64, and Linux x64 bundle Python, Demucs, yt-dlp, Deno, ffmpeg, and ffprobe out of the box.
- Download the archive for your OS from Releases (or the Companion packages GitHub Actions workflow).
- Launch the companion:
- macOS 13+: Install via Homebrew (
brew install --cask kurtisnotcurtis/tap/jamly), or extract the zip, moveJamly.apptoApplications, and open it. - Windows: Install via WinGet (
winget install kurtisnotcurtis.Jamlyand runjamly), or extract the entire zip and runJamly.exe(keep all files in the extracted folder together). - Linux (glibc 2.35+): Extract the
.tar.gzand run./Jamlyinside the extracted folder.
- macOS 13+: Install via Homebrew (
- Jamly opens your browser to the local companion page automatically:
- Paste a track URL or local file path—or click Choose files to upload audio from your computer.
- Pick a Preset and Format (
MP3orWAV), then click Split drums. - Click Open export folder (or a track's folder icon) to open files on disk, click any stem download button to save a copy in your browser, or use Clear list / Rescan folder to manage the Exports list.
(Closing the browser tab does not interrupt running jobs; reopen Jamly anytime to reconnect, or click Quit companion to stop the background worker. Note: preview builds are unsigned, so macOS Gatekeeper or Windows SmartScreen may prompt on first launch.)
Option B: CLI & Python Install (via uv)
If you prefer the command line or already use Python (3.11 or 3.12), install uv and ffmpeg:
macOS: brew install ffmpeg
Debian/Ubuntu: sudo apt install ffmpeg
Windows: winget install Gyan.FFmpeg
Then install Jamly and verify your environment:
uv tool install --python 3.12 jamly-audio-sep
jamly-doctor
From there, you can launch the local web companion or split tracks directly from your terminal:
# Open the local web companion UI
jamly-companion
# Or split directly from the CLI
jamly -i "https://youtu.be/VIDEO_ID"
jamly -i "https://youtu.be/VIDEO_ID" --stem vocals
jamly -i "/path/to/song.flac" --model htdemucs_ft --audio-format wav
jamly -i "/path/to/song.flac" --model htdemucs_6s --stem guitar
Separation Presets & Output Layout
| Preset | CLI Flag | How It Works & Tradeoff |
|---|---|---|
| Balanced (default) | --model htdemucs |
Fast 4-stem Hybrid Transformer Demucs; computes no_drums by phase-aligned residual subtraction (mix - drums). |
| Higher quality | --model htdemucs_ft |
Fine-tuned 4-stem ensemble; cleaner transient isolation, takes ~4× longer and downloads larger weights on first use. |
| 6-stem (HTDemucs) | --model htdemucs_6s |
6-stem Demucs (drums, bass, guitar, piano, vocals, other); single-pass speed and sums all 5 non-drum stems. |
Model weights download automatically on first use of each preset. Completed exports are saved directly in ~/Music/jamly by default (with internal cache manifests tucked inside a hidden .jamly/ folder so your music folder stays clean):
~/Music/jamly/
Artist - Song [id]_drums.mp3
Artist - Song [id]_no_drums.mp3
Re-running a track with a new preset or format keeps your earlier exports intact alongside the new one.
Guides & Reference
Optional Browser Extension & Userscript (One-click from YouTube)
The companion works out of the box by pasting URLs or picking local files, but you can also add the unpacked Chrome/Edge extension to send the active tab in one click:
- In the companion UI, expand Optional Chrome / Edge extension and click Prepare extension.
- Open
chrome://extensions(oredge://extensions), enable Developer mode, click Load unpacked, and select the displayed folder. - Open the extension's Pair / settings page and paste the displayed backend URL (
http://127.0.0.1:8765) and private pairing token. - Click the Jamly toolbar icon on a YouTube video and select Use current page → Split drums.
CLI-only setup: Run jamly-server, then run jamly-service browser (prints the unpacked extension folder) and jamly-service token (prints the pairing token).
Optional Userscript: Run jamly-service userscript to export a lightweight YouTube / YouTube Music button for Tampermonkey or Violentmonkey. Use its Pair Jamly menu command to set your token.
Full CLI Reference & Caching Rules
jamly -i "https://youtu.be/VIDEO_ID"
jamly -i "/path/to/local_song.wav"
jamly -i URL -i ANOTHER_URL --audio-format wav
jamly -i URL --model htdemucs_ft
jamly -i URL --model htdemucs_6s
jamly -i URL --replace-existing
- Piped inputs: Newline-separated URLs, IDs, or file paths can be piped via
stdin. For a bare ID starting with-, pass-i=-VIDEO_ID. - Single-recording policy: Playlists, search results, multi-item pages, and live/upcoming streams are rejected; pass individual recordings. Cookie/account login is not used.
- Resume & retry: Running
jamlywith no-iarguments processes any pending items and retries failed CLI jobs once. - Smart cache: Checksum-valid exports are reused without re-downloading or re-separating unless
--replace-existingis passed.
| Option | Default | Description |
|---|---|---|
-o, --output-dir DIR |
~/Music/jamly |
Directory for exported audio files |
--stem {drums,vocals,bass,guitar,piano,other,all} |
drums |
Target stem pair (<stem> + no_<stem>), such as vocals for karaoke, or all for every individual stem |
--audio-format {mp3,wav} |
mp3 |
320 kbps MP3 (checked with 1 dB decoded peak headroom) or float32 WAV |
--model {htdemucs,htdemucs_ft,htdemucs_6s} |
htdemucs |
Demucs v4 preset (guitar and piano require htdemucs_6s) |
--device {auto,cpu,cuda,mps} |
auto |
Inference device selection |
-t, --threads N |
0 |
Parallel Demucs worker threads (higher values use more RAM) |
--state-dir DIR / --queue FILE |
Per-user app data | Override state directory or queue file path |
--dry-run |
false |
Preview what would be processed without modifying state |
Background Login Service & Updating
Start a CLI installation automatically at login
jamly-service install
jamly-service status
jamly-service restart
jamly-service stop
jamly-service uninstall
jamly-service install registers a per-user systemd unit on Linux, a LaunchAgent on macOS, or a user logon task on Windows using absolute paths and your detected ffmpeg location. Pass --dry-run to preview the generated service definition, or pass pipeline defaults during install:
jamly-service install --audio-format wav --output-dir "/path/to/music" --port 8765
Updating Jamly
- Desktop package: Click Quit companion, then run
brew upgrade --cask kurtisnotcurtis/tap/jamly(macOS),winget upgrade kurtisnotcurtis.Jamly(Windows), or replace the extracted folder/Jamly.appwith the new release archive and launch it again. Your queue, settings, and exports are stored outside the application directory and are preserved. - CLI install:
uv tool upgrade jamly-audio-sep jamly-doctor jamly-service browser jamly-service restart
Reload the unpacked browser extension inchrome://extensionsafter exporting updated assets.
Local HTTP API
The local backend speaks API version 3 on 127.0.0.1. All job, settings, upload, and download endpoints require Authorization: Bearer <token>.
| Endpoint | Purpose |
|---|---|
GET /healthz |
Public health & api_version check (exposes no paths or credentials) |
GET /status (or /items) |
Queue counts, active stage + percentage progress, and job records with download URLs |
POST /add |
{"inputs":["URL_OR_PATH"],"model":"htdemucs_ft","stem":"vocals","audio_format":"wav","replace_existing":false} |
POST /app/upload?name=song.wav |
Stream raw audio bytes (audio/* or application/octet-stream) into private state and return its local path |
POST /settings |
Persist default model, stem, audio_format, and output_dir |
POST /retry/<id> |
{"replace_existing":false} |
POST /app/clear |
Remove one finished/failed job ({"id":"<id>"}) or all terminal jobs ({}) from the list (keeps files on disk) |
POST /app/rescan |
Scan output_dir/.jamly manifests and repopulate missing exports into the list |
GET /outputs/<id>/<kind>?generation=... |
Download an exported stem (drums, no_drums, vocals, no_vocals, etc.) or metadata for a completed generation |
Development, Testing & Packaging
Local development & tests
Requires Python 3.11–3.12, uv, ffmpeg/ffprobe, and Node 24+:
uv sync --locked
uv run --locked python tools/version.py --check
uv run --locked pytest
uv run --locked python -m unittest discover -s tests
uv run --locked ruff check .
node --test browser/extension/jamly_client_test.js browser/extension/jamly_extension_bg_test.js browser/extension/jamly_popup_test.js
uv build
To run the end-to-end integration and headless Chrome smoke checks with real Demucs separation on synthesized audio:
uv run --locked python -m unittest discover -s tests -p integration_pipeline.py
node tools/browser_smoke.mjs
Building native desktop archives
Build on the target OS with uv-managed Python 3.12 and a C/C++ toolchain (build-essential pkg-config perl on Linux, Xcode CLT + pkg-config on macOS, or MSYS2 MINGW64 on Windows):
export UV_PROJECT_ENVIRONMENT=.venv-bundle
uv sync --locked --group bundle --managed-python --python 3.12
uv run --no-sync python tools/build_companion.py
uv run --no-sync python tools/bundle_smoke.py --real-models
See DESIGN.md for architecture, security boundaries, and release versioning details, and AGENTS.md for contributor guidelines.
License
Jamly is licensed under the MIT License, covering the jamly application code (src/jamly/) and browser extension/userscript assets (browser/). Third-party runtime dependencies—including Demucs (htdemucs), PyTorch, ffmpeg/ffprobe, yt-dlp, Deno, and bundled native libraries—retain their own licenses.
Only download or process media you are authorized to use, and follow the source site's terms of service.
Metadata
Release files for jamly-audio-sep 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jamly_audio_sep-0.1.4.tar.gz | 313.9 kB | With provenance | Details for jamly_audio_sep-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jamly_audio_sep-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for jamly_audio_sep-0.1.4-py3-none-any.whl |
Total release size: 393.1 kB
Release files / jamly_audio_sep-0.1.4.tar.gz
| Download URL | jamly_audio_sep-0.1.4.tar.gz |
|---|---|
| Size | 313.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9cb7c6c835adf9717a0f6dffb4473aba17a37bf73965e76bdfb5cb1133e60d5
|
|
BLAKE2b-256 checksum How to use checksums |
97d0e9e6a36f9e69b4fb651bf054ec1ad54815b9f9181d70edb6d88bd925b392
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / jamly_audio_sep-0.1.4-py3-none-any.whl
| Download URL | jamly_audio_sep-0.1.4-py3-none-any.whl |
|---|---|
| Size | 79.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5fac78fb2170f057d2052d7b2b924a60d6147b65ca06e53e635790b5031b3df
|
|
BLAKE2b-256 checksum How to use checksums |
25b92080ba89496cd056f7b0a1e6ae567c31f999e99103ff44bdedff9e46cc1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for jamly-audio-sep 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for jamly_audio_sep-0.1.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.