PianoKontext: Expressive Performance Rendering from Deadpan Context

Dmitrii Gavrilev
6/10/2026
cs.SDcs.LG

No official code found. Best implementation: realfolkcode/pianokontext (5 stars, last commit 2026-06-11).

Abstract

Expressive performance rendering (EPR) aims to generate realistic performances constrained on sequences of notes. However, flow matching audio editing models manipulate only synchronized music samples of the same duration, limiting their understanding of expressive timing. We introduce PianoKontext, a flow matching rendering model for classical piano music that generates variable-length performances in the latent space of a pretrained Music2Latent model. We synthesize MIDI scores into deadpan audio and employ Dynamic Time Warping (DTW) in the latent space to construct paired data for training. The aligned embeddings are concatenated in DiT blocks, allowing for a simple and effective learning of the dependencies between the score and performances. Audio samples are available at our demo page: https://realfolkcode.github.io/pianokontext_demo/.

View on arXivView PDF

Code Implementations(1)

PianoKontext: Expressive Performance Rendering from Deadpan Context

50Jan 21, 20264 months ago

Similar Papers

Cite this paper

@article{gavrilev2026pianokontext,
  title  = {PianoKontext: Expressive Performance Rendering from Deadpan Context},
  author = {Dmitrii Gavrilev},
  year   = {2026},
  eprint = {2606.12282},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.12282v1}
}

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

Discussion