All models

High-Resolution Piano Transcription Network

A convolutional and recurrent network that transcribes piano audio into notes and sustain pedal events.

Audio and speech · 379 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (22 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
42.9M
Operations
379
Framework
PyTorch
Recurrent
No
Published
IEEE/ACM Transactions on Audio, Speech, and Language Processing (arXiv 2020)
Cited by
109 (as of 28 October 2026)
Authors
Qiuqiang Kong, Bochen Li, Xuchen Song and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m17359
Graph hash
fe420c0f8d028b5c0f60533c766ed1f475e7d25d9144ce494bc05f755cb38dfb
Skeleton hash
6d7730c068efba9499bee28dd6d477ae8e60c94636045c2e5753758f4279317b
Architecture hash
70b155bfb5155fbe4f5d1fa7dad606684e380a00bd84612b4f16087d2d264f1b
Diagram SHA-256
d611a37612d2a84c6ebcb22926df80abee058ee11b2fd29b67ffb3315d0eaaab
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This network transcribes solo piano recordings into note events with pitch, onset, offset and velocity. Many earlier systems detected onsets and offsets frame by frame, which limits the timing resolution to the frame hop size. Here each frame is instead given a regression target that says how far it is from the nearest onset or offset, so the precise times are kept.

The note system has four submodules, for velocity, onset, frame-wise note presence and offset. Each one is an acoustic model made of several convolutional layers followed by bidirectional gated recurrent unit (biGRU) layers. The velocity and onset outputs are concatenated and passed through a further biGRU layer to give the final onset predictions. A sustain pedal system of similar design runs beside it, differing only in that it gives one output per frame instead of 88.

Recordings are converted to mono and resampled to 16 kHz. The paper reports an onset F1 of 96.72% on the MAESTRO dataset, compared with 94.80% for the earlier onsets and frames system. It also reports a pedal onset F1 score of 91.86% on MAESTRO.

Key idea. The paper trains a piano transcription system by regressing precise onset and offset times of notes, and calculates those times analytically at inference for notes and pedal events.

  • high-resolution piano transcription
  • piano transcription
  • automatic music transcription
  • amt
  • sustain pedal transcription
  • onset and offset regression
  • maestro
  • audio to midi
  • bytedance piano transcription

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{kong2021highresolutionpianotranscriptionpedals,
      title={High-resolution Piano Transcription with Pedals by Regressing Onset and Offset Times}, 
      author={Qiuqiang Kong and Bochen Li and Xuchen Song and Yuan Wan and Yuxuan Wang},
      year={2021},
      eprint={2010.01815},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/2010.01815}, 
}