TeleMelody: Lyric-to-Melody Generation with a Template-Based Two-Stage Method

Zeqian Ju, Peiling Lu, Xu Tan, Rui Wang, Chen Zhang +5 more
9/20/2021
cs.SDcs.AIcs.CL

Official code: microsoft/muzic (4,958 stars, Python, MIT, last commit 2024-10-12).

Abstract

Lyric-to-melody generation is an important task in automatic songwriting. Previous lyric-to-melody generation systems usually adopt end-to-end models that directly generate melodies from lyrics, which suffer from several issues: 1) lack of paired lyric-melody training data; 2) lack of control on generated melodies.

Show full abstract

In this paper, we develop TeleMelody, a two-stage lyric-to-melody generation system with music template (e.g., tonality, chord progression, rhythm pattern, and cadence) to bridge the gap between lyrics and melodies (i.e., the system consists of a lyric-to-template module and a template-to-melody module). TeleMelody has two advantages. First, it is data efficient. The template-to-melody module is trained in a self-supervised way (i.e., the source template is extracted from the target melody) that does not need any lyric-melody paired data. The lyric-to-template module is made up of some rules and a lyric-to-rhythm model, which is trained with paired lyric-rhythm data that is easier to obtain than paired lyric-melody data. Second, it is controllable. The design of template ensures that the generated melodies can be controlled by adjusting the musical elements in template. Both subjective and objective experimental evaluations demonstrate that TeleMelody generates melodies with higher quality, better controllability, and less requirement on paired lyric-melody data than previous generation systems.

View on arXivView PDF

Code Implementations(1)

microsoft/muzicOfficial100%
MIT

Muzic: Music Understanding and Generation with Artificial Intelligence

4,958504Python, ShellJun 3, 20212 years agoMIT
ai-musicdeep-learningmusicmusic-composition

Similar Papers

Cite this paper

@article{ju2021telemelody,
  title  = {TeleMelody: Lyric-to-Melody Generation with a Template-Based Two-Stage Method},
  author = {Zeqian Ju and Peiling Lu and Xu Tan and Rui Wang and Chen Zhang and Songruoyao Wu and Kejun Zhang and Xiangyang Li and Tao Qin and Tie-Yan Liu},
  year   = {2021},
  eprint = {2109.09617},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.09617}
}

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

Discussion