Reverse Engineering Memoryless Distortion Effects
with Differentiable Waveshapers

Joseph T Colonel, Marco Comunità, Joshua Reiss

Abstract


We present a lightweight method of reverse engineering distortion effects using Wiener-Hammerstein models implemented in a differentiable framework. The Wiener-Hammerstein models are formulated using graphic equalizer pre-emphasis and de-emphasis filters and a parameterized waveshaping function. Several parameterized waveshaping functions are proposed and evaluated. The performance of each method is measured both objectively and subjectively on a dataset of guitar distortion emulation software plugins and guitar audio samples. time-invariant effects such as gain, pan, equalisation, delay, and reverb. Nonlinear effects, such as distortion and compression, are not considered in this work. The optimization procedure used is the stochastic gradient descent with the aid of differentiable digital signal processing modules. This method allows for a fully interpretable representation of the mixing signal chain by explicitly modelling the audio effects rather than using differentiable blackbox modules. Two reverb module architectures are proposed, a “stereo reverb” model and an “individual reverb” model, and each is discussed. Objective feature measures are taken of the outputs of the two architectures when tasked with estimating a target mix and compared against a stereo gain mix baseline. A listening study is performed to measure how closely the two architectures can perceptually match a reference mix when compared to a stereo gain mix. Results show that the stereo reverb model performs best on objective measures and there is no statistically significant difference between the participants' perception of the stereo reverb model and reference mixes.


Differentiable Waveshapers Samples

Waveshaper Mesa/Boogie
Grid Slammer
Vox
Tone Bender
ProCo
Rat
Dry
Reference
Tanh
Fourier
Series
Legendre
Polynomials
Sumtanh
Family
Powtanh
Family

All listening samples are 44.1kHz wav files.

Citation


                
    @inproceedings{colonel2022reverse,
    title={Reverse engineering memoryless distortion effects with differentiable waveshaper},
    author={Colonel, Joseph T. and Comunit\`a, Marco and Reiss, Joshua},
    booktitle={Audio Engineering Society Convention 153},
    year={2022},
    organization={Audio Engineering Society}
    }