Silent Metronome

Rhythmic grounding for live music accompaniment (SiMe), project and demo page.

Silent Metronome (SiMe) targets rhythmic drift in live music accompaniment. A streaming accompaniment model must generate audio for an incoming stream, committing to each frame before hearing what comes next, so it has to infer tempo, meter, and metrical phase at every timestep from its own imperfect past while having been trained on flawless ground truth. After only a few generation steps this exposure bias becomes audible as rhythmic drift. SiMe instead hands the model an unambiguous rhythmic reference, the phase within the beat and within the bar encoded with periodic functions, paired with tempo and time signature. Because that reference is external to the audio pathway it cannot drift with the model’s own mistakes, exactly like the trusty metronome that inspired it. That also makes the approach a natural fit for settings where such a reference already exists, a DAW session, a studio click, or a synced stage setup. Together with complementary auxiliary heads, including a novel one that predicts the model’s own future tokens, beat alignment improves 3.2× over the strictly causal baseline and surpasses a non-causal reference granted a full second of look-ahead.

Kevin Bretz, Derya Soydaner, Aske Plaat · Leiden University

Links · 📄 arXiv (coming soon) · 💻 Code · 🤗 Checkpoints

The idea in one picture. Human musicians stay locked onto a metrical grid by aligning themselves to an external beat cue, often provided by a metronome, while playing alongside other musicians (left). Our model receives an analogous per-frame periodic signal as a conditioning channel into each decoder block (right). Both produce rhythmically aligned music from an otherwise ambiguous input through an independently sourced temporal signal.
Listen

Every example is one ten-second window from the Slakh2100 test split. The model hears only the input mix and generates the missing stem strictly causally, committing to each second of output before hearing the chunk of audio it accompanies. Pick a target class and an example. The input mix sits on top, and below it each system’s stem is playable on its own and blended back into the input mix, so the baseline, SiMe+Aux, and the ground truth can be compared directly. Listen for how the baseline loses the rhythm while SiMe stays locked to it.

Target
Example

Input mix (what the model hears)

Causal baseline

Generated stem

Stem + input mix

SiMe + Aux (ours)

Generated stem

Stem + input mix

Ground truth

Held-out stem

Stem + input mix

Method

We build on the streaming accompaniment framework of Wu et al. (SMG), a prefix-decoder transformer over causal DAC tokens at 50 Hz that generates the accompaniment in one-second chunks with zero future visibility, so it never hears the input it is accompanying before committing to output. On top of this strictly causal baseline we add two components.

Metrical phase conditioning. Every frame carries a four-channel phase encoding, the sine and cosine of the phase within the beat and within the bar, extended with local and window-level log-tempo, tempo and meter change flags, and learned time-signature embeddings. A MLP projects these 24 channels to the model width, and the signal enters every decoder block through adaptive layer normalization in the AdaLN-Zero style. Because the signal is external to the audio pathway, it cannot drift with the model’s own mistakes. The conditioning path is precomputable one chunk ahead and adds roughly 5% to per-chunk generation time on an A100.

In all experiments the phase, tempo, and time-signature information comes from ground-truth annotations extracted in preprocessing. This is a deliberate oracle setting, it isolates the effect of an undrifting external reference from the separate question of estimating one live.

Latent-shaping auxiliary heads. Three shallow heads train jointly on the decoder’s hidden state and are dropped at inference. Two predict the target stem’s current multi-pitch activations and constant-Q spectrum. The third is a target-token future head, new to music generation, which predicts the model’s own output tokens 0.2, 0.5, and 0.8 seconds ahead, pressuring the representation to plan ahead even without seeing ahead.

The conditioning signal. The four beat-phase channels over a two-bar 4/4 example, sine (solid) and cosine (dashed) of the beat phase (blue) and of the bar phase (red). The dotted vertical line picks out the four values carried by a single frame. The unit circles visualize that frame's beat and bar phase as (cos, sin) points, so each phase maps to a unique point on its circle and the encoding stays continuous across the cyclic wrap-around.
Results
3.2×beat alignment over the strictly causal baseline (Beat-F 0.133 → 0.432)
+0.163Beat-F over a non-causal reference granted a full second of look-ahead
< 1 ptCoCoLa gap to that non-causal reference (60.84 vs 61.70)

