Gradient-based Optimisation of Modulation Effects
Alistair Carson, Alec Wright, Stefan Bilbao
TL;DR
The paper addresses the challenge of faithfully emulating analog modulation units (phaser, flanger, chorus) with differentiable DSP while enabling zero-latency, time-domain deployment. It proposes a frame-based, time–frequency training framework that learns a frame-dependent frequency response $h_m$, driven by a learnable LFO via a LUT+MLP, and then runs a time-domain model at inference. Key contributions include a gradient-based analysis of delay learning and all-pass pole estimation, a DDSP-based architecture that achieves zero-latency inference, and perceptual evaluations showing close similarity to analog references across several pedals (e.g., BF-2, SV-1, Small Stone), with identified limitations for long delays with feedback. This work demonstrates practical, real-time virtual-analog modulation modelling with robust perceptual fidelity and highlights areas for future improvement in long-delay/feedback regimes. It advances real-time audio processing by integrating differentiable priors with time-domain execution for modulation effects.
Abstract
Modulation effects such as phasers, flangers and chorus effects are heavily used in conjunction with the electric guitar. Machine learning based emulation of analog modulation units has been investigated in recent years, but most methods have either been limited to one class of effect or suffer from a high computational cost or latency compared to canonical digital implementations. Here, we build on previous work and present a framework for modelling flanger, chorus and phaser effects based on differentiable digital signal processing. The model is trained in the time-frequency domain, but at inference operates in the time-domain, requiring zero latency. We investigate the challenges associated with gradient-based optimisation of such effects, and show that low-frequency weighting of loss functions avoids convergence to local minima when learning delay times. We show that when trained against analog effects units, sound output from the model is in some cases perceptually indistinguishable from the reference, but challenges still remain for effects with long delay times and feedback.
