Modulation Extraction for LFO-driven Audio Effects

Christopher Mitcheltree, Christian J. Steinmetz, Marco Comunità, Joshua D. ReissarXiv 2023 · DOI

Introduction

Audio effects such as phasers, flangers, and chorus are characterized by their time-varying nature. They utilize an internal Low-Frequency Oscillator (LFO) to modulate parameters like filter cutoff or delay time. Modeling these effects using "black-box" neural networks is challenging because the model must simultaneously learn the sonic transformation and track the LFO's phase. Traditional methods often require internal access to the LFO signal or detailed circuit analysis, which is impractical for vintage analog hardware.

Proposed Methodology

The researchers propose a two-stage framework to decouple modulation extraction from effect modeling.

Overview of the proposed two-stage neural framework for LFO extraction and audio effect modeling.

1. LFO-net (Extraction)

The first stage employs a Convolutional Neural Network (CNN) called LFO-net. It takes a 2-channel Mel spectrogram—comprising both the dry (input) and wet (processed) audio—and extracts a single-channel signal representing the LFO. Unlike previous approaches that assumed specific LFO shapes (e.g., sine waves), LFO-net is shape-agnostic. It utilizes a temporal receptive field of 2 seconds to capture full modulation cycles.

2. Effect Modeling

The extracted LFO signal is then fed into a Long Short-Term Memory (LSTM) network alongside the dry audio. By conditioning the LSTM on the LFO state, the network can focus solely on learning the non-linear sonic transformation, leading to more stable and accurate training.

Experimental Setup

The framework was trained using the IDMT-SMT-Guitar dataset processed with various digital effects. To evaluate generalization, the authors tested the model on unseen audio types (drums, vocals, bass) and real-world analog pedals, including the MXR Phase 45 and Boss CE-3.

Results and Discussion

The system demonstrated high accuracy in extracting standard LFO shapes, with an average $L_1$ error of approximately 3%.

Comparison of ground truth (black) and estimated (orange) LFO signals across different waveforms, highlighting the "sawtooth problem."

A key finding was the model's ability to handle "irregular" LFOs found in analog gear, which may drift or exhibit non-linear distortion. However, the model encountered difficulties with asymmetrical sawtooth waves. The instantaneous "jump" in a sawtooth waveform is often blurred in spectrogram representations, making precise reconstruction difficult.

Despite these challenges, the framework successfully modeled analog pedals like the MXR Phase 45 with high fidelity. Furthermore, latent space analysis revealed that the CNN naturally clusters audio by LFO shape and effect type, suggesting it learns fundamental relationships between dry and wet signals.

Conclusion

This two-stage approach provides a robust method for black-box modeling of time-varying audio effects. By extracting the LFO signal first, the complexity of the modeling task is significantly reduced. Future work will explore multi-LFO extraction to handle complex effects like multi-voice chorus.

Summary updated

BibTeX
@misc{mitcheltree2023modulation,
  author = {Christopher Mitcheltree and Christian J. Steinmetz and Marco Comunità and Joshua D. Reiss},
  title = {{Modulation Extraction for LFO-driven Audio Effects}},
  year = {2023},
  eprint = {2305.13262},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.13262},
}
Figure