Evaluation on 1,024 held-out Slakh2100 windows, continued chunk-by-chunk at the one-second chunk size. Every reported value is the mean over five sampling seeds with the sample standard deviation as the ± term. All models except the last row are strictly causal, the non-causal reference is granted one second of look-ahead into the input mix and serves as an upper reference, not as a deployable model. Beat-F scores agreement between the pulse of the generated accompaniment and of the input mix, CoCoLa scores harmonic and percussive coherence against the input, and FAD (VGGish) measures distributional audio quality. Best model value per column in bold, the held-out ground-truth stem scored under the identical protocol serves as the attainable ceiling.

Model Beat-F ↑ CoCoLa ↑ FAD ↓
Baseline 0.133 ± 0.003 58.56 ± 0.14 5.56 ± 0.10
+ Aux only (all heads) 0.133 ± 0.002 57.93 ± 0.09 5.46 ± 0.10
+ Cond (tempo + time sig. only) 0.141 ± 0.006 57.13 ± 0.08 4.80 ± 0.04
+ SiMe (full cond) 0.380 ± 0.003 60.03 ± 0.04 4.25 ± 0.06
+ SiMe + Aux (pitch, spectrum) 0.411 ± 0.011 60.36 ± 0.07 3.96 ± 0.05
+ SiMe + Aux + future head (headline) 0.432 ± 0.008 60.84 ± 0.05 4.38 ± 0.10
Non-causal ref. (fv +50) 0.269 ± 0.006 61.70 ± 0.05 5.29 ± 0.08
Ground truth (ceiling) 0.570 66.27

The ablations isolate the mechanism. All three auxiliary heads alone, including the future-token head, leave Beat-F at the baseline, and the conditioning stripped of its phase channels reaches only 0.141, so the metrical phase is the core mechanism and the auxiliary heads refine what it provides.

CoCoLa harmonic and percussive sub-scores
Model CoCoLa harm. ↑ CoCoLa perc. ↑
Baseline 59.94 ± 0.11 63.04 ± 0.14
+ Aux only (all heads) 59.37 ± 0.07 62.30 ± 0.11
+ Cond (tempo + time sig. only) 58.65 ± 0.07 61.66 ± 0.08
+ SiMe (full cond) 61.14 ± 0.04 64.66 ± 0.04
+ SiMe + Aux (pitch, spectrum) 61.53 ± 0.06 64.87 ± 0.10
+ SiMe + Aux + future head (headline) 62.07 ± 0.07 65.37 ± 0.08
Non-causal ref. (fv +50) 62.91 ± 0.04 66.08 ± 0.04
Ground truth (ceiling) 67.04 69.77
Per-instrument results

Targets are grouped into drums (97 windows), bass (144), and harmonic (783, all pitched non-bass classes). The ground-truth row is the held-out stem scored under the identical protocol and acts as the attainable ceiling per class.

Beat-F ↑

Model Drums Bass Harmonic
Baseline 0.182 ± 0.010 0.121 ± 0.012 0.128 ± 0.002
+ Aux only (all heads) 0.209 ± 0.006 0.137 ± 0.009 0.122 ± 0.003
+ Cond (tempo + time sig. only) 0.205 ± 0.014 0.146 ± 0.005 0.131 ± 0.006
+ SiMe (full cond) 0.689 ± 0.026 0.478 ± 0.016 0.317 ± 0.006
+ SiMe + Aux (pitch, spectrum) 0.727 ± 0.009 0.505 ± 0.030 0.348 ± 0.013
+ SiMe + Aux + future head (headline) 0.729 ± 0.012 0.571 ± 0.027 0.363 ± 0.010
Non-causal ref. (fv +50) 0.373 ± 0.020 0.391 ± 0.011 0.230 ± 0.008
Ground truth (ceiling) 0.777 0.722 0.511

CoCoLa ↑

