arXiv:2610.03428cs.SDOct 2026

Manuscript Offprint

arXiv:2610.03428

LayerIt: Towards a Framework for Time-Aligned, Composable Music Visualizations

Fernando Azeredo, António Sá Pinto

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Music information retrieval often relates signal-derived, algorithmic, and symbolic information across different coordinate systems. Existing visualizations typically leave notation separate from physical time, while composites that combine them are assembled by hand. We present LayerIt, an open-source Python library for composing independent representations with notation on a shared performance-time axis. Given a score warped into performance time and a note-level alignment, LayerIt emits a single SVG that preserves the score's MEI structure and keeps added components identifiable and restylable. We demonstrate this through a challenging beat-tracking analysis, in which tracker output, signal representations, and notation can be inspected together to locate metrical disagreement and other errors against both notated structure and performed time.

1. INTRODUCTION

Music can be represented in many ways: as engraved notation, symbolic encodings, or audio recordings of performances. These representations, however, live in different notions of time. Recordings unfold in physical time, measured in seconds or samples; symbolic encodings organize it in abstract units such as beats and measures; and engraved notation renders it in space, in pixels or millimetres. Establishing correspondences between them, a task known as alignment or synchronization, is central to both music information retrieval (MIR) and digital musicology.

Alignment algorithms, notably those matching audio to score, must balance accuracy against computational cost and robustness [1]. The latter takes several forms, such as tolerance to performance errors [2] or to structural mismatches between score and performance [3]. Two further distinctions cut across that balance: matching may happen within the audio or symbolic domain, or across the two [4], and may rely on classical signal-processing features or on learned representations [5].

An alignment, once computed, can be put to work in more than one way. One concern is representation. Alignments are often stored in ad hoc, single-use formats, and recent modelling relates musical timelines across the graphical, logical, and physical domains so that positions and annotations move between them and the alignment can be reused [6]. A separate concern, which this work takes up, is visualization. The prevailing strategy fixes the score's layout and links its elements to instants on a physical timeline through drawn connectors [7], as do interactive tools that track a performance with a moving score cursor [8]. Score and physical time thus stay in separate coordinate systems, leaving the user to bridge them mentally.

An alternative dispenses with anchors altogether. The notation itself is laid out in performance time, each element repositioned according to its performed onset, so that the score stays fully readable as notation while doubling as a visual index into physical time [9]. The possibility that motivates the present work is a shared performance-time axis onto which further material can be layered, from waveforms and feature curves to other time-aligned information [10]. Annotations such as beat positions and metre are of particular interest here, since they are explicit in musical notation yet recoverable from audio only by estimation.

No simple, programmatic way to compose these layers reproducibly exists. Such composites are assembled by hand, score and audio matched by eye and ear, so nothing ties the match to the signal and nothing survives a change of recording or algorithm. We present LayerIt 1^{1}: given a score–performance alignment, it places independently generated components onto this shared axis and merges them into a single, self-contained visualization. Each is handled as an independent layer that can be added, combined, or removed, making such composites straightforward to build and adapt. The library is open-source and composes the figure in Python, where the material is already being produced, so that no export to a separate drawing tool is required.