Download Model Bending: Teaching Circuit Models New Tricks A technique is introduced for generating novel signal processing systems grounded in analog electronic circuits, called model bending. By applying the ideas behind circuit bending to models of nonlinear analog circuits it is possible to create novel nonlinear signal processors which mimic the behavior of analog electronics, but which are not possible to implement in the analog realm. The history of both circuit bending and circuit modeling is discussed, as well as a theoretical basis for how these approaches can complement each other. Potential pitfalls to the practical application of model bending are highlighted and suggested solutions to those problems are provided, with examples.
Download Antiderivative Antialiasing with Frequency Compensation for Stateful Systems Employing nonlinear functions in audio DSP algorithms requires attention as they generally introduce aliasing. Among others, antiderivative antialiasing proved to be an effective method for static nonlinearities and gave rise to a number of variants, including our AA-IIR method. In this paper we introduce an improvement to AA-IIR that makes it suitable for use in stateful systems. Indeed, employing standard antiderivative antialiasing techniques in such systems alters their frequency response and may cause stability issues. Our method consists in cascading a digital filter after the AA-IIR block in order to fully compensate for unwanted delay and frequency-dependent effects. We study the conditions for such a digital filter to be stable itself and evaluate the method by applying it to the diode clipper circuit.
Download Reducing the Aliasing of Nonlinear Waveshaping Using Continuous-Time Convolution Nonlinear waveshaping is a common technique in musical signal processing, both in a static memoryless context and within feedback systems. Such waveshaping is usually applied directly to a sampled signal, generating harmonics that exceed the Nyquist frequency and cause aliasing distortion. This problem is traditionally tackled by oversampling the system. In this paper, we present a novel method for reducing this aliasing by constructing a continuous-time approximation of the discrete-time signal, applying the nonlinearity to it, and filtering in continuous-time using analytically applied convolution. The presented technique markedly reduces aliasing distortion, especially in combination with low order oversampling. The approach is also extended to allow it to be used within a feedback system.
Download Anti-Aliasing of Neural Distortion Effects via Model Fine Tuning Neural networks have become ubiquitous with guitar distortion
effects modelling in recent years. Despite their ability to yield
perceptually convincing models, they are susceptible to frequency
aliasing when driven by high frequency and high gain inputs.
Nonlinear activation functions create both the desired harmonic
distortion and unwanted aliasing distortion as the bandwidth of
the signal is expanded beyond the Nyquist frequency. Here, we
present a method for reducing aliasing in neural models via a
teacher-student fine tuning approach, where the teacher is a pretrained model with its weights frozen, and the student is a copy of
this with learnable parameters. The student is fine-tuned against
an aliasing-free dataset generated by passing sinusoids through
the original model and removing non-harmonic components from
the output spectra.
Our results show that this method significantly suppresses aliasing for both long-short-term-memory networks (LSTM) and temporal convolutional networks (TCN). In the
majority of our case studies, the reduction in aliasing was greater
than that achieved by two times oversampling. One side-effect
of the proposed method is that harmonic distortion components
are also affected.
This adverse effect was found to be modeldependent, with the LSTM models giving the best balance between
anti-aliasing and preserving the perceived similarity to an analog
reference device.
Download Non-Iterative Schemes for the Simulation of Nonlinear Audio Circuits In this work, a number of numerical schemes are presented in the
context of virtual-analog simulation. The schemes are linearlyimplicit in character, and hence directly solvable without iterative
methods. Schemes of increasing order of accuracy are constructed,
and convergence and stability conditions are proven formally. The
schemes are able to handle stiff problems very efficiently, because
of their fast update, and can be run at higher sample rates to reduce
aliasing. The cases of the diode clipper and ring modulator are
investigated in detail, including several numerical examples.
Download Antialiased Black-Box Modeling of Audio Distortion Circuits Using Real Linear Recurrent Units In this paper, we propose the use of real-valued Linear Recurrent
Units (LRUs) for black-box modeling of audio circuits. A network architecture composed of real LRU blocks interleaved with
nonlinear processing stages is proposed.
Two case studies are
presented, a second-order diode clipper and an overdrive distortion pedal. Furthermore, we show how to integrate the antiderivative antialiaisng technique into the proposed method, effectively
lowering oversampling requirements. Our experiments show that
the proposed method generates models that accurately capture the
nonlinear dynamics of the examined devices and are highly efficient, which makes them suitable for real-time operation inside
Digital Audio Workstations.
Download Identification of Nonlinear Circuits as Port-Hamiltonian Systems This paper addresses identification of nonlinear circuits for
power-balanced virtual analog modeling and simulation. The proposed method combines a port-Hamiltonian system formulation
with kernel-based methods to retrieve model laws from measurements. This combination allows for the estimated model to retain
physical properties that are crucial for the accuracy of simulations,
while representing a variety of nonlinear behaviors. As an illustration, the method is used to identify a nonlinear passive peaking
EQ.
Download Applications of Port Hamiltonian Methods to Non-Iterative Stable Simulations of the Korg35 and Moog 4-Pole Vcf This paper presents an application of the port Hamiltonian formalism to the nonlinear simulation of the OTA-based Korg35 filter circuit and the Moog 4-pole ladder filter circuit. Lyapunov analysis is
used with their state-space representations to guarantee zero-input
stability over the range of parameters consistent with the actual
circuits. A zero-input stable non-iterative discrete-time scheme
based on a discrete gradient and a change of state variables is
shown along with numerical simulations. Simulations show behavior consistent with the actual operation of the circuits, e.g.,
self-oscillation, and are found to be stable and have lower computational cost compared to iterative methods.
Download Higher-Order Anti-Derivatives of Band Limited Step Functions for the Design of Radial Filters in Spherical Harmonics Expansions This paper presents a discrete-time model of the spherical harmonics expansion describing a sound field. The so-called radial functions are realized as digital filters, which characterize the spatial
impulse responses of the individual harmonic orders. The filter
coefficients are derived from the analytical expressions of the timedomain radial functions, which have a finite extent in time. Due
to the varying degrees of discontinuities occurring at their edges, a
time-domain sampling of the radial functions gives rise to aliasing.
In order to reduce the aliasing distortion, the discontinuities are replaced with the higher-order anti-derivatives of a band-limited step
function. The improved spectral accuracy is demonstrated by numerical evaluation. The proposed discrete-time sound field model
is applicable in broadband applications such as spatial sound reproduction and active noise control.
Download Real-Time Virtual Analog Modelling of Diode-Based VCAs Some early analog voltage-controlled amplifiers (VCAs) utilized
semiconductor diodes as a variable-gain element. Diode-based
VCAs exhibit a unique sound quality, with distortion dependent
both on signal level and gain control. In this work, we examine the
behavior of a simplified circuit for a diode-based VCA and propose
a nonlinear, explicit, stateless digital model. This approach avoids
traditional iterative algorithms, which can be computationally intensive. The resulting digital model retains the sonic characteristics
of the analog model and is suitable for real-time simulation. We
present an analysis of the gain characteristics and harmonic distortion produced by this model, as well as practical guidance for
implementation. We apply this approach to a set of alternative
analog topologies and introduce a family of digital VCA models
based on fixed nonlinearities with variable operating points.