arXiv:2610.33113cs.SDOct 2026

Manuscript Offprint

arXiv:2610.33113

JIT-MPE: Just-in-Time Multi-Pitch Estimation under Output Deadlines

Yoshiyuki Kobayashi

Abstract

Live pitch displays, score followers and accompaniment systems must know which pitches are sounding within tens of milliseconds, but instrument-agnostic multi-pitch estimation (MPE) has mainly been designed and evaluated offline. We present JIT-MPE, a causal MPE model of 86k parameters for mixed ensembles. It gives an immediate estimate of each 20 ms frame and re-estimates the same frame as 20, 40, 80 and 160 ms of further audio arrive, so that a live display can show pitches at once and then refine them. We score each output only at a deadline by which it can be computed from the audio that has arrived, on five development sets and four held-out sets evaluated only after all design choices were frozen. At a 50 ms deadline, which reads the update made with 40 ms of lookahead, JIT-MPE is significantly more accurate than five of six published offline MPE systems in 38 of 45 comparisons (15 of 20 on the held-out sets) and less accurate in only two, although these systems read the whole recording and all but one have 6 to 170 times as many parameters; the sixth, supervised on URMP, is higher on four of the nine sets. The deadline costs little: on the held-out sets, JIT-MPE at 50 ms is within -1.27 to +0.60 points of recording-level macro F1 of its own final output with 160 ms of lookahead and within -2.08 to +0.79 points of a bidirectional model of similar size. Waiting pays off where the immediate estimate is weakest: the update at 50 ms adds 1.7–3.6 points over it on the development data and three of the four held-out sets, and raises the recall of reference frames in the first 20 ms after a note onset from 9.8% to 38.4% on the held-out AAM set. The slowest measured frame takes at most 4.15 ms on one CPU thread. Code and trained weights are available at https://github.com/Frieve-A/jit-mpe.

1 Introduction

Multi-pitch estimation (MPE) reports which pitches sound in each short frame of a recording. When MPE serves offline transcription, the estimator can read the whole recording before it answers. Interactive uses cannot wait: a live pitch display, a score follower or an accompaniment system must decide from the audio that has already arrived, within tens of milliseconds. A recent piano score follower, for example, reports competitive transcription accuracy at a latency of 174 ms [1]. Uses that need about 10 ms, such as the response of a played instrument [2], are outside our scope.

Two lines of work each cover half of this setting. Instrument-agnostic MPE models, which accept any combination of instruments, have mainly been designed and evaluated offline: they read the whole recording, and their frame-wise scores do not depend on when each answer becomes available [3–6]. Low-latency transcription, conversely, has mainly targeted solo instruments, above all the piano [7–11]. How much accuracy MPE for mixed ensembles loses when it must answer by a deadline has therefore, to our knowledge, not been measured.

We present JIT-MPE (just-in-time multi-pitch estimation), a causal model of 86k parameters designed for such uses (Figure 1). A live display should show a pitch as soon as it sounds, yet the first milliseconds of a note rarely suffice to resolve its pitch. JIT-MPE therefore gives two kinds of output from one model. It estimates each 20 ms frame as soon as the audio up to that frame has arrived, and its delay heads re-estimate the same frame 20, 40, 80 and 160 ms later from the additional audio. A display can draw the immediate estimate at once and rewrite its recent history with each update, like a piano roll that settles just behind the play head, keeping the final estimate at 160 ms. A model with a single fixed lookahead provides only one of these stages.

To measure what each stage is worth, we score JIT-MPE at each query time only on the output it can compute from the audio available by an output deadline D, as in latency-aware evaluation of speech recognition, streaming perception and simultaneous translation (Section 2). Each deadline then reads one stage of the update, so the scores show how accurate an early estimate is and what waiting longer improves. Two references measure the cost of the deadline: the final output of the same model isolates the effect of shortening the lookahead, and a bidirectional counterpart of similar size, which we train on the same data and which reads the whole recording, gives a reference without a dead-line. Six published offline MPE systems and two published multi-instrument transcription systems, grouped by their training data, place the absolute accuracy.

We develop on chamber, chorale and orchestral recordings (URMP, Bach10, MusicNet, TRIOS and PHENICX-Anechoic). After freezing every design choice, we evaluate on three held-out datasets: AAM, synthetic multitrack songs with many instruments; ChoraleBricks, wind-ensemble chorales mixed from separately recorded parts; and BSED, Beethoven symphony excerpts in four real orchestral performances and one synthetic rendering, which we report separately as BSED-real and BSED-synthetic. With five development sets, this gives nine evaluation sets.

The results show several strengths of this design.

• Higher accuracy than larger offline systems. At D=50D = 50 ms, which reads the update made with 40 ms of lookahead, JIT-MPE is significantly higher than five of six published offline MPE systems, which read the whole recording, in 38 of 45 comparisons on the nine evaluation sets (15 of 20 on the held-out sets) and lower only in two, both on BSED-real. All six except Basic Pitch have 6 to 170 times as many parameters. The sixth, SS-MPE v0.2.0, is supervised on URMP and is higher on the three sets with continuous-f0 truth (URMP, Bach10-mf0-synth and ChoraleBricks) and on BSED-real. Of two published transcription systems, about 550 and 16,000 times larger, MuScriptor is higher on AAM and BSED-real.

• Little cost of the deadline. On the four held-out sets, JIT-MPE at 50 ms is within -1.27 to +0.60 points of recording-level macro F1 of its own final output and within -2.08 to +0.79 points of its bidirectional counterpart, which is significantly higher only on AAM.

• Updates that pay off where they are needed. The update read at 50 ms adds 1.7–3.6 points over the immediate estimate on the development data and on three of the four held-out sets, most of the gap to the final output. The updates help most just after note onsets: on AAM, the recall of reference frames in the first 20 ms after an onset rises from 9.8% for the immediate estimate to 38.4% at 50 ms and 62.3% at 160 ms.

• An immediate estimate that holds its own. Read through its immediate (d=0)(d = 0) head alone, JIT-MPE is on no set significantly lower than Harmonic CRNN, a single-head model with the same harmonic front end (Section 4.2).

• Small and fast. JIT-MPE needs 0.68 GMAC per second of audio, and on one CPU thread its slowest measured 20 ms frame takes at most 4.15 ms.

The contributions are:

• JIT-MPE, a causal MPE model of 86k parameters that gives an immediate estimate of each frame and re-estimates it as more audio arrives, so that one model serves every deadline, released with code and trained weights (Section 4).

• A deadline-constrained evaluation of MPE, which scores each output only at a deadline by which it can be computed and thereby measures how accurate each stage of the update is (Section 3).

• A measurement, on development data and three held-out datasets, of the accuracy kept at a short deadline and of what waiting improves, above all the frames just after note onsets (Sections 6.1, 6.2 and 6.4).

• A comparison with eight published systems grouped by training data, which places the absolute accuracy (Section 6.3).

References (43)