Download Simplified, Physically-Informed Models of Distortion and Overdrive Guitar Effects Pedals
This paper explores a computationally efficient, physically informed approach to design algorithms for emulating guitar distortion circuits. Two iconic effects pedals are studied: the “Distortion” pedal and the “Tube Screamer” or “Overdrive” pedal. The primary distortion mechanism in both pedals is a diode clipper with an embedded low-pass filter, and is shown to follow a nonlinear ordinary differential equation whose solution is computationally expensive for real-time use. In the proposed method, a simplified model, comprising the cascade of a conditioning filter, memoryless nonlinearity and equalization filter, is chosen for its computationally efficient, numerically robust properties. Often, the design of distortion algorithms involves tuning the parameters of this filter-distortion-filter model by ear to match the sound of a prototype circuit. Here, the filter transfer functions and memoryless nonlinearities are derived by analysis of the prototype circuit. Comparisons of the resulting algorithms to actual pedals show good agreement and demonstrate that the efficient algorithms presented reproduce the general character of the modeled pedals.
Download Simulation of the Diode Limiter in Guitar Distortion Circuits by Numerical Solution of Ordinary Differential Equations
The diode clipper circuit with an embedded low-pass filter lies at the heart of both diode clipping “Distortion” and “Overdrive” or “Tube Screamer” effects pedals. An accurate simulation of this circuit requires the solution of a nonlinear ordinary differential equation (ODE). Numerical methods with stiff stability – Backward Euler, Trapezoidal Rule, and second-order Backward Difference Formula – allow the use of relatively low sampling rates at the cost of accuracy and aliasing. However, these methods require iteration at each time step to solve a nonlinear equation, and the tradeoff for this complexity must be evaluated against simple explicit methods such as Forward Euler and fourth order Runge-Kutta, which require very high sampling rates for stability. This paper surveys and compares the basic ODE solvers as they apply to simulating circuits for audio processing. These methods are compared to a static nonlinearity with a pre-filter. It is found that implicit or semiimplicit solvers are preferred and that the filter/static nonlinearity approximation is often perceptually adequate.