Model Drums Bass Harmonic
Baseline 47.95 ± 0.14 58.93 ± 0.26 59.81 ± 0.16
+ Aux only (all heads) 47.96 ± 0.14 58.36 ± 0.18 59.09 ± 0.11
+ Cond (tempo + time sig. only) 47.67 ± 0.20 58.05 ± 0.23 58.13 ± 0.09
+ SiMe (full cond) 54.63 ± 0.29 63.13 ± 0.20 60.13 ± 0.05
+ SiMe + Aux (pitch, spectrum) 55.16 ± 0.08 63.90 ± 0.34 60.35 ± 0.09
+ SiMe + Aux + future head (headline) 55.33 ± 0.18 64.24 ± 0.35 60.90 ± 0.04
Non-causal ref. (fv +50) 51.39 ± 0.26 64.40 ± 0.19 62.48 ± 0.05
Ground truth (ceiling) 62.04 67.76 66.52

FAD (VGGish) ↓

Model Drums Bass Harmonic
Baseline 5.77 ± 0.40 9.29 ± 0.21 5.52 ± 0.13
+ Aux only (all heads) 5.26 ± 0.25 8.98 ± 0.28 5.45 ± 0.11
+ Cond (tempo + time sig. only) 5.24 ± 0.35 8.60 ± 0.17 4.70 ± 0.08
+ SiMe (full cond) 4.34 ± 0.14 7.78 ± 0.16 4.15 ± 0.07
+ SiMe + Aux (pitch, spectrum) 4.26 ± 0.36 7.24 ± 0.19 3.86 ± 0.06
+ SiMe + Aux + future head (headline) 4.44 ± 0.35 7.41 ± 0.27 4.37 ± 0.10
Non-causal ref. (fv +50) 5.39 ± 0.32 8.94 ± 0.27 5.23 ± 0.09
Per-class CoCoLa harmonic and percussive sub-scores
Model Drums h / p Bass h / p Harmonic h / p
Baseline 51.81 / 55.83 59.95 / 63.25 60.95 / 63.89
+ Aux only (all heads) 52.21 / 55.06 59.42 / 62.57 60.25 / 63.15
+ Cond (tempo + time sig. only) 51.63 / 55.60 59.42 / 62.31 59.38 / 62.29
+ SiMe (full cond) 57.85 / 62.71 63.94 / 67.70 61.03 / 64.34
+ SiMe + Aux (pitch, spectrum) 58.60 / 62.77 64.72 / 68.24 61.31 / 64.51
+ SiMe + Aux + future head (headline) 58.80 / 62.68 65.10 / 68.51 61.92 / 65.13
Non-causal ref. (fv +50) 55.18 / 58.94 65.11 / 68.61 63.47 / 66.50
Ground truth (ceiling) 63.53 / 65.28 68.33 / 71.62 67.24 / 69.98

The headline model reaches about 94%, 79%, and 71% of the attainable alignment ceiling on drums, bass, and harmonic targets respectively, up from the baseline's 23%, 17%, and 25%. Expressed as a single number, the SiMe + Aux additions close about 92%, 75%, and 61% of the gap between the baseline and the ceiling per class. The advantage over the non-causal reference holds in every class, so there is no class where look-ahead outperforms the metrical signal. Additionally, there appears to be a tradeoff between the contrastive and distributional metrics when the future token auxiliary head is introduced on top of metrical conditioning as well as pitch and spectral prediction heads, present across all classes.

Long-horizon evaluation

The standard protocol matches the ten-second training horizon, so it cannot show what happens when generation runs past it. We therefore generate twenty-second continuations with a sliding window at the same one-second chunk size and score the two ten-second halves separately, on the same 1,024 test windows and five sampling seeds, with loudness normalization applied once per twenty-second file before slicing. Because the halves are cut from these jointly normalized files, the FAD reference values are pooled across both halves, and the continuations are re-sampled, the first-half values are close to but not identical with the standard protocol above, and the two tables should not be compared cell by cell. The two-half drift protocol is adopted from LiveBand (arXiv:2606.03803). We do not compare our scores with LiveBand’s published numbers because their model is trained on different data under unreported conditions, so we adopt only their evaluation protocol.

