Download Virtual Analog Modeling of Distortion Circuits Using Neural Ordinary Differential Equations
Recent research in deep learning has shown that neural networks can learn differential equations governing dynamical systems. In this paper, we adapt this concept to Virtual Analog (VA) modeling to learn the ordinary differential equations (ODEs) governing the first-order and the second-order diode clipper. The proposed models achieve performance comparable to state-of-the-art recurrent neural networks (RNNs) albeit using fewer parameters. We show that this approach does not require oversampling and allows to increase the sampling rate after the training has completed, which results in increased accuracy. Using a sophisticated numerical solver allows to increase the accuracy at the cost of slower processing. ODEs learned this way do not require closed forms but are still physically interpretable.
Download Exposure Bias and State Matching in Recurrent Neural Network Virtual Analog Models
Virtual analog (VA) modeling using neural networks (NNs) has great potential for rapidly producing high-fidelity models. Recurrent neural networks (RNNs) are especially appealing for VA due to their connection with discrete nodal analysis. Furthermore, VA models based on NNs can be trained efficiently by directly exposing them to the circuit states in a gray-box fashion. However, exposure to ground truth information during training can leave the models susceptible to error accumulation in a free-running mode, also known as “exposure bias” in machine learning literature. This paper presents a unified framework for treating the previously proposed state trajectory network (STN) and gated recurrent unit (GRU) networks as special cases of discrete nodal analysis. We propose a novel circuit state-matching mechanism for the GRU and experimentally compare the previously mentioned networks for their performance in state matching, during training, and in exposure bias, during inference. Experimental results from modeling a diode clipper show that all the tested models exhibit some exposure bias, which can be mitigated by truncated backpropagation through time. Furthermore, the proposed state matching mechanism improves the GRU modeling performance of an overdrive pedal and a phaser pedal, especially in the presence of external modulation, apparent in a phaser circuit.
Download Barberpole Phasing and Flanging Illusions
Various ways to implement infinitely rising or falling spectral notches, also known as the barberpole phaser and flanging illusions, are described and studied. The first method is inspired by the Shepard-Risset illusion, and is based on a series of several cascaded notch filters moving in frequency one octave apart from each other. The second method, called a synchronized dual flanger, realizes the desired effect in an innovative and economic way using two cascaded time-varying comb filters and cross-fading between them. The third method is based on the use of single-sideband modulation, also known as frequency shifting. The proposed techniques effectively reproduce the illusion of endlessly moving spectral notches, particularly at slow modulation speeds and for input signals with a rich frequency spectrum. These effects can be programmed in real time and implemented as part of a digital audio processing system.
Download Grey-Box Modelling of Dynamic Range Compression
This paper explores the digital emulation of analog dynamic range compressors, proposing a grey-box model that uses a combination of traditional signal processing techniques and machine learning. The main idea is to use the structure of a traditional digital compressor in a machine learning framework, so it can be trained end-to-end to create a virtual analog model of a compressor from data. The complexity of the model can be adjusted, allowing a trade-off between the model accuracy and computational cost. The proposed model has interpretable components, so its behaviour can be controlled more readily after training in comparison to a black-box model. The result is a model that achieves similar accuracy to a black-box baseline, whilst requiring less than 10% of the number of operations per sample at runtime.
Download Examining the Oscillator Waveform Animation Effect
An enhancing effect that can be applied to analogue oscillators in subtractive synthesizers is termed Animation, which is an efficient way to create a sound of many closely detuned oscillators playing in unison. This is often referred to as a supersaw oscillator. This paper first explains the operating principle of this effect using a combination of additive and frequency modulation synthesis. The Fourier series will be derived and results will be presented to demonstrate its accuracy. This will then provide new insights into how other more general waveform animation processors can be designed.
Download Dispersion Modeling in Waveguide Piano Synthesis Using Tunable Allpass Filters
This paper extends a previously proposed method for designing filters simulating the dispersion phenomenon occurring in string instruments. In digital waveguide synthesis, the phenomenon is traditionally modeled by inserting an allpass filter to the string model feedback loop. In this paper, the concept of tunable dispersion filter design, which provides a closed-form formula to design a dispersion filter, is applied to a cascade of first-order allpass filters. Moreover, the method is extended to design a filter cascade including an arbitrary number of first-order filters. In addition, it is shown how the designed dispersion filter can be used in a waveguide piano synthesis model.
Download Efficient Modeling and Synthesis of Bell-like Sounds
This paper describes two different techniques that can be used to model and synthesize bell-like sounds. The first one is a sourcefilter model based on frequency-zooming ARMA (pole-zero) modeling techniques. The frequency-zooming approach is powerful also in modal analysis of bell sound behavior. The second technique is based on a digital waveguide with a single loop filter that is designed to generate inharmonic partials by including one or more second-order allpass sections in the loop filter, possibly augmented with one or a few parallel resonators. A small handbell with inharmonic partials was recorded and used as a target of modeling and synthesis. Sound examples are found in http://www.acoustics.hut.fi/demos/dafx02/.
Download Sound synthesis using an allpass filter chain with audio‐rate coefficient modulation
This paper describes a sound synthesis technique that modulates the coefficients of allpass filter chains using audio-rate frequencies. It was found that modulating a single allpass filter section produces a feedback AM–like spectrum, and that its bandwidth is extended and further processed by non-sinusoidal FM when the sections are cascaded. The cascade length parameter provides dynamic bandwidth control to prevent upper range aliasing artifacts, and the amount of spectral content within that band can be controlled using a modulation index parameter. The technique is capable of synthesizing rich and evolving timbres, including those resembling classic virtual analog waveforms. It can also be used as an audio effect with pitch-tracked input sources. Software and sound examples are available at http://www.acoustics.hut.fi/publications/papers/dafx09-cm/
Download The Helmholtz Resonator Tree
The Helmholtz resonator is a prototype of a single acoustic resonance, which can be modeled with a digital resonator. This paper extends this concept by coupling several Helmholtz resonators. The resulting structure is called a Helmholtz resonator tree. The height of the tree is defined by the number of resonator layers that are interconnected. The overall number of resonance frequencies of a Helmholtz resonator tree is the same as its height. A Helmholtz resonator tree can be modeled using wave digital filters (WDF), when electro-acoustic analogies are applied. A WDF tool for implementing Helmholtz resonator trees has been developed in C++. A VST plugin and an Android mobile application were created, which can run short Helmholtz resonator trees in real time. Helmholtz resonator trees can be used for the real-time synthesis of percussive sounds and for realizing novel filtering which can be tuned using intuitive physical parameters.
Download Virtual Analog Buchla 259 Wavefolder
An antialiased digital model of the wavefolding circuit inside the Buchla 259 Complex Waveform Generator is presented. Wavefolding is a type of nonlinear waveshaping used to generate complex harmonically-rich sounds from simple periodic waveforms. Unlike other analog wavefolder designs, Buchla’s design features five op-amp-based folding stages arranged in parallel alongside a direct signal path. The nonlinear behavior of the system is accurately modeled in the digital domain using memoryless mappings of the input–output voltage relationships inside the circuit. We pay special attention to suppressing the aliasing introduced by the nonlinear frequency-expanding behavior of the wavefolder. For this, we propose using the bandlimited ramp (BLAMP) method with eight times oversampling. Results obtained are validated against SPICE simulations and a highly oversampled digital model. The proposed virtual analog wavefolder retains the salient features of the original circuit and is applicable to digital sound synthesis.