where's the beat?

8. evaluation

Contents

Imagine a tracker that marks every kick exactly 60 milliseconds late. If the test accepts a mark within 70 ms on either side of each beat, every mark can count as correct. Each flash is still late by the same amount. To read an accuracy score, you need to know what listeners marked, how close a prediction had to be, and whether the tracker had already heard the rest of the song. [50]

What counts as a match?

Pair each prediction with at most one listener mark inside the allowed time window, and use each mark at most once. Precision is the fraction of predictions that match. Recall is the fraction of listener marks the tracker finds. Suppose a loop has eight beats, and the tracker finds all eight plus two extra hits. Precision is 8/10, recall is 8/8, and their harmonic mean, called F1, is about 89%. A tracker that fires on every hi-hat can have excellent recall and poor precision. [50]

Target What the score tells you
Tempo Accuracy 1 commonly accepts a BPM within 4% of the reference. Accuracy 2 also allows related rates, including half and double. For a 120 BPM track, a 60 BPM estimate can pass the second test. [6]
Beats and downbeats F1 counts individual matches. A continuity score asks how long the tracker stayed on the same pulse without slipping. CMLc measures the longest correct run at the listener’s chosen beat level. AML scores also allow other interpretations, such as half speed. [50]
Phrases and sections Report how close the starts were allowed to be and which kind of start was labeled. The FaiSonic preprint reports phrase F1 of 62.90% within half a second and 79.18% within three seconds for the same model. At 124 BPM, three seconds is more than six beats. Naming the new passage “chorus” is a separate test. [22, 23]
Live cues Log both the time assigned to the beat and the time the software announced it. Compare each with the listener’s mark to see how accurate the timestamp was and whether the app had any advance notice. Also record how long the tracker took to settle at startup. [16, 38, 49]

Whose annotations?

An annotation is a person’s mark on a recording, such as a beat timestamp or the beginning of a chorus. GiantSteps Tempo supplies reference tempi for 664 EDM excerpts. The Harmonix Set marks beats, bars, and sections in 912 pop tracks. Raveform includes human-marked sections for 1,423 EDM tracks, including buildups and drops. FaiSonic separates phrases from sections. Holzapfel and colleagues deliberately selected excerpts on which trackers disagreed, then asked listeners to mark them. Results on that collection reflect a harder selection of music. [10, 23, 27, 51, 52]

Testing a live cue

Play a file to the tracker a small block at a time, in order, as if it were coming from a DJ. Start mid-bar and count how many beats pass before the tracker finds one. Mute a kick and see whether the pulse carries through. Change the tempo and time how long it takes to follow. Log early and late errors separately. For a loop tied to the beat, a long uninterrupted run matters. For a single cut on the drop, what matters is whether the right cue reached the screen on that particular one. [16, 20, 50]