Streaming Piano Transcription Based on Consistent Onset and Offset Decoding with Sustain Pedal Detection

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wei, Weixing, Zhao, Jiahao, Wu, Yulun, Yoshii, Kazuyoshi
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917943287218176
author Wei, Weixing
Zhao, Jiahao
Wu, Yulun
Yoshii, Kazuyoshi
author_facet Wei, Weixing
Zhao, Jiahao
Wu, Yulun
Yoshii, Kazuyoshi
contents This paper describes a streaming audio-to-MIDI piano transcription approach that aims to sequentially translate a music signal into a sequence of note onset and offset events. The sequence-to-sequence nature of this task may call for the computationally-intensive transformer model for better performance, which has recently been used for offline transcription benchmarks and could be extended for streaming transcription with causal attention mechanisms. We assume that the performance limitation of this naive approach lies in the decoder. Although time-frequency features useful for onset detection are considerably different from those for offset detection, the single decoder is trained to output a mixed sequence of onset and offset events without guarantee of the correspondence between the onset and offset events of the same note. To overcome this limitation, we propose a streaming encoder-decoder model that uses a convolutional encoder aggregating local acoustic features, followed by an autoregressive Transformer decoder detecting a variable number of onset events and another decoder detecting the offset events for the active pitches with validation of the sustain pedal at each time frame. Experiments using the MAESTRO dataset showed that the proposed streaming method performed comparably with or even better than the state-of-the-art offline methods while significantly reducing the computational cost.
format Preprint
id arxiv_https___arxiv_org_abs_2503_01362
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Streaming Piano Transcription Based on Consistent Onset and Offset Decoding with Sustain Pedal Detection
Wei, Weixing
Zhao, Jiahao
Wu, Yulun
Yoshii, Kazuyoshi
Sound
Information Retrieval
Multimedia
Audio and Speech Processing
This paper describes a streaming audio-to-MIDI piano transcription approach that aims to sequentially translate a music signal into a sequence of note onset and offset events. The sequence-to-sequence nature of this task may call for the computationally-intensive transformer model for better performance, which has recently been used for offline transcription benchmarks and could be extended for streaming transcription with causal attention mechanisms. We assume that the performance limitation of this naive approach lies in the decoder. Although time-frequency features useful for onset detection are considerably different from those for offset detection, the single decoder is trained to output a mixed sequence of onset and offset events without guarantee of the correspondence between the onset and offset events of the same note. To overcome this limitation, we propose a streaming encoder-decoder model that uses a convolutional encoder aggregating local acoustic features, followed by an autoregressive Transformer decoder detecting a variable number of onset events and another decoder detecting the offset events for the active pitches with validation of the sustain pedal at each time frame. Experiments using the MAESTRO dataset showed that the proposed streaming method performed comparably with or even better than the state-of-the-art offline methods while significantly reducing the computational cost.
title Streaming Piano Transcription Based on Consistent Onset and Offset Decoding with Sustain Pedal Detection
topic Sound
Information Retrieval
Multimedia
Audio and Speech Processing
url https://arxiv.org/abs/2503.01362