arXiv:2609.07688cs.SDSep 2026

Manuscript Offprint

arXiv:2609.07688

Silent Metronome: Rhythmic Grounding for Live Music Accompaniment

Kevin Bretz, Derya Soydaner, Aske Plaat

Kevin Bretz, Derya Soydaner, and Aske Plaat

Leiden Institute of Advanced Computer Science (LIACS), Leiden University, Leiden, The Netherlands

k.o.bretz@umail.leidenuniv.nl, d.soydaner@liacs.leidenuniv.nl, a.plaat@liacs.leidenuniv.nl

Abstract—Live accompaniment models generate music for an incoming audio stream, committing to each output frame before hearing what comes next. In this strictly causal setting the model must infer tempo, meter, and metrical phase from its own imperfect past, whereby compounding errors quickly become audible as rhythmic drift. Put simply, the model has ears but no temporal reference, so when the ears hear imperfect, ambiguous music, the model will produce a flawed output. We propose Silent Metronome (SiMe), which gives it the temporal reference, encoding the phase within the beat and within the bar as periodic functions, pairing them with tempo and time signature, and supplying the result as a separate conditioning channel. Because this reference is independent of the generated audio, it cannot drift. Complementary auxiliary heads shape the latent representation, including a novel head that predicts the model's own future tokens. With the metrical signal taken from ground-truth annotations, beat alignment improves by a factor of 3.2 over the strictly causal baseline and surpasses a non-causal reference granted a full second of look-ahead. Coherence between input and accompaniment stays within a single point of that reference. These results suggest that streaming accompaniment systems should treat rhythm as a signal to be shared, as human ensembles do, rather than inferred.

Index Terms—Music Generation, Real-Time Generation, Causal Generation, Human-Computer Interaction (HCI)

I. INTRODUCTION

Generative AI has seen growing interest in tools for real-time (online) collaboration and dynamic interaction — from playable game engines [1] and live image synthesis [2] to full-duplex spoken dialogue [3] and real-time robot manipulation [4]. In creative domains, such tools can complement the skills of trained artists much like a collaborative partner. In contrast to prompt-based generation, which compresses the creative process into the lossy realm of language [5] and strips it of artistic intent [6], interactive systems return expressive freedom to the artist's hands.

We focus on a musical application, contributing towards a real-time jamming agent capable of anticipatory accompaniment and expressive improvisation. Recent work has laid the foundation for this trajectory: reinforcement-learned chord accompaniment in the symbolic domain [7], its deployment in a live jamming interface [8], and most recently accompaniment generation directly on streaming audio [9]–[11]. However, the strictly causal setting remains stubbornly hard. Each output frame is committed before the input it accompanies has been heard, the model deploys on its own imperfect past after training on flawless ground truth, and this exposure bias decays rhythmic alignment within a few autoregressive inferences. We therefore ask whether the metrical grid must be inferred from the audio stream at all, or whether it can be supplied as an external signal that restores alignment without any look-ahead.

Metaphorically speaking, the model has ears but no sense of time. Silent Metronome (SiMe) hands it a watch, in the form of an external metrical signal provided through a separate input channel (Fig. 1) that decouples rhythm from the causal audio input. During deployment the signal can be clock-given, from a Digital Audio Workstation (DAW) or shared click track, or, in theory, live-tracked, estimated causally from the incoming audio. All experiments below use the exact dataset grid, an oracle upper bound that isolates the anchoring mechanism from the separate problem of live estimation. To also target harmonic coherence, we layer latent-shaping auxiliary heads on top, including a future token prediction head that is, to the best of our knowledge, new to music generation.

We build directly on the streaming framework of Wu et al. [9], leaving its architecture, codec, and training recipe unchanged, so any improvements are attributable to the added signal and objectives alone. Concretely, we contribute (i) per-frame metrical-phase conditioning for causal music generation, injected through adaptive layer normalization, (ii) a target-token future auxiliary head that pressures the decoder to plan ahead, and (iii) ablations that provide a definitive answer to our question: using a grid with perfect information, the strictly causal model equipped with both extensions more than triples its beat alignment, surpassing alternatives that use only a single extension, tempo and meter conditioning without phase components, or even a full second of look-ahead.

Our code, checkpoints, audio samples, and extended results are available via our project page. 1^{1}

References (35)