GTR-CTRL: Instrument and Genre Conditioning for Guitar-Focused Music Generation with Transformers

Pedro Sarmento, Adarsh Kumar, Yu-Hua Chen, CJ Carr, Zack Zukowski +1 more
2/10/2023
cs.SDcs.AIcs.MM

No confident code implementation found for this paper.

Abstract

Recently, symbolic music generation with deep learning techniques has witnessed steady improvements. Most works on this topic focus on MIDI representations, but less attention has been paid to symbolic music generation using guitar tablatures (tabs) which can be used to encode multiple instruments. Tabs include information on expressive techniques and fingerings for fretted string instruments in addition to rhythm and pitch. In this work, we use the DadaGP dataset for guitar tab music generation, a corpus of over 26k songs in GuitarPro and token formats. We introduce methods to condition a Transformer-XL deep learning model to generate guitar tabs (GTR-CTRL) based on desired instrumentation (inst-CTRL) and genre (genre-CTRL). Special control tokens are appended at the beginning of each song in the training corpus. We assess the performance of the model with and without conditioning. We propose instrument presence metrics to assess the inst-CTRL model's response to a given instrumentation prompt. We trained a BERT model for downstream genre classification and used it to assess the results obtained with the genre-CTRL model. Statistical analyses evidence significant differences between the conditioned and unconditioned models. Overall, results indicate that the GTR-CTRL methods provide more flexibility and control for guitar-focused symbolic music generation than an unconditioned model.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sarmento2023gtrctrl,
  title  = {GTR-CTRL: Instrument and Genre Conditioning for Guitar-Focused Music Generation with Transformers},
  author = {Pedro Sarmento and Adarsh Kumar and Yu-Hua Chen and CJ Carr and Zack Zukowski and Mathieu Barthet},
  year   = {2023},
  eprint = {2302.05393},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.05393v1}
}

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

Discussion