Work
Projects I'm working on, or have worked on.
Audio tools
Tools for finished audio
Built where SCP and my own music production meet. Command-line tools for working with pre-rendered music: locking it to one tempo, cutting it on the beat, separating it into stems and pulling drum one-shots out of it.
Each tool stands on its own, and they share their parts where they meet: beat-split uses the beat tracking of bpm-lock, drum-kit builds on the separation of stem-split, and both bpm-lock and beat-split can treat a set of stems as one track.
-
bpm-lock
Locks pre-rendered music to one fixed tempo.
Detects every beat, maps it onto a uniform grid and time-stretches each beat interval to fit, with the pitch unchanged. It removes tempo drift but keeps the groove: it does not quantize. Intentional tempo changes can be kept as sections, and a set of stems gets one shared time map so they stay aligned.
github.com/mdbtq/bpm-lock -
beat-split
Splits tracks into chunks of a fixed number of beats.
Bars, 4-bar phrases, 16-bar sections. It writes a beat map first, so the intro, fills and breaks can be checked before cutting, and restarts the count where the music re-enters after a break. The same map cuts the stems of a mix, and exports as a MIDI tempo map so a DAW grid follows the recording.
github.com/mdbtq/beat-split -
stem-split
Splits a track into vocals, drums, bass, guitar, piano and other.
Uses neural source-separation models, taking each stem from the model that does it best: a Mel-Band RoFormer for the vocals, Demucs for the rest. The stems keep the sample rate, channel count and length of the input.
github.com/mdbtq/stem-split -
drum-kit
Extracts the drums from a track and picks the best one-shots per drum.
Separates the drums as cleanly as possible, splits them into kick, snare, toms, hihat, ride and crash, and writes the cleanest, fullest hits of each, chosen to differ from each other. Each one-shot holds only its own drum, and drums that only leak in from the others are reported as absent.
github.com/mdbtq/drum-kit