Skip to main content

soloslot logo

soloslot

Make room for your solo.
Turn any song into a play-along backing track in one command.

CI License: MIT

You know the song. You want to play the guitar part, the piano solo, the sax line. But the record has the original player on it, right where you want to jump in.

soloslot takes the song, finds the instruments you name, and takes them out of the solo section only. The band keeps playing, the song stays whole before and after, and the gap is yours.

soloslot "Blue Bossa.mp3" --solo 1:05-2:40 --mute guitar

That is the whole workflow: one song in, one backing track out.

Why soloslot

  • Practice with the real recording. No more generic backing tracks or MIDI band-in-a-box. You play with the actual band, the actual groove, the actual song.
  • Only the solo is muted. Intro, theme and outro stay intact, so you play the song the way it goes, from the top, and step into the gap at the right moment.
  • Start from a plain MP3. Drop in an MP3, WAV or FLAC. soloslot splits it into stems with Demucs, a state-of-the-art open-source separator. No stems? No problem.
  • Or bring your own stems. Already have stems from Moises, Demucs or your DAW? soloslot works on those directly and needs no separation, no PyTorch and no GPU.
  • Say what goes, or what stays. --mute guitar removes one instrument. --hear piano,bass,drums keeps only the rhythm section. Pick whichever is shorter to type.
  • Several solos, one run. Repeat --solo for every section you want to play over.
  • Click-free edits. Short fades at the edges of each gap, so there are no pops or abrupt cuts where the instrument leaves and returns.
  • Fast to try again. The separation is cached. Change the solo region, mute another instrument, re-run: the song is not split twice.
  • Safe for your files. Your originals are never modified. Everything goes to a separate output folder, and soloslot refuses to write over your input.
  • Private and offline. Everything runs on your computer. Your recordings are never uploaded. Only the Demucs model is downloaded, once.
  • Lossless or MP3 output. WAV or FLAC keep the bit depth of your source (MP3 input is written as 24 bit); MP3 is there for small files you can put on a phone.
  • Plain-text config for repeat use. Describe a song, or a whole repertoire, in a small TOML file. Give solos as timestamps or as bar numbers.

What you get

For every song, an output folder with:

File What it is
<song> - Backing Track.wav The finished play-along track: the whole song with your chosen instruments missing in the solo. Load it into your player and go.
drums.wav, bass.wav, guitar.wav, ... The individual stems, each with the same mute applied. Handy for DAWs, for loops, or for mixing your own balance. Skip them with --backing-only.
separated/<model>/ The untouched stems from separation, kept so the next run is instant.

Install

You need uv. It fetches a suitable Python (3.12 or newer) for you.

# with stem separation (pulls in PyTorch, a large download)
uv tool install "soloslot[separate] @ git+https://github.com/swallat/soloslot.git"

# without it, if you only work on stems you already have
uv tool install git+https://github.com/swallat/soloslot.git

soloslot --help

Update with uv tool upgrade soloslot.

The first separation downloads the Demucs model (about 50 to 100 MB) and caches it. Separation runs on an NVIDIA GPU if PyTorch finds one, otherwise on the CPU, where a song takes a few minutes.

Quick start

# The guitar drops out between 1:05 and 2:40
soloslot song.mp3 --solo 1:05-2:40 --mute guitar

# Only piano, bass and drums stay in the solo
soloslot song.flac --solo 2:15-3:40 --hear piano,bass,drums

# Two solos, two instruments gone
soloslot song.mp3 --solo 1:05-2:40 --solo 4:10-5:02 --mute guitar,piano

# Look first, write nothing
soloslot song.mp3 --solo 2:15-3:40 --mute guitar --dry-run
Option Meaning
--solo START-END A solo region. Repeat it for several. Times like 135.5, 2:15, 1:02:15.5.
--mute STEMS Silence these stems in the solo; everything else stays.
--hear STEMS The opposite: only these stems stay in the solo. Use one of the two.
--model Demucs model. Default htdemucs_6s splits into drums, bass, guitar, piano, vocals, other. htdemucs and htdemucs_ft give drums, bass, vocals, other, and are a bit cleaner at that.
--backing-only Write only the backing track.
--format flac Write FLAC (or mp3) instead of WAV.
-o, --output DIR Output folder. Default: out/<song>/ next to the song.
--dry-run Show what would happen and write nothing.

Desktop window (optional)

uv tool install 'soloslot[gui,separate]'
soloslot-gui

soloslot window, light theme soloslot window, dark theme

Choose a song (or a folder with stems), enter the solo regions (2:15-3:40, one per line), tick the stems to mute, pick an output folder and press the button. The console output (including Demucs progress) is under the collapsible Details section.

Prebuilt installers (Windows .exe, macOS .dmg, Linux .AppImage) are attached to each release. They are not code-signed yet: Windows SmartScreen shows "unknown publisher" (More info, Run anyway), and on macOS you open the app once with right-click, Open.

The installers are slim and do not contain PyTorch. The first time you split a full song, the app asks to download PyTorch and Demucs once (about 1 to 2 GB, kept in your user data folder, needs internet). Stems folders work without it.

Help > About shows the version, links and the licenses of everything soloslot is built on (also in THIRD_PARTY_NOTICES.md).

The window checks for a newer release at startup and offers to download the installer (checksum verified). Help > Check for updates… does the same check on demand. Set SOLOSLOT_NO_UPDATE_CHECK=1 to turn that off.

Working with stems you already have

Put each song's stems (WAV, FLAC or MP3) in their own folder and describe the solo in a solo.toml next to them (see solo.example.toml):

hear  = ["piano", "bass", "drums"]   # stems that stay audible in the solo
skip  = ["visualizer"]               # ignore the full mix
solos = [ { start = "2:15", end = "3:40" } ]
cd stems/Interplay
soloslot                  # uses ./solo.toml
soloslot --dry-run        # show what would happen, write nothing

