Demo of Zero-Shot Guitar Amplifier Modelling: Enhancing Modeling with Hyper Neural Networks

Yu-Hua Chen, Yuan-Chiao Cheng, Yen-Tung Yeh, Jui-Te Wu, Yu-Hsiang Ho, Jyh-Shing Roger Jang, Yi-Hsuan YangarXiv 2024

Abstract

Electric guitar tone modeling typically focuses on the non-linear transformation from clean to amplifier-rendered audio. Traditional methods rely on one-to-one mappings, incorporating device parameters into neural models to replicate specific amplifiers. However, these methods are limited by the need for specific training data. In this paper, we adapt a model based on the previous work, which leverages a tone embedding encoder and a feature-wise linear modulation (FiLM) condition method. In this work, we altered the conditioning method using a hypernetwork-based gated convolutional network (GCN) to generate audio that blends clean input with the tone characteristics of reference audio. By extending the training data to cover a wider variety of amplifier tones, our model is able to capture a broader range of tones. Additionally, we developed a real-time plugin to demonstrate the system's practical application, allowing users to experience its performance interactively. Our results indicate that the proposed system achieves superior tone modeling versatility compared to traditional methods.

1. Introduction

Traditional digital guitar amplifier modeling usually relies on "one-to-one" mappings. To replicate a specific hardware device, such as a vintage tube amplifier, researchers typically train a specific neural network on hours of data from that exact unit. This approach is inherently rigid; it requires physical access to the hardware for data collection and fails to generalize to new or unseen sounds without retraining.

This work proposes a shift toward zero-shot modeling. The objective is to provide the system with a "reference" audio clip (the target tone) and a "clean" guitar signal, and have the system instantly render the clean audio with the characteristics of the reference. This approach mirrors "voice conversion" in speech synthesis but addresses the complex, non-linear distortion and frequency response inherent in guitar amplification.

2. Methodology

The system architecture, illustrated in Figure 1, consists of three primary components designed to facilitate real-time tone cloning:

  1. Tone Embedding Encoder: This module processes a reference audio signal—which can be a standalone guitar track or extracted from a mixed song using source separation—and compresses its sonic character into a latent vector known as a tone embedding ($\phi$).
  2. Hypernetwork: Unlike standard conditioning techniques like FiLM that modulate intermediate features, this system employs a Hypernetwork. This secondary network takes the tone embedding and calculates weight and bias "deltas" ($\Delta_W, \Delta_B$) for the main processor. Essentially, the hypernetwork dynamically "rewrites" the main model's parameters to match the target amplifier's profile.
  3. Gated Convolutional Network (GCN): This serves as the backbone "generator" that processes the clean guitar signal. Its internal weights are modified by the hypernetwork to replicate the specific non-linear transformations of the target amplifier.
System architecture of the zero-shot guitar amplifier modeling framework, showing the interaction between the Tone Embedding Encoder, Hypernetwork, and GCN Generator.

By utilizing hypernetworks, the model achieves higher computational efficiency and superior performance in modeling analog devices compared to traditional feature-modulation methods.

3. Dataset and Training

A critical component of this research is the scale and diversity of the training data, facilitated through a collaboration with Positive Grid. The dataset includes:

  • Scale: 5,300 hours of high-fidelity 44.1 kHz audio.
  • Diversity: 80,000 distinct tones, encompassing a vast array of amplifier heads and speaker cabinet combinations available in the BIAS FX2 plugin.

This massive dataset allows the model to learn a broad manifold of guitar tones, enabling it to accurately interpolate between known styles to mimic unseen reference audio with high fidelity.

4. Results and Real-Time Implementation

The proposed system demonstrates superior tone modeling versatility compared to traditional one-to-one neural models. A key innovation is the ability to use arbitrary audio—such as a guitar solo from a YouTube video—as a reference. By isolating the guitar via source separation, a user can use a short clip as the "DNA" to transform their live guitar tone.

To prove practical feasibility, the researchers developed a functional real-time plugin using the JUCE framework. Compatible with the Neural Amp Modeler interface, the plugin runs on standard CPUs without requiring high-end GPUs, making it accessible for live performance and studio environments.

5. Conclusion and Future Work

While the current model successfully captures the "amp and cab" portion of the signal chain, it does not yet account for time-based effects like delay or reverb. Future work will focus on expanding the model's scope to include these effects and further optimizing the architecture for lower-powered mobile devices or embedded hardware in digital pedals. Additionally, more rigorous quantitative benchmarking against other zero-shot generative models is planned for future publications.

Summary updated

BibTeX
@misc{chen2024demo,
  author = {Yu-Hua Chen and Yuan-Chiao Cheng and Yen-Tung Yeh and Jui-Te Wu and Yu-Hsiang Ho and Jyh-Shing Roger Jang and Yi-Hsuan Yang},
  title = {{Demo of Zero-Shot Guitar Amplifier Modelling: Enhancing Modeling with Hyper Neural Networks}},
  year = {2024},
  eprint = {2410.04702},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.04702},
}
Figure