Online Symbolic Music Alignment with Offline Reinforcement Learning

Silvan David Peter
12/31/2023
10 citations
cs.SDcs.LGeess.AS
rl

Official code: sildater/parangonar (71 stars, Python, Apache-2.0, last commit 2026-04-23).

Abstract

Symbolic Music Alignment is the process of matching performed MIDI notes to corresponding score notes. In this paper, we introduce a reinforcement learning (RL)-based online symbolic music alignment technique.

Show full abstract

The RL agent - an attention-based neural network - iteratively estimates the current score position from local score and performance contexts. For this symbolic alignment task, environment states can be sampled exhaustively and the reward is dense, rendering a formulation as a simplified offline RL problem straightforward. We evaluate the trained agent in three ways. First, in its capacity to identify correct score positions for sampled test contexts; second, as the core technique of a complete algorithm for symbolic online note-wise alignment; and finally, as a real-time symbolic score follower. We further investigate the pitch-based score and performance representations used as the agent's inputs. To this end, we develop a second model, a two-step Dynamic Time Warping (DTW)-based offline alignment algorithm leveraging the same input representation. The proposed model outperforms a state-of-the-art reference model of offline symbolic music alignment.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

alignment of symbolic music

719PythonJun 7, 20227 months agoApache-2.0

Similar Papers

Cite this paper

@article{peter2023online,
  title  = {Online Symbolic Music Alignment with Offline Reinforcement Learning},
  author = {Silvan David Peter},
  year   = {2023},
  eprint = {2401.00466},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.00466v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.00466.svg)](https://codeofpaper.com/paper/2401.00466)

Discussion