arXiv:2610.22535cs.SDOct 2026

Manuscript Offprint

arXiv:2610.22535

D-Composer: Language Modeling for Simultaneous Drum Transcription and Sound Event Decomposition

Patrick O'Reilly, Saumya Pailwan, Annie Chu, Jason Smith, Bryan Pardo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Drum beats are often conceptualized and produced as arrangements of repeated single-drum sound events or one-shots. Drum Analysis-by-Synthesis (AbS) models combine this structural assumption with reconstruction-based training to perform MIR tasks such as drum transcription, drum source separation, and one-shot extraction, offering a flexible alternative to more traditional task-specific supervision. However, leading AbS approaches struggle to generalize to a broad range of drum timbres (e.g., electronic drum kits), rely on high-quality paired audio-transcription training data, and do not model intra-class timbral variation within a single arrangement (e.g., multiple kick sounds). To overcome these limitations, we propose D-Composer, an autoregressive language modeling framework that decomposes drum recordings into labeled sound events and their onset times. In drum transcription and one-shot extraction tasks, D-Composer performs comparably to or better than a state-of-the-art AbS system and task-specific baselines while generalizing to a broader range of drum timbres. Our results demonstrate that when equipped with abundant synthetic data and compact acoustic token representations, language modeling provides a simple recipe for unifying transcription and sound event decomposition.

1. INTRODUCTION

Drums are a cornerstone of many musical traditions. Within popular Western genres, drums are typically conceptualized (and correspondingly notated and produced) as arrangements of repeated single-drum sound events or one-shots spanning drum classes such as kick, snare, and hi-hat [1–3]. While this discrete structure is important to the creation of music [4–6], audio recording and mixing processes combine drum sound events into representations (e.g., PCM) that make it extremely difficult to access individual one-shots. “Factorized” music recording formats that preserve arrangement structure at the note level

Figure

Figure 1. D-Composer maps drum audio to a stream of tokens (see Section 3.2) encoding the onset time, class, and isolated audio for all sound events, effectively turning any drum recording into a playable piano roll.

(e.g., MPEG-4 Structured Audio [7]) have struggled with adoption, in part because there is no reliable way to automatically extract and label note-level audio from recorded tracks.

MIR research has sought to develop methods for recovering this latent structure, including tasks such as drum transcription (the mapping of a drum recording to a score-like representation indicating the onset time and class of each sound event), drum source separation (the mapping of a drum recording to one recording per drum class, each capturing all sound events of that class), and drum one-shot extraction (the mapping of a drum recording to one representative sound event recording per drum class). The resulting task-specific models can recover individual aspects of the latent structure (e.g., event times) but cannot fully decompose a drum recording into a manipulable arrangement of discrete sound events such as a piano roll [2, 8], limiting creative applications.

Recent work in drum Analysis-by-Synthesis (AbS) has shown that a single model can be trained to perform transcription, separation, and one-shot extraction simultaneously by reconstructing drum audio from a predicted tran-

© P. O'Reilly, S. Pailwan, A. Chu, J. Smith, and B. Pardo. Licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0). Attribution: P. O'Reilly, S. Pailwan, A. Chu, J. Smith, and B. Pardo, "D-Composer: Language Modeling for Simultaneous Drum Transcription and Sound Event Decomposition", in Proc. of the 27th Int. Society for Music Information Retrieval Conf., Abu Dhabi, UAE, 2026.

Figure

Figure 2. Training of the proposed D-Composer system, including data preparation (top) and target formatting (bottom). Using MIDI drum scores and one-shot data, we construct synthetic drum recordings as model inputs (bracketed in red) and corresponding drum class, onset, and acoustic tokens for each constituent one-shot as targets (bracketed in blue).

script [9] – closing the gap towards full decomposition. However, leading AbS approaches struggle to generalize to a broad range of drum timbres (e.g., electronic drum kits), rely on high-quality paired audio-transcription training data, and do not model intra-class timbral variation within a single arrangement (e.g., multiple kick sounds).

To overcome these limitations, we propose D-Composer, an autoregressive language modeling framework that fully decomposes drum recordings into arrangements of discrete sound events. Given a drum recording, D-Composer produces a structured sequence of tokens representing each sound event's onset time (in quantized 10ms intervals), the sound event's drum class (as a MIDI note), and the isolated sound event itself (as a sequence of acoustic tokens that can be mapped to audio through a purpose-built low-bitrate codec). Notably, whereas AbS performs analysis and synthesis in sequence, our framework organizes analysis and synthesis into a single interleaved process that produces a combined symbolic-acoustic output.

In drum transcription and one-shot extraction experiments on both real and synthetic recordings, D-Composer performs comparably to or better than a state-of-the-art AbS system and task-specific baselines while generalizing to a broader range of drum timbres, validating the effectiveness of our approach in “spelling out” drum beats as sequences of sound events. Our contributions are as follows:

• A language modeling framework (D-Composer) that fully decomposes a drum beat recording into a sequence of discrete sound events

• An ultra-low-bitrate drum one-shot codec (DOC) that compresses 44.1kHz stereo drum sound events at 0.1kbps, an order of magnitude smaller than leading high-fidelity codecs [10, 11]

• Transcription and one-shot extraction experiments demonstrating that the proposed system’s decompositions accurately locate and reconstruct a drum recording’s constituent sound events

Through this work, we aim to provide a tool for mapping drum beats to piano roll-like representations in which individual sound events can be easily accessed and manipulated to adjust timing and arrangement, extract individual sound sources, or perform other music production tasks. We provide listening examples and code at https://d-composer.github.io.

References (53)