ShredGP: Guitarist Style-Conditioned Tablature Generation

Pedro Sarmento, Adarsh Kumar, Dekun Xie, Cj Carr, Zack Zukowski, Mathieu BarthetarXiv 2023 · DOI

Introduction

Symbolic music generation has traditionally relied on MIDI data, which effectively captures pitch and duration but lacks the expressive nuances inherent to instruments like the guitar. A single note on a guitar can be articulated through various strings, frets, and techniques such as bends, slides, or vibrato. These details constitute a guitarist's unique "voice." ShredGP addresses this limitation by leveraging a Transformer-based architecture to generate guitar tablature that captures the specific playing styles of iconic guitarists, moving beyond the "what" of a performance to the "how."

Methodology

The ShredGP framework utilizes a Transformer-XL architecture, chosen for its ability to model long-range dependencies in musical sequences. Central to the approach is the DadaGP Encoding, a tokenization scheme that represents GuitarPro files as text-like sequences including string, fret, and note effect (nfx) tokens. Style conditioning is achieved through the use of artist-specific control tokens (e.g., artist:jimi_hendrix) at the sequence start. The researchers developed two variants: ShredGP-M, trained on multi-instrument data, and ShredGP-S, a specialized model for solo guitar.

Data and Stylistic Analysis

The models were trained on the DadaGP dataset and a newly curated SoloGP subset containing 3,308 guitar solos. For style conditioning, the authors focused on four legendary players: David Gilmour (DG), Jimi Hendrix (JH), Steve Vai (SV), and Yngwie Malmsteen (YM). Statistical analysis confirmed that these artists possess distinct "quantitative fingerprints." For instance, Yngwie Malmsteen's style is characterized by high-tempo 16th-note triplets, whereas David Gilmour's style relies on slower tempos and expressive bends.

Distribution of note durations across the four target guitarists, highlighting distinct rhythmic fingerprints.

Key Insights

The research revealed varying levels of stylistic predictability. Yngwie Malmsteen’s highly consistent "shredding" patterns were the easiest for the model to replicate. In contrast, Steve Vai’s experimental and diverse technical vocabulary proved more challenging. Pitch class entropy metrics further demonstrated that players like Vai and Malmsteen utilize a more diverse range of notes, while Hendrix frequently adheres to specific shapes like the minor pentatonic scale.

Comparison of guitar playing techniques used by each artist, showing the technical diversity captured by ShredGP.

Results and Evaluation

To evaluate stylistic fidelity, a custom BERT-based classifier, SoloGPBERT, was trained to identify the guitarist "fingerprint" in generated snippets. It achieved 89.09% accuracy in identifying the four guitarists in real-world data. When applied to generated content, the classifier successfully identified the intended style in nearly all cases. Furthermore, Kullback-Leibler (KL) divergence analysis showed that ShredGP’s generated note durations and technical flourishes closely matched the statistical distributions of the source artists.

Conclusion

ShredGP demonstrates the potential for AI to capture the stylistic idiosyncrasies of individual musicians. While the reliance on automated classifiers like BERT is a limitation compared to expert human listening, the model's ability to match technical distributions is a significant step forward. Future work will focus on expanding the artist roster and conducting formal listening tests to validate the musicality of the generated solos.

Summary updated

BibTeX
@misc{sarmento2023shredgp,
  author = {Pedro Sarmento and Adarsh Kumar and Dekun Xie and CJ Carr and Zack Zukowski and Mathieu Barthet},
  title = {{ShredGP: Guitarist Style-Conditioned Tablature Generation}},
  year = {2023},
  eprint = {2307.05324},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.05324},
}
Figure