JukeDrummer: Conditional Beat-aware Audio-domain Drum Accompaniment Generation via Transformer VQ-VAE

Yueh-Kao Wu, Ching-Yu Chiu, Yi-Hsuan Yang
10/12/2022
cs.SDcs.AIcs.LG
transformer-attention

Official code: legoodmanner/jukedrummer (39 stars, Python, last commit 2023-03-10).

Abstract

This paper proposes a model that generates a drum track in the audio domain to play along to a user-provided drum-free recording. Specifically, using paired data of drumless tracks and the corresponding human-made drum tracks, we train a Transformer model to improvise the drum part of an unseen drumless recording.

Show full abstract

We combine two approaches to encode the input audio. First, we train a vector-quantized variational autoencoder (VQ-VAE) to represent the input audio with discrete codes, which can then be readily used in a Transformer. Second, using an audio-domain beat tracking model, we compute beat-related features of the input audio and use them as embeddings in the Transformer. Instead of generating the drum track directly as waveforms, we use a separate VQ-VAE to encode the mel-spectrogram of a drum track into another set of discrete codes, and train the Transformer to predict the sequence of drum-related discrete codes. The output codes are then converted to a mel-spectrogram with a decoder, and then to the waveform with a vocoder. We report both objective and subjective evaluations of variants of the proposed model, demonstrating that the model with beat information generates drum accompaniment that is rhythmically and stylistically consistent with the input audio.

View on arXivView PDF

Code Implementations(1)

395Python, ShellAug 24, 20223 years ago

Similar Papers

Cite this paper

@article{wu2022jukedrummer,
  title  = {JukeDrummer: Conditional Beat-aware Audio-domain Drum Accompaniment Generation via Transformer VQ-VAE},
  author = {Yueh-Kao Wu and Ching-Yu Chiu and Yi-Hsuan Yang},
  year   = {2022},
  eprint = {2210.06007},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.06007}
}

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

Discussion