English

TheGlueNote: Learned Representations for Robust and Flexible Note Alignment

Sound 2024-08-09 v1 Machine Learning Audio and Speech Processing

Abstract

Note alignment refers to the task of matching individual notes of two versions of the same symbolically encoded piece. Methods addressing this task commonly rely on sequence alignment algorithms such as Hidden Markov Models or Dynamic Time Warping (DTW) applied directly to note or onset sequences. While successful in many cases, such methods struggle with large mismatches between the versions. In this work, we learn note-wise representations from data augmented with various complex mismatch cases, e.g. repeats, skips, block insertions, and long trills. At the heart of our approach lies a transformer encoder network - TheGlueNote - which predicts pairwise note similarities for two 512 note subsequences. We postprocess the predicted similarities using flavors of weightedDTW and pitch-separated onsetDTW to retrieve note matches for two sequences of arbitrary length. Our approach performs on par with the state of the art in terms of note alignment accuracy, is considerably more robust to version mismatches, and works directly on any pair of MIDI files.

Keywords

Cite

@article{arxiv.2408.04309,
  title  = {TheGlueNote: Learned Representations for Robust and Flexible Note Alignment},
  author = {Silvan David Peter and Gerhard Widmer},
  journal= {arXiv preprint arXiv:2408.04309},
  year   = {2024}
}

Comments

to be published in Proceedings of the 25th International Society for Music Information Retrieval Conference (ISMIR), 2024

R2 v1 2026-06-28T18:07:28.849Z