SurpriseNet: Melody Harmonization Conditioning on User-controlled Surprise Contours

Yi-Wei Chen, Hung-Shin Lee, Yen-Hsing Chen, Hsin-Min Wang
8/1/2021
cs.SDcs.MMeess.AS

Official code: scmvp301135/SurpriseNet (28 stars, Python, MIT, last commit 2026-08-08).

Abstract

The surprisingness of a song is an essential and seemingly subjective factor in determining whether the listener likes it. With the help of information theory, it can be described as the transition probability of a music sequence modeled as a Markov chain.

Show full abstract

In this study, we introduce the concept of deriving entropy variations over time, so that the surprise contour of each chord sequence can be extracted. Based on this, we propose a user-controllable framework that uses a conditional variational autoencoder (CVAE) to harmonize the melody based on the given chord surprise indication. Through explicit conditions, the model can randomly generate various and harmonic chord progressions for a melody, and the Spearman's correlation and p-value significance show that the resulting chord progressions match the given surprise contour quite well. The vanilla CVAE model was evaluated in a basic melody harmonization task (no surprise control) in terms of six objective metrics. The results of experiments on the Hooktheory Lead Sheet Dataset show that our model achieves performance comparable to the state-of-the-art melody harmonization model.

View on arXivView PDF

Code Implementations(1)

MIT

SurpriseNet: Melody Harmonization Conditioning on User-controlled Surprise Contours

281Python, JavaScriptMay 16, 20213 months agoMIT

Similar Papers

Cite this paper

@article{chen2021surprisenet,
  title  = {SurpriseNet: Melody Harmonization Conditioning on User-controlled Surprise Contours},
  author = {Yi-Wei Chen and Hung-Shin Lee and Yen-Hsing Chen and Hsin-Min Wang},
  year   = {2021},
  eprint = {2108.00378},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.00378}
}

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

Discussion