The song name defaults to the folder name and the result goes to ./out/. You can also pass several configs at once, for example soloslot stems/*/solo.toml.

A whole repertoire in one file

Copy songs.example.toml to songs.toml and list your songs as [[song]] tables:

[defaults]
hear = ["piano", "bass", "drums"]   # shared by all songs

[[song]]
name   = "Interplay"
folder = "stems/Interplay"
bpm    = 113
solos  = [ { start_bar = 36, end_bar = 97 } ]

[[song]]
name   = "Blue Bossa"
input  = "Blue Bossa.mp3"            # a full song: split it first
mute   = ["guitar"]
solos  = [ { start = "1:05", end = "2:40" } ]
soloslot songs.toml                    # all songs
soloslot songs.toml --song Interplay   # one song

Output goes to out/<song>/, next to the config file. Defaults live in [defaults] and any song can override them.

Configuration reference

  • input: a full song to split into stems first, instead of folder. The song name defaults to the file name.
  • model: Demucs model for input, default htdemucs_6s.
  • hear: stems that stay audible in the solo; every other stem is silenced there. Matching is a case-insensitive substring of the stem name ("piano" matches Grand Piano). Stems a song does not have are ignored. A hear entry that matches nothing is reported as a warning, so a typo cannot silently mute the wrong thing.
  • mute: the opposite of hear. Use either one per song.
  • skip: files or stems to ignore, such as a full mix (["visualizer"]).
  • solos: one or more solo regions, see below.
  • format: "wav" (default), "flac" or "mp3". FLAC is lossless and smaller; float or 32 bit input becomes 24 bit there. MP3 is lossy (encoded by the LAME encoder inside libsndfile, so no extra install) and is meant for listening, not for further editing.
  • stems: stems = false writes only the backing track.
  • fade_ms, mixdown, output: see songs.example.toml.
  • Relative paths are resolved against the directory of the config file.

Solo regions: timestamps or bars

# Timestamps: no tempo needed
solos = [ { start = "2:15", end = "3:40" } ]

# Several solos, mixing seconds and mm:ss
solos = [ { start = 135.5, end = "3:40" }, { start = "4:10.5", end = "5:02" } ]

# Bars: needs bpm on the song
bpm   = 113
solos = [ { start_bar = 36, end_bar = 97 } ]
  • Timestamps are seconds from the start of the file: 135.5, "2:15" or "1:02:15.5". Read them off your player or DAW.
  • Bars count from 1, bar 1 starts at the beginning of the file, and end_bar is the bar where the solo is over again. Use beats_per_bar (default 4) for other meters and offset if the file has a lead-in before bar 1.
  • Bars assume a constant tempo. For live recordings with a drifting tempo, use timestamps.

Stem names are read from Moises file names (<title>-<Stem>-<key>-<tempo>bpm-<hz>hz.wav); other names are matched on the whole file name.

Your audio

soloslot only processes files you provide, on your own computer. It includes no recordings and downloads none; only the Demucs model is fetched. Make sure you have the right to use your recordings. The output keeps the copyright status of the original. That is why *.wav, *.mp3 and *.flac are git-ignored and the tests use synthetic audio only.

Develop

mise provides uv; uv manages Python and packages.

mise install      # uv
mise run install  # uv sync
mise run check    # ruff + pytest
mise tasks        # all tasks

See CONTRIBUTING.md to contribute, CHANGELOG.md for changes and SECURITY.md to report a vulnerability.

License

MIT © 2026 Sebastian Wallat.

Use only with material you have the rights to. Use soloslot only with recordings and other material for which you own the necessary rights or have the permission of the rights holders. You are responsible for how you use it. This notice does not change the MIT license.

soloslot installs these libraries, which keep their own licenses: click (BSD-3-Clause), NumPy (BSD-3-Clause and other permissive licenses) and python-soundfile (BSD-3-Clause), whose binary wheels include libsndfile (LGPL-2.1-or-later) with its MP3 codecs LAME and mpg123 (both LGPL-2.1-or-later); they are loaded as separate shared libraries, which the LGPL allows. The separate extra adds Demucs (MIT) and PyTorch (BSD-3-Clause).

Metadata

Release files for soloslot 0.4.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for soloslot 0.4.7
File Size Uploaded Provenance Actions
soloslot-0.4.7.tar.gz 367.3 kB With provenance Details for soloslot-0.4.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for soloslot 0.4.7
File Interpreter ABI Platform Actions
soloslot-0.4.7-py3-none-any.whl Python 3 none any Details for soloslot-0.4.7-py3-none-any.whl

Total release size: 423.8 kB

Release files / soloslot-0.4.7.tar.gz

Download URL soloslot-0.4.7.tar.gz
Size 367.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5cf8c1a120522133be0b3f7cbcc1e31d7f003148a71875111a0c262b37d0bba3
BLAKE2b-256 checksum
How to use checksums
c66384518014c61d8a98ed4f341034b3f7ee2fd3baad60a89ff359d4e9cafa6d
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 26, 2026.

Transparency log

Release files / soloslot-0.4.7-py3-none-any.whl

Download URL soloslot-0.4.7-py3-none-any.whl
Size 56.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71506f70f418cd34533efe0b96712fb4209636dc04bbf49a24b7a5e5c4a3eb65
BLAKE2b-256 checksum
How to use checksums
4a2644ccdb0f6842188f5d978f0c3c7d98af13a95d0f681225f6f15fd7c8109b
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 26, 2026.

Transparency log

Security for soloslot 0.4.7

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.

Select from 2 files

Attestation for soloslot-0.4.7.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 26, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page