PerformanceNet
A score-to-audio model that turns piano rolls into spectrograms with a U-Net and a multi-band residual network.
Audio and speech · 329 operations Checked
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
- Task
- Audio and speech
- Parameters
- 249.8M
- Operations
- 329
- Framework
- PyTorch
- Recurrent
- No
- Published
- AAAI 2019
- Paper
- PerformanceNet: Score-to-Audio Music Generation with Multi-Band Convolutional Residual Network
- Cited by
- 29 (as of 27 October 2026)
- Authors
- Bryan Wang, Yi-Hsuan Yang
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m19296
- Graph hash
- 2d84ff566f23805cf25f8ce4596bd5579ace018e29fc9aed95152557bc3eb1ae
- Skeleton hash
- 902220df6874a9fd7d5b34601bc3c5d2cca97c51a032e35ef59ff7917a7721a2
- Architecture hash
- a03f8cbd289972149e8839c7e5d1d5cae9494dc75388b9d1c50285a55ed41391
- Diagram SHA-256
- 9adcab3f7923316d641d02d7d39e8f1c97071f3ae09526c22687530797520e33
- 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
PerformanceNet is a deep convolutional model that learns, end to end, the score-to-audio mapping from piano rolls, a symbolic representation of music, to spectrograms, an audio representation. The paper argues that synthesizing audio directly with sound sample libraries often gives mechanical and deadpan results, because musical scores do not contain performance-level information such as subtle changes in timing and dynamics. The task may sound like text-to-speech synthesis, but the authors point to a fundamental difference: music audio has rich polyphonic sounds.
The model has two subnets, and the first, the ContourNet, uses a U-Net structure to learn the correspondence between piano rolls and spectrograms and to give an initial result. The second, the TextureNet, refines that result with a multi-band residual network, adding the spectral texture of overtones and timbre. The output is a spectrogram, which the code converts into an audio waveform with the Griffin-Lim algorithm.
The model was trained to generate music clips of the violin, cello and flute, with a dataset of moderate size. The paper reports a user study in which it received a higher mean opinion score (MOS) in naturalness and emotional expressivity than a WaveNet-based model and two commercial sound libraries. The authors note that quality can vary between keys, since some notes may never appear in the training data.
Key idea. PerformanceNet maps piano rolls to spectrograms with a U-Net ContourNet for an initial result and a multi-band residual TextureNet that adds the spectral texture of overtones and timbre.
- performancenet
- score-to-audio
- music generation
- piano roll to audio
- ai performer
- music synthesis
- contournet
- texturenet
- score to spectrogram
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2018performancenetscoretoaudiomusicgeneration,
title={PerformanceNet: Score-to-Audio Music Generation with Multi-Band Convolutional Residual Network},
author={Bryan Wang and Yi-Hsuan Yang},
year={2018},
eprint={1811.04357},
archivePrefix={arXiv},
primaryClass={cs.SD},
url={https://arxiv.org/abs/1811.04357},
}