English

Audio Conditioning for Music Generation via Discrete Bottleneck Features

Sound 2024-07-31 v2 Audio and Speech Processing

Abstract

While most music generation models use textual or parametric conditioning (e.g. tempo, harmony, musical genre), we propose to condition a language model based music generation system with audio input. Our exploration involves two distinct strategies. The first strategy, termed textual inversion, leverages a pre-trained text-to-music model to map audio input to corresponding "pseudowords" in the textual embedding space. For the second model we train a music language model from scratch jointly with a text conditioner and a quantized audio feature extractor. At inference time, we can mix textual and audio conditioning and balance them thanks to a novel double classifier free guidance method. We conduct automatic and human studies that validates our approach. We will release the code and we provide music samples on https://musicgenstyle.github.io in order to show the quality of our model.

Keywords

Cite

@article{arxiv.2407.12563,
  title  = {Audio Conditioning for Music Generation via Discrete Bottleneck Features},
  author = {Simon Rouard and Yossi Adi and Jade Copet and Axel Roebel and Alexandre Défossez},
  journal= {arXiv preprint arXiv:2407.12563},
  year   = {2024}
}

Comments

6 pages, 2 figures, accepted at ISMIR 2024

R2 v1 2026-06-28T17:44:27.208Z