A Lightweight Instrument-Agnostic Model for Polyphonic Note Transcription and Multipitch Estimation

Rachel M. Bittner, Juan José Bosch, David Rubinstein, Gabriel Meseguer-Brocal, Sebastian Ewert
3/18/2022
cs.SDcs.LGeess.AS

Official code: spotify/basic-pitch (6,106 stars, Python, Apache-2.0, last commit 2025-11-13).

Abstract

Automatic Music Transcription (AMT) has been recognized as a key enabling technology with a wide range of applications. Given the task's complexity, best results have typically been reported for systems focusing on specific settings, e.g. instrument-specific systems tend to yield improved results over instrument-agnostic methods.

Show full abstract

Similarly, higher accuracy can be obtained when only estimating frame-wise $f_0$ values and neglecting the harder note event detection. Despite their high accuracy, such specialized systems often cannot be deployed in the real-world. Storage and network constraints prohibit the use of multiple specialized models, while memory and run-time constraints limit their complexity. In this paper, we propose a lightweight neural network for musical instrument transcription, which supports polyphonic outputs and generalizes to a wide variety of instruments (including vocals). Our model is trained to jointly predict frame-wise onsets, multipitch and note activations, and we experimentally show that this multi-output structure improves the resulting frame-level note accuracy. Despite its simplicity, benchmark results show our system's note estimation to be substantially better than a comparable baseline, and its frame-level accuracy to be only marginally below those of specialized state-of-the-art AMT systems. With this work we hope to encourage the community to further investigate low-resource, instrument-agnostic AMT systems.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A lightweight yet powerful audio-to-MIDI converter with pitch bend detection

6,106567Python, DockerfileMay 3, 20221 years agoApache-2.0
audiolightweightmachine-learningmidimusic+5 more

Similar Papers

Cite this paper

@article{bittner2022lightweight,
  title  = {A Lightweight Instrument-Agnostic Model for Polyphonic Note Transcription and Multipitch Estimation},
  author = {Rachel M. Bittner and Juan José Bosch and David Rubinstein and Gabriel Meseguer-Brocal and Sebastian Ewert},
  year   = {2022},
  eprint = {2203.09893},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.09893}
}

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/2203.09893.svg)](https://codeofpaper.com/paper/2203.09893)

Discussion