Hierarchical Recurrent Neural Networks for Conditional Melody Generation with Long-term Structure

Zixun Guo, Makris Dimos, Herremans Dorien
2/19/2021
cs.SDcs.LGeess.AS

Official code: guozixunnicolas/CM-HRNN (5 stars, Python, last commit 2021-05-10).

Abstract

The rise of deep learning technologies has quickly advanced many fields, including that of generative music systems. There exist a number of systems that allow for the generation of good sounding short snippets, yet, these generated snippets often lack an overarching, longer-term structure.

Show full abstract

In this work, we propose CM-HRNN: a conditional melody generation model based on a hierarchical recurrent neural network. This model allows us to generate melodies with long-term structures based on given chord accompaniments. We also propose a novel, concise event-based representation to encode musical lead sheets while retaining the notes' relative position within the bar with respect to the musical meter. With this new data representation, the proposed architecture can simultaneously model the rhythmic, as well as the pitch structures in an effective way. Melodies generated by the proposed model were extensively evaluated in quantitative experiments as well as a user study to ensure the musical quality of the output as well as to evaluate if they contain repeating patterns. We also compared the system with the state-of-the-art AttentionRNN. This comparison shows that melodies generated by CM-HRNN contain more repeated patterns (i.e., higher compression ratio) and a lower tonal tension (i.e., more tonally concise). Results from our listening test indicate that CM-HRNN outperforms AttentionRNN in terms of long-term structure and overall rating.

View on arXivView PDF

Code Implementations(1)

52Python, ShellNov 9, 20205 years ago

Similar Papers

Cite this paper

@article{guo2021hierarchical,
  title  = {Hierarchical Recurrent Neural Networks for Conditional Melody Generation with Long-term Structure},
  author = {Zixun Guo and Makris Dimos and Herremans Dorien},
  year   = {2021},
  eprint = {2102.09794},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.09794}
}

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

Discussion