Motivation
Music source separation can now split any song into stems (one audio track per instrument). Many music analysis tools then run a second model on each stem to transcribe them, i.e., estimate the onset and velocity of every note (when it is played and how hard). That second model is almost always trained on clean studio audio. It thus never sees the artefacts a separator leaves behind (e.g., traces of other instruments, blurred note starts, or very soft notes lost in the separation).
Large transformer separators reduce these artefacts, but they are slow and heavy. This project asks: how small and open can the whole system be while staying accurate? Your target is a drums and bass transcriber that runs faster than real time on a laptop CPU.
Riley et al. (2025) and Hsu et al. (2026) recently chained separation and drum transcription. Note that neither adapts the transcriber to separator output. Both also leave the bass out. This project addresses both. It is hosted at RITMO and connected to GROOVE, a research project on rhythm in music.
Research questions
- RQ1. Does training the transcriber on separator output improve onset accuracy on separated stems, compared with training on clean stems or on full mixes? Does it reduce the velocity error?
- RQ2. How small and open can the separator be? You compare large models (BS-RoFormer, HT-Demucs), a compact drum model (LarsNet) and no separation at all, plotting transcription accuracy against model size and runtime.
- RQ3 (extension). Can a light pitch head for the bass match pretrained pitch trackers (e.g., CREPE, Basic Pitch) on the same stems?
Data and tools
The training sets come with MIDI ground truth for every note.
- Slakh2100 (Manilow et al., 2019) holds 145 h of rendered multitrack music, with drums and bass MIDI.
- StemGMD (Mezza et al., 2024) holds 1224 h of isolated drum stems, played on ten acoustic kits.
- STAR Drums (Weber et al., 2025) mixes real recorded accompaniment with resynthesised drums.
- MDB-Drums and ENST-Drums are real recordings with annotated drum onsets. They serve as the real-world test set.
GROOVE's existing pipeline (HT-Demucs separation, madmom CNN onsets, spectral flux) may serve as the starting baseline. Training needs a GPU, which the supervisors will arrange (e.g., the UiO machine learning nodes).
If time allows, the project can add a small real test set recorded in the RITMO lab (acoustic kit with drum triggers, direct-input bass). To our knowledge, this would be the first real drums and bass set with velocity ground truth.
Plan
- Measure the accuracy drop of an off-the-shelf separator and onset detector on Slakh, from clean to separated stems.
- Build the data pipeline (separated Slakh and StemGMD stems aligned with their MIDI ground truth).
- Train one compact onset and velocity model on clean, separated and mixed audio (RQ1).
- Sweep the separator size and runtime (RQ2).
- Add the bass pitch head (RQ3) or the RITMO test set.
Skills you will gain
- Deep learning for audio in PyTorch
- Model compression and efficiency trade-offs
- Domain shift between synthetic and real data
- Multi-task learning and rigorous evaluation
Separation and transcription now ship in music software (e.g., phone apps, audio plugins), where models have to be small and fast.
References
- X. Riley et al., "Enhanced Automatic Drum Transcription via Drum Stem Source Separation," arXiv, 2025. doi:10.48550/arXiv.2509.24853
- W.-H. Hsu et al., "Separate-and-Detect: Unified Drum Transcription and Stem Generation via Latent Diffusion," 2026. doi:10.48550/arXiv.2608.01093
- E. Manilow, G. Wichern, P. Seetharaman, and J. Le Roux, "Cutting Music Source Separation Some Slakh: A Dataset to Study the Impact of Training Data Quality and Quantity," IEEE WASPAA, 2019. doi:10.1109/WASPAA.2019.8937170
- A. I. Mezza et al., "Toward Deep Drum Source Separation," Pattern Recognition Letters, 2024 (introduces StemGMD and LarsNet). doi:10.1016/j.patrec.2024.04.026
- P. Weber et al., "STAR Drums: A Dataset for Automatic Drum Transcription," Transactions of the International Society for Music Information Retrieval, 2025. doi:10.5334/tismir.244
- I. Pereira, F. Araújo, F. Korzeniowski, and R. Vogl, "MoisesDB: A Dataset for Source Separation Beyond 4-Stems," ISMIR, 2023. doi:10.48550/arXiv.2307.15913