VampNet: Music Generation via Masked Acoustic Token Modeling

Hugo Flores Garcia, Prem Seetharaman, Rithesh Kumar, Bryan Pardo
7/10/2023
cs.SDcs.AIeess.AS

No official code found. Best implementation: hugofloresgarcia/vampnet (356 stars, MIT, last commit 2025-05-16). 1 more below.

Abstract

We introduce VampNet, a masked acoustic token modeling approach to music synthesis, compression, inpainting, and variation. We use a variable masking schedule during training which allows us to sample coherent music from the model by applying a variety of masking approaches (called prompts) during inference. VampNet is non-autoregressive, leveraging a bidirectional transformer architecture that attends to all tokens in a forward pass. With just 36 sampling passes, VampNet can generate coherent high-fidelity musical waveforms. We show that by prompting VampNet in various ways, we can apply it to tasks like music compression, inpainting, outpainting, continuation, and looping with variation (vamping). Appropriately prompted, VampNet is capable of maintaining style, genre, instrumentation, and other high-level aspects of the music. This flexible prompting capability makes VampNet a powerful music co-creation tool. Code and audio samples are available online.

View on arXivView PDF

Code Implementations(2)

MIT

music generation with masked transformers!

35644Max, ShellApr 21, 20231 years agoMIT
deep-learningmusicmusic-generationtransformers
MIT

Nendo Plugin for VampNet: Music Generation via Masked Acoustic Token Modeling.

41PythonNov 7, 20232 years agoMIT

Similar Papers

Cite this paper

@article{garcia2023vampnet,
  title  = {VampNet: Music Generation via Masked Acoustic Token Modeling},
  author = {Hugo Flores Garcia and Prem Seetharaman and Rithesh Kumar and Bryan Pardo},
  year   = {2023},
  eprint = {2307.04686},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.04686v2}
}

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

Discussion