Pop Music Transformer: Beat-based Modeling and Generation of Expressive Pop Piano Compositions

Yu-Siang Huang, Yi-Hsuan Yang
2/1/2020
cs.SDcs.AIeess.AS

Official code: YatingMusic/remi (604 stars, GPL-3.0, TensorFlow, last commit 2022-11-15).

Abstract

A great number of deep learning based models have been recently proposed for automatic music composition. Among these models, the Transformer stands out as a prominent approach for generating expressive classical piano performance with a coherent structure of up to one minute. The model is powerful in that it learns abstractions of data on its own, without much human-imposed domain knowledge or constraints. In contrast with this general approach, this paper shows that Transformers can do even better for music modeling, when we improve the way a musical score is converted into the data fed to a Transformer model. In particular, we seek to impose a metrical structure in the input data, so that Transformers can be more easily aware of the beat-bar-phrase hierarchical structure in music. The new data representation maintains the flexibility of local tempo changes, and provides hurdles to control the rhythmic and harmonic structure of music. With this approach, we build a Pop Music Transformer that composes Pop piano music with better rhythmic structure than existing Transformer models.

View on arXivView PDF

Code Implementations(1)

YatingMusic/remiOfficial100%
TensorFlowGPL-3.0

"Pop Music Transformer: Beat-based Modeling and Generation of Expressive Pop Piano Compositions", ACM Multimedia 2020

60491Python, Jupyter NotebookJan 31, 20203 years agoGPL-3.0
music-generationtensorflowtransformer

Similar Papers

Cite this paper

@article{huang2020music,
  title  = {Pop Music Transformer: Beat-based Modeling and Generation of Expressive Pop Piano Compositions},
  author = {Yu-Siang Huang and Yi-Hsuan Yang},
  year   = {2020},
  eprint = {2002.00212},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.00212}
}

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

Discussion