Δ rel. is the Beat-F change from the first to the second half relative to the first half. Δ vs. floor subtracts the ground-truth drift from each model’s Δ rel. For CoCoLa and FAD, the second half is reported as the absolute change from the first.

Model Beat-F ↑ CoCoLa ↑ FAD ↓
0–10 s Δ rel. Δ vs.
floor
0–10 s Δ 0–10 s Δ
Baseline 0.133 ± 0.001 −14% −10% 58.67 +0.05 5.22 +0.66
+ Aux only (all heads) 0.135 ± 0.002 −16% −12% 58.07 +0.32 5.04 +0.46
+ Cond (tempo + time sig. only) 0.141 ± 0.007 −4% 0% 57.28 +0.08 4.48 +0.37
+ SiMe (full cond) 0.380 ± 0.006 −3% +1% 60.08 +0.04 4.06 +0.22
+ SiMe + Aux (pitch, spectrum) 0.418 ± 0.009 −7% −3% 60.48 −0.01 3.77 +0.24
+ SiMe + Aux + future head (headline) 0.428 ± 0.008 −5% −1% 61.05 0.00 4.22 +0.25
Non-causal ref. (fv +50) 0.268 ± 0.009 −13% −9% 61.85 −0.57 5.03 +0.86
Ground truth 0.567 −4% 0% 66.27 −0.58 0.07 −0.02

The ground truth has no FAD entry under the standard protocol because the reference set there is the ground truth itself, making the value zero by construction. Against the pooled background it earns a small nonzero FAD instead, the measurement floor of the protocol.

The second half is intrinsically harder material, the ground truth itself gives up 4% of its score, so that −4% is the content floor every model must be read against, not zero. The conditioned models mostly track the floor, SiMe improves on it by 1%, the headline model trails it by 1%, and the phase-stripped conditioning matches it exactly. The one exception is the aux heads without the future-token head, which drifts 3% below the floor, worse than SiMe alone, and it is specifically the future-token head that pulls the headline model back toward the floor. The unconditioned models lose 14 to 16% and the non-causal reference loses 13% despite its full second of look-ahead, three to four times the floor. The non-causal reference is also the only model whose CoCoLa declines across the horizon (−0.57), every conditioned model holds or gains, although the ground truth also drops slightly. The headline model consistently reaches about 75% of the Beat-F ground-truth ceiling in both halves, up from the baseline’s 23% and 21%. The external signal carries alignment past the training horizon that a second of look-ahead does not.

Discussion

The pattern that stands out across the results is where the method helps. The per-instrument split shows the advantage is largest on percussive targets and smallest on instruments whose coherence lives in spectral harmony, with the achievable alignment falling from 94% on drums to 71% on harmonic targets, and with the non-causal reference retaking the CoCoLa lead on harmonic targets only. Put as one number per class, the SiMe + Aux additions close about 92%, 75%, and 61% of the baseline-to-ceiling beat alignment gap on drums, bass, and harmonic targets. Informal listening agrees with this ordering, the gains are unmistakable on drums and subtler on harmonic material.

Part of the explanation is built into the method. The SiMe conditioning, which contributes the largest gains across all metrics, carries no musical or harmonic content at all, it provides purely temporal grounding. A drum part is very nearly a direct expression of that temporal structure, so an unambiguous metrical reference addresses most of what the target demands. A harmonic part must also agree with the input in pitch and harmony, which the phase signal carries no information about, so a larger share of the task is left to the audio pathway that the conditioning does not touch.

These interpretations are supported by informal listening rather than a formal evaluation, and a listening study with participants is the natural next step for the perceptual claims. The rhythmic reference itself is an oracle in the current experiments. In practice it can be supplied by a click track or DAW clock, exactly as it is for human musicians, and replacing the annotations with a causal online beat tracker is the natural step toward a fully self-contained live system. Conditioning signals that carry harmonic information alongside the temporal ones are an equally significant next step for the method.

BibTeX
@misc{bretz2026silentmetronome,
  title  = {Silent Metronome: Rhythmic Grounding for Live Music Accompaniment},
  author = {Bretz, Kevin and Soydaner, Derya and Plaat, Aske},
  year   = {2026},
  note   = {Preprint}
}