17
Freely available online PAPERS D. Albertini, A. Bernardini, and A. Sarti, “Antiderivative Antialiasing Techniques in Nonlinear Wave Digital Structures” J. Audio Eng. Soc., vol. 69, no. 7/8, pp. 448–464, (2021 July/August). DOI: https://doi.org/10.17743/jaes.2021.0017 Antiderivative Antialiasing Techniques in Nonlinear Wave Digital Structures DAVIDE ALBERTINI, AES Student Member ([email protected]) , ALBERTO BERNARDINI, ([email protected]) AND AUGUSTO SARTI ([email protected]) Dipartimento di Elettronica, Informazione e Bioingegneria (DEIB), Politecnico di Milano, 20133 Milano, Italy The Wave Digital Filter (WDF) formalism is becoming a popular approach for the digital emulation of audio circuits. Nonlinear WDFs, like other kinds of discrete-time nonlinear filters used in Virtual Analog modeling applications, are often affected by aliasing distortion. Recently formalized Antiderivative Antialiasing (ADAA) methods are capable of significant aliasing reduction even with low oversampling factors. This paper discusses different strategies to integrate pth-order ADAA methods into stateful WDFs with a single one-port or multi- port nonlinearity while preserving the modularity property typical of traditional WDFs. The effectiveness of the proposed approach is verified by applying the discussed ADAA techniques to three nonlinear audio circuits containing diode-based nonlinearities and a BJT transistor. 0 INTRODUCTION In the past two decades, considerable research effort has been made to develop accurate and computationally lightweight Virtual Analog (VA) implementations of non- linear audio circuits [1–8]. Many techniques have been pro- posed in the literature for the digital emulation of analog synthesizers [9–11], distortion pedals [12], and audio am- plifiers [13, 14] that contain nonlinear circuit elements such as diodes [15–20], transistors [21], transformers [22], and tubes [23]. However nonlinear discrete-time systems, such as those encountered in VA modeling, may be subjected to aliasing distortion. This issue may occur whenever a band- limited input signal is processed by a nonlinear function, which adds to the signal spectrum additional frequency components that overcome the Nyquist frequency and are mirrored into the signal base-band as distortion artifacts, causing inharmonicity, beating, and heterodyning [24]. High oversampling factors are commonly used as a trivial solution to reduce aliasing. However increasing the sam- pling frequency may lead to computationally inefficient implementations that could violate real-time execution con- straints. Hence alternative less expensive antialiasing meth- ods are desirable, and many techniques have been proposed in the VA literature, dealing with discrete-time oscillators for subtractive synthesis [24, 25], emulations of clipping stages used in overdrive or distortion circuits [26, 27], and interpolation filters combined with decimation filters for nonlinear waveshaping [28]. Recently a novel antialiasing approach applicable to a large class of nonlinear functions, called Antiderivative Antialiasing (ADAA), has been introduced by Parker et al. in [29]. The method approximates the input signal as a continuous-time piecewise linear function, applies the non- linear function to it, and then convolves the resulting signal with the continuous-time impulse response of a low-pass fil- ter before sampling it back to the digital domain. Ultimately these steps yield a less-aliased nonlinear function approxi- mation expressed as a combination of its antiderivatives. In [29], however, just first and second-order approximations based on antiderivatives are discussed. Subsequently Bilbao et al. in [30] extended the method employing higher-order antiderivatives and reframed the approach as the repeated differentiation of a pth-order antiderivative of the nonlinear function. Nonetheless ADAA presents two major drawbacks: a low-pass filtering effect and the introduction of a frac- tional delay of p/2 samples [31]. The first limitation can be easily overcome through mild oversampling or by de- signing a simple linear filter. The additional introduced de- lay, however, becomes problematic in systems having feed- back paths. For this reason ADAA has been applied almost exclusively to memoryless systems [29, 30, 32]. An exten- sion to stateful systems has been proposed by Holters in 448 J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August

Antiderivative Antialiasing Techniques in Nonlinear Wave

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Antiderivative Antialiasing Techniques in Nonlinear Wave

Freely available online PAPERSD. Albertini, A. Bernardini, and A. Sarti, “Antiderivative Antialiasing Techniquesin Nonlinear Wave Digital Structures”J. Audio Eng. Soc., vol. 69, no. 7/8, pp. 448–464, (2021 July/August).DOI: https://doi.org/10.17743/jaes.2021.0017

Antiderivative Antialiasing Techniques in NonlinearWave Digital Structures

DAVIDE ALBERTINI, AES Student Member([email protected])

, ALBERTO BERNARDINI,([email protected])

AND AUGUSTO SARTI([email protected])

Dipartimento di Elettronica, Informazione e Bioingegneria (DEIB), Politecnico di Milano, 20133 Milano, Italy

The Wave Digital Filter (WDF) formalism is becoming a popular approach for the digitalemulation of audio circuits. Nonlinear WDFs, like other kinds of discrete-time nonlinearfilters used in Virtual Analog modeling applications, are often affected by aliasing distortion.Recently formalized Antiderivative Antialiasing (ADAA) methods are capable of significantaliasing reduction even with low oversampling factors. This paper discusses different strategiesto integrate pth-order ADAA methods into stateful WDFs with a single one-port or multi-port nonlinearity while preserving the modularity property typical of traditional WDFs. Theeffectiveness of the proposed approach is verified by applying the discussed ADAA techniquesto three nonlinear audio circuits containing diode-based nonlinearities and a BJT transistor.

0 INTRODUCTION

In the past two decades, considerable research efforthas been made to develop accurate and computationallylightweight Virtual Analog (VA) implementations of non-linear audio circuits [1–8]. Many techniques have been pro-posed in the literature for the digital emulation of analogsynthesizers [9–11], distortion pedals [12], and audio am-plifiers [13, 14] that contain nonlinear circuit elements suchas diodes [15–20], transistors [21], transformers [22], andtubes [23]. However nonlinear discrete-time systems, suchas those encountered in VA modeling, may be subjected toaliasing distortion. This issue may occur whenever a band-limited input signal is processed by a nonlinear function,which adds to the signal spectrum additional frequencycomponents that overcome the Nyquist frequency and aremirrored into the signal base-band as distortion artifacts,causing inharmonicity, beating, and heterodyning [24].

High oversampling factors are commonly used as a trivialsolution to reduce aliasing. However increasing the sam-pling frequency may lead to computationally inefficientimplementations that could violate real-time execution con-straints. Hence alternative less expensive antialiasing meth-ods are desirable, and many techniques have been proposedin the VA literature, dealing with discrete-time oscillatorsfor subtractive synthesis [24, 25], emulations of clippingstages used in overdrive or distortion circuits [26, 27], and

interpolation filters combined with decimation filters fornonlinear waveshaping [28].

Recently a novel antialiasing approach applicable to alarge class of nonlinear functions, called AntiderivativeAntialiasing (ADAA), has been introduced by Parker etal. in [29]. The method approximates the input signal as acontinuous-time piecewise linear function, applies the non-linear function to it, and then convolves the resulting signalwith the continuous-time impulse response of a low-pass fil-ter before sampling it back to the digital domain. Ultimatelythese steps yield a less-aliased nonlinear function approxi-mation expressed as a combination of its antiderivatives. In[29], however, just first and second-order approximationsbased on antiderivatives are discussed. Subsequently Bilbaoet al. in [30] extended the method employing higher-orderantiderivatives and reframed the approach as the repeateddifferentiation of a pth-order antiderivative of the nonlinearfunction.

Nonetheless ADAA presents two major drawbacks: alow-pass filtering effect and the introduction of a frac-tional delay of p/2 samples [31]. The first limitation canbe easily overcome through mild oversampling or by de-signing a simple linear filter. The additional introduced de-lay, however, becomes problematic in systems having feed-back paths. For this reason ADAA has been applied almostexclusively to memoryless systems [29, 30, 32]. An exten-sion to stateful systems has been proposed by Holters in

448 J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August

Page 2: Antiderivative Antialiasing Techniques in Nonlinear Wave

PAPERS ADAA IN NONLINEAR WAVE DIGITAL FILTERS

[33] and consists of a global parameter modification to thecoefficient matrices of the state-space formulation to com-pensate for the additional delay introduced in the systemby the ADAA filter.

Inspired by the approach in [33], in a previous work[34] we introduced a different methodology for applyingpth-order ADAA to stateful Wave Digital Filters (WDFs)with a single one-port nonlinearity. Such a methodologyallows us to exploit the inherent modularity property ofWDFs in the design of ADAA algorithms for VA modeling.This article is an extended version of [34], incorporating anexhaustive overview of ADAA techniques applicable toWave Digital (WD) one-port nonlinearities. Moreover wediscuss a method for the application of ADAA to a WDmulti-port nonlinear element (the BJT).

The paper is structured as follows. Sec. 1 briefly revisesthe structure of WDFs with one nonlinearity. Sec. 2 pro-poses a novel method to integrate first-order ADAA [29]into stateful WDFs with a single one-port or multi-portnonlinear element. Sec. 3 generalizes the method to higher-order ADAA. Sec. 4 discusses different generic models ofWD one-port nonlinearities and the corresponding ADAAapproximations. WD ADAA models of specific one-portand multi-port nonlinearities, i.e., the single exponentialdiode, a pair of diodes in antiparallel and the BJT, are thenpresented in Secs. 5 and 6. The effectiveness of the proposedADAA approach in the WD domain is verified in three ex-amples of application discussed in Sec. 7. Sec. 8 concludesthis paper and proposes possible future developments.

1 BRIEF OVERVIEW ON WDF MODELING

WDF theory was first introduced by A. Fettweis in the1970s and later reorganized in [35] as a methodology tomodel reference analog circuits as digital filters, based onnetworks of input-output blocks characterized by scatteringrelations and communicating through port connections. Inparticular a WDF is a port-wise lumped model of a refer-ence circuit that detaches the topological information fromthe models of circuit elements. The reference topology isdescribed through scattering junctions, called adaptors, en-forcing Kirchhoff continuity laws, while circuit elementsare derived from the lumped discretization of their consti-tutive equations. A peculiarity of WDFs is the use of theso-called wave variables obtained from Kirchhoff variables(i.e., current and voltage) through a linear and invertibletransformation. At one port of a circuit element, voltagewave variables are defined as

a = v + Zi b = v − Zi, (1)

with inverse mapping

v = a + b

2i = a − b

2Z, (2)

where v is the port voltage, i is the port current, a is thewave incident to the element, b is the wave reflected fromthe element, and Z is an additional free parameter, calledreference port resistance. This free parameter is set to adaptlinear circuit elements, thus obtaining explicit WD scatter-

Table 1. Wave mappings of common linear one-ports.

Element Constit. eq. Wave mapping Adapt. cond.

Res. Sour. v = Eg + Rgi b[k] = Eg[k] Z = Rg

Resistor v = Ri b[k] = 0 Z = RCapacitor i(t) = C dv(t)

dt b[k] = a[k − 1] Z = Ts2C

Inductor v(t) = L di(t)dt b[k] = −a[k − 1] Z = 2L

Ts

ing relations in the discrete-time domain in which the re-flected wave does not depend on the incident wave. In thisway local delay-free-loops arising from the port connec-tions of elements to WD junctions are eliminated. More-over continuous-time derivatives in constitutive equationsof dynamic elements (e.g., capacitors and inductors) aretypically approximated using the trapezoidal discretizationmethod. Adapted WD models of capacitors and inductorsbecome one-sample delay elements (with a sign flip for in-ductors). The constitutive equations in the continuous-timeKirchhoff domain, discrete-time scattering relations in theWD domain, and corresponding adaptation conditions ofmost common linear one-port elements are reported in Ta-ble 1, where Ts = 1/fs is the sampling period defined as thereciprocal of the sampling frequency fs.

On the other hand connection networks embedding thetopological information of the reference circuits are im-plemented in the WD domain using scattering junctions(adaptors) characterized by scattering matrices [35]. Gen-eral formulas for computing the scattering matrices thatmodel arbitrary reciprocal or nonreciprocal connection net-works are discussed in [36–41].

1.1 WDFs With Connection Tree StructureIn order to ensure the computability of a WD structure the

corresponding signal-flow diagram should not contain anydelay-free loop [35, 40, 42, 43]. Sarti et al. [44] proposed asystematic method to implement circuits containing up toone nonlinear element using explicit WD structures, whichavoid the use of iterative solvers. The approach in [44] isapplicable to WD networks with a Binary Connection Tree(BCT) structure. A BCT is characterized by one (nonlin-ear) element as root, an interconnection of series/parallelthree-port junctions as nodes, and adapted linear one-portelements as leaves. Each three-port junction is adapted to-ward the root, which means that all junction ports facingother junctions (i.e., other nodes) or the nonlinear element(i.e., the root) are made reflection free by properly settingthe corresponding free parameters.

In light of the recent advances in the WD modeling ofreciprocal [39] and non-reciprocal [38] junctions, the BCTconcept can easily be generalized to the concept of Con-nection Tree (CT), whose root is a nonlinear element, nodescan be adaptors with N � 2 ports, and leaves are adaptedlinear elements. The root can also be a J-port nonlinear-ity to which J > 1 different subtrees are connected [3, 17,21, 23, 45–48]. Under the assumption that no topologicaldelay-free-loops are present, a CT can also be implementedin an explicit fashion.

J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August 449

Page 3: Antiderivative Antialiasing Techniques in Nonlinear Wave

ALBERTINI ET AL. PAPERS

WD Junction

Fig. 1. Single-junction WDF with one nonlinear element.

The evaluation of a CT consists of three main phases.At first the forward scan phase is performed. It consists oftraversing the CT from the leaves to the root. At each sam-pling step the waves reflected from adapted linear one-portelements in each subtree are known, according to the wavemappings in Table 1. Therefore it is possible to computeall the waves reflected from the junctions at their adaptedports, performing the scattering operations in the correctorder (i.e., the computational flow goes from the leaves tothe root). The second phase consists of the local root scat-tering stage, in which the waves reflected by the (nonlinear)element at the root are evaluated. Lastly the backward scanstage consists of traversing the tree structure from the rootto the leaves until all the waves incident to the linear adaptedelements are computed.

In the following sections we will show how ADAA tech-niques can be applied to WDFs with a CT structure.

2 FIRST-ORDER ADAA IN NONLINEAR WDFS

2.1 One-Port Nonlinearity CaseLet us consider the generic WDF in Fig. 1 characterized

by a single (reciprocal or nonreciprocal) N-port WD junc-tion. N − 1 linear one-ports and one nonlinear element areconnected to the junction. Since the WDF in Fig. 1 has a CTstructure (i.e., the nonlinear element is the root, the linearelements are the leaves, and the node is the N-port junc-tion), it can be implemented in an explicit fashion usingthe procedure, based on forward scan, local root scatter-ing, and backward scan, discussed in the previous section.Depending on the reference circuit, the single node canbe decomposed into an interconnection of nodes withoutdelay-free-loops (e.g., BCTs or CTs with multiple nodes).However it is worth noticing that we do not lose general-ity by describing the topological information with a singlenode. The scattering matrix S of the WD N-port junctioncan be computed, given the N free parameters Z1, . . ., ZN ,according to the formulas presented in [38, 39]. The portof the WD junction facing the nonlinear element is madereflection free by choosing the free parameter at that portin such a way that the corresponding diagonal entry of thescattering matrix S goes to zero.

Matrix S relates incident and reflected waves at a sam-pling time step k as

a[k] = Sb[k], (3)

Waves incident to the elements are collected into the columnvector a[k] = [a1[k], . . . , aN [k]]T . We assume that the WDone-port elements are ordered as follows. Waves a1[k], . . .,aM[k] are incident to the M < N linear dynamic elements(capacitors and inductors). The wave at position M + 1 ofvector a[k], called aξ[k], is incident to the nonlinear ele-ment. Finally waves aM+2[k], . . ., aN[k] are incident to lin-ear instantaneous elements (resistors and resistive sources).Therefore vector a[k] can be expressed as

a[k] = [a1[k], . . . , aM [k], aξ[k], aM+2[k], . . . aN [k]]T .

Similarly we can define the vector b[k] as the column vectorof waves reflected by the elements and incident to the WDjunction. Waves reflected by linear elements are computedaccording to Table 1, while the nonlinear element at theroot is characterized by a scattering relation bξ = f(aξ). Forthe moment we assume that f(aξ) is an explicit function inthe WD domain, available in analytic form, even thoughthis is not always the case. In fact, as extensively discussedin Sec. 4, the element at the root may be characterized by anonlinear implicit function.

So far we have described the WD structure prior toADAA application. Let us now locally apply the first-orderADAA method proposed in [29] to the root nonlinear scat-tering relation bξ = f(aξ) by substituting f with the followingapproximation (subscript ξ is omitted for better readabil-ity):

f (a[k]) ={ F1(a[k])−F1(a[k−1])

a[k]−a[k−1] if a[k] �≈ a[k − 1]f( a[k]+a[k−1]

2

)if a[k] ≈ a[k − 1]

(4)

where a[k] and b[k] are the discrete-time wave signals andF1 is the first-order antiderivative of f. Unfortunately as out-lined in [29, 33] the first-order ADAA filter introduces half-sample delay in the digital structure, altering the temporiza-tion of the system. At each time-step k the non-antialiasedversion of the same system would have a unitary delay thattemporarily stores the state, to be used at time-step k + 1.However the additional delay introduced by ADAA in thefeedback path adds up to the unitary delays implementingcapacitors and inductors, making the total delay 1.5 sam-ples long. Therefore in addition to the altered temporizationof the system ADAA introduces a misalignment in time be-tween the signals entering the WD junction with scatteringmatrix S during the backward scan stage.

Let us consider (3) as the generic scattering operationperformed at time step k throughout the backward scanstage. The column vector b[k] of waves reflected from theelements and incident to the WD junction is given by

b[k] = [b1[k], . . . , bM [k], bξ[k], bM+2[k], . . . , bN [k]]T ,

where in turn bξ[k] is defined as

bξ[k] = f (aξ[k]) . (5)

450 J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August

Page 4: Antiderivative Antialiasing Techniques in Nonlinear Wave

PAPERS ADAA IN NONLINEAR WAVE DIGITAL FILTERS

Since f introduces a half sample delay, it becomes clear thatthere is a misalignment in time between bξ[k] and all theother elements of b[k]. To synchronize the signals we applya half-sample delay filter with Z-domain transfer functionH (z) = 1

2 (1 + z−1) to all the entries in b[k] but bξ[k]. Itis worthwhile noticing that such a filter H(z) acts as theADAA filter (4) in the linear case; hence to some extent weare applying the same antialiasing filter even to the linearelements of the system. Thus we obtain a synchronizedversion of (3), expressed as

a[k] = Sb[k] (6)

b[k] = [b1[k], . . . , bM [k], bξ[k], bM+2[k], . . . , bN [k]]T

with

bn[k] = 1

2(bn[k] + bn[k − 1]), (7)

and 1 � n � N with n �= ξ. The half-sample delay filterapplied to each entry of b[k], with the exception of bξ[k],resolves the issue of time misalignment between the wavesincident to the WD junction during the backward scan. Thelast open problem to be addressed is the altered timing dueto the added delay. If we further expand (6), consideringthe waves reflected from dynamic elements, according toTable 1, we obtain

b[k] =[±a1[k − 1], . . . ,

± aM [k − 1], bξ[k], bM+2[k], . . . , bN [k]]T(8)

where an[k − 1] = 12 (an[k − 1] + an[k − 2]).

Equation (8) puts in evidence that the introduced half-sample delay results in a total delay of 1.5 samples in thefeedback path of the system. The additional delay is com-pensated employing a method similar to that applied in [33]to state-space systems. Therefore the coefficients of S de-pending on the sampling period Ts are modified using an“expanded” sampling period Ts = 1.5Ts, since a delay of1.5 samples corresponds to a 1-sample delay at the reducedsampling frequency fs = 2 fs/3. Thus (3) is approximatedwith

a[k] ≈ Sb[k], (9)

where b[k] represents the vector b[k] after the applicationof the synchronization delays in (6) and (7). Matrix S is de-fined as S = S(Ts), which means that the free parameters Z1,. . ., ZN essential for the computation of the scattering matrixneed to be changed according to the expanded sampling pe-riod Ts. In particular, for capacitors we set Zn = Ts/(2Cn)and for inductors Zn = 2Ln/Ts. Finally, operating the sys-tem at its original sampling frequency fs but with modifiedcoefficients allows us to compensate for the additional de-lay, completing the integration of the ADAA method intostateful WDFs with one nonlinearity.

The discussed implementation procedure is resumed inAlgorithm 1, written in pseudo-code. We assume to havea voltage source driven by the input signal Vin[k] and con-nected to the jth port of the WD junction. The output signalVout[k], instead, is the port voltage at the lth port. Moreoverwe define sξ as the ξth row vector of matrix S. In order to

compute the output voltage Vout[k] the wave incident to thelth element needs to be aligned with its reflected wave, asshown in line 10 of Algorithm 1.

It is worth noting that simple modifications to Algorithm1 should be done in order accommodate scenarios in whichcurrent sources are present and current output signals areconsidered.

Algorithm 1 ADAA in WDFs

1: for k=1:length(Vin) do2: b1[k], . . ., bM[k] ← ±a1[k − 1], . . ., ±aM[k − 1]3: bj[k] ← Vin[k] M + 2 � j � N � Input Signal4: b[k] = [b1[k], . . . , bM [k], 0, bM+2[k], . . . , bN [k]]T

5: aξ[k] ← sξb[k] � Forward Scan6: bξ[k] ← f (aξ[k]) � 1st-order ADAA7: bn[k] ← 1

2 (bn[k] + bn[k − 1]) n �= ξ

8: b[k] = [b1[k], . . . , bM [k], bξ[k], bM−2[k], . . . , bN [k]]T

9: a[k] ← Sb[k] � Backward Scan10: al [k] = 1

2 (al [k] + al [k − 1])11: Vout[k] ← 1

2 (al [k] + bl [k]) � Output Signal12: end for

2.2 Multi-Port Nonlinearity CaseThis section discusses the application of ADAA in WDFs

characterized by a CT structure and one J-port nonlinearelement (with J > 1), e.g., a BJT, MOSFET, or vacuumtube. Let us assume for now that the WD model of the J-port element is characterized by an explicit vector scatteringrelation in the form

b� = f(a�) = [ f1(a�), . . . , f J (a�)]T , (10)

where a� = [aξ1, . . . , aξJ ] is the vector of waves incidentto the J ports of the element, b� is the vector of wavesreflected by the J ports of the element, and f is a vectornonlinear function.

It is apparent that applying an ADAA method to (10) isnot trivial, because we are dealing with multivariate nonlin-ear components f1(a�), . . . , f J (a�) and it is not obvioushow to compute the antiderivatives. A possibility is inte-grating each component f j (a�) with respect to a singlevariable, leaving the other variables fixed, similarly to thatdone with nonlinear multi-port nonlinearities in the Kirch-hoff domain in [49]. The choice of the integration variablemay seem arbitrary; however, in practical applications, cer-tain variables could introduce more aliasing than the oth-ers to the components of the vector function f. Wheneverpossible such variables should be identified and chosen asintegration variables. In the following integration variablesare indicated as aξq, with 1 � q � J, where aξq may varyfrom function to function. Therefore any component f j (a�)in (10), with 1 � j � J, given its first-order antiderivativeFj,1(a�) with respect to aξq, can be approximated by using

J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August 451

Page 5: Antiderivative Antialiasing Techniques in Nonlinear Wave

ALBERTINI ET AL. PAPERS

the first-order ADAA method as

f j (a�[k]) =

⎧⎪⎪⎪⎪⎪⎨⎪⎪⎪⎪⎪⎩

Fj,1(a∗�[k])−Fj,1(a∗∗

� [k])aξq [k]−aξq [k−1]

if aξq [k] �≈ aξq [k − 1]

f j (a�[k])if aξq [k] ≈ aξq [k − 1]

(11)

where

a∗�[k] = [

aξ1[k], . . . , aξq [k], . . . , aξJ [k]],

a∗∗� [k] = [

aξ1[k], . . . , aξq [k − 1], . . . , aξJ [k]],

a�[k] = 1

2(a�[k] + a�[k − 1]) ,

with

aξi [k] = aξi [k] + aξi [k − 1]

2,

and 1 � i � J, with i �= q.It is worth noting that the differences of such an ADAA

approach applied to WDFs with one multi-port nonlinearitywith respect to the one-port nonlinearity case are confinedto how the nonlinear element is handled. In fact the consid-erations about the temporization of the structure counteract-ing the additional delay introduced by the ADAA filters inthe system feedback loop remain unaltered, and the coeffi-cients of the scattering junctions depending on the samplingperiod are modified as discussed in the previous section.

As in the nonlinear one-port case it is not always possibleto describe multi-port elements using explicit scatteringrelations like (10), since they may be characterized by asystem of implicit nonlinear functions. We will discuss howto manage a multi-port nonlinearity of the sort in Sec. 6,presenting a possible WD ADAA model of the BJT.

3 HIGHER-ORDER ANTIDERIVATIVEANTIALIASING IN NONLINEAR WDFS

The approach described in Sec. 2 can be extended tohigher-order ADAA methods to obtain improved aliasingsuppression. As before, we consider the one-port nonlinearelement case, connected to the same WDF structure of Fig.1. The nonlinear explicit mapping b = f(a) is now substi-tuted with its generic pth-order ADAA approximation. In[29] a second-order ADAA method is provided, while an al-ternative general formulation for ADAA of arbitrary-orderp is presented in [30]. As an example, second-order ADAA(i.e., p = 2) proposed in [30] and applied to the referencefunction f(a) yields

f (a[k]) = 2

a[k] − a[k − 2]

(F2(a[k]) − F2(a[k − 1])

a[k] − a[k − 1]

− F2(a[k − 1]) − F2(a[k − 2])

a[k − 1] − a[k − 2]

),

(12)

where F2 is the second-order antiderivative of f. For thetreatment of numerical ill-conditioning of (12), possiblyoccurring when a[k] ≈a[k − 1], a[k] ≈ a[k − 2], or a[k −1] ≈ a[k − 2], the reader is referred to [30].

In pth-order ADAA, the approximation f of f introducesa delay of p/2 samples [31], causing the waves incident to

the junction in vector b[k] to be misaligned in time. There-fore we need to apply synchronization delays, similarly towhat was done in (7). In particular, with higher-orders, thesynchronization delays are fractional only when p is odd.For instance if p = 2 all the waves entering the junction,with the exception of the wave reflected from the nonlinearelement, have to be delayed by one sample. To synchronizethe signals let us introduce a (potentially) fractional delayof p/2 samples, with Z-domain transfer function Hp(z). Al-though better choices in terms of spectral flatness of thefrequency response could certainly be made, in this workwe use a simple and computationally lightweight filter withtransfer function

Hp(z) ={

12

(z−� p

2 � + z−(� p2 �+1)

)if p is odd,

z−p/2 if p is even.(13)

If we define Bn(z) as the Z-transform of the discrete-timewave signal incident to port n of the WD junction, i.e.,bn[k], a synchronized signal Bn(z) with n �= ξ is obtainedby applying the filter Hp(z),

Bn(z) =Hp(z)Bn(z) with n = 1, . . . , N and n �= ξ, (14)

where Bn(z) is the Z-transform of bn[k]. A synchronizedversion of b[k] can now be defined as

b[k] = [b1[k], . . . , bM [k], bξ[k], bM+2[k], . . . , bN [k]]T .

However, as in the previous section, we still need tocompensate for the additional delay of p/2 samples intro-duced in the feedback path of the WDF by the pth-orderADAA method. Delay compensation is achieved by mod-ifying the coefficients of the system according to the ex-panded sampling period Ts = (1 + p/2)Ts. In fact a delayof (1 + p/2) samples at the reduced sampling frequencyfs = fs/(1 + p/2) corresponds to a one-sample delay atthe reference sampling frequency fs. This translates to theuse of a modified scattering junction S = S(Ts) in both theforward and backward scan stage.

In the case of a multi-node CT structure the procedure isanalogous, having to adjust the coefficients of each junctionaccording to the expanded sampling period Ts. We achievesignal synchronization during the backward scan by apply-ing the Hp(z) filter to waves incident to each junction, withthe exception of waves incident to ports facing the nonlinearelement or other junctions.

The approach discussed in Sec. 2.2 can easily be gener-alized to integrate pth-order ADAA into WDFs containingone J-port nonlinear element by following the considera-tions provided in this section.

4 GENERAL WAVE DIGITAL ADAA MODELS OFONE-PORT NONLINEARITIES

This section presents a general framework to derive WDADAA models of one-port nonlinear elements. The generalapproach presented here will then be employed in Sec. 5for deriving specific WD ADAA models of diode-basedone-port nonlinearities.

452 J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August

Page 6: Antiderivative Antialiasing Techniques in Nonlinear Wave

PAPERS ADAA IN NONLINEAR WAVE DIGITAL FILTERS

The most general description of an instantaneous non-linear one-port in the Kirchhoff domain is based on thefollowing equation:

gK(i, v) = 0. (15)

Often (15) can be made explicit, either obtaining a nonlinearvoltage-controlled nonlinearity in the form i = fi(v) or acurrent-controlled nonlinearity in the form v = fv(i).

When it comes to deriving the WD model of a nonlin-ear element, depending on the specific nonlinearity and theform of its constitutive equation, it might be convenientto apply the transformation from the Kirchhoff domain tothe WD domain using different variable substitution strate-gies, i.e., directly applying the mapping in Eq. (2) or usingintermediate hybrid substitutions involving both Kirchhoffand WD variables. In the following we will show that suchdifferent variable substitution choices also lead to differ-ent approaches for deriving WD ADAA models of nonlin-ear one-ports. Similar considerations on the modeling ofgrouped multiple nonlinearities in WDFs are discussed in[50].

4.1 ADAA in the Domain of Wave VariablesIn this subsection we consider ADAA approaches that

work entirely in the domain of wave variables: by applyingthe transformation in Eq. (2) to each Kirchoff variable in(15), a nonlinear relation between a and b in the WD domainis obtained, which may or may not be explicit.

Whenever it is possible to obtain an explicit function inthe form b = f(a), ADAA can be applied directly accordingto Eqs. (4) and (12). Otherwise a possible approach consistsof tabulating the solution of the resulting implicit nonlinearfunction gW(a, b) = 0 and performing data interpolationat runtime. In order to evaluate ADAA formulas, like (4)and (12), it is also necessary to compute the antiderivativesnumerically, starting from the tabulated points. Approachesemploying lookup tables have already been shown to besuitable for VA applications and have been extensively usedin the literature within the WDF [45, 47] and state-space[2, 51] frameworks.

The proposed procedure can be resumed with the follow-ing list of steps, where the first three steps are performedoffline:

� Store an ordered set of L values for the incident wavea over a certain range and collect them in a vectoralut = [a(1), . . . , a(L)].

� For each value a(l) in alut, solve the implicitfunction gW(a(l), b(l)) = 0 for b(l), employingan iterative solver (e.g., Newton-Raphson), andstore the result b(l) = f(a(l)) in the vector flut =[ f (a(1)), . . . , f (a(L))].

� Numerically integrate flut with respect to alut, ob-taining Flut,1. The second-order antiderivative Flut,2

(and higher-order antiderivatives) can be computedsimilarly.

� At each discrete-time step k, ADAA formulas, like(4) and (12), can be applied on the interpolating func-

tions f (a) = interp(flut, a), F1(a) = interp(Flut,1, a)and F2(a) = interp(Flut,2, a), where the generic op-erator interp simply indicates that the tabulatedpoints are interpolated given the input variable a.

4.2 ADAA in the Hybrid Wave-Kirchhoff DomainIn many cases given the wave a incident to a nonlinear

element it is convenient to evaluate the reflected wave b byusing hybrid Wave-Kirchhoff (WK) domain descriptionsof the nonlinearity, as they can be easier to handle thanthe corresponding expressions solely containing wave vari-ables. A hybrid WK description is obtained by expressingsolely the port voltage v or port current i in (15) in terms ofwave variables, according to one of the following relations[38, 39]

i = a − v

Z, v = a − Zi. (16)

The result is a nonlinear function in one of the two forms:gWv(v, a) = 0 or gWi(i, a) = 0. Solving gWv(v, a) = 0 for vor gWi(i, a) = 0 for i, the reflected wave b can be computedby using one of the following equations

b = 2v − a, b = a − 2Zi. (17)

Dealing with certain nonlinearities it is possible to turngWv(v, a) = 0 or gWi(i, a) = 0 in explicit form by expressingthe port current or port voltage as a function of a, i.e., i =i(a) or v = v(a). In such cases we can apply ADAA to thosefunctions. As an example, employing first-order ADAA,the nonlinear functions v(a) and i(a) are approximated by

v(a[k]) ={ V1(a[k])−V1(a[k−1])

a[k]−a[k−1] if a[k] �≈ a[k − 1]v

( a[k]+a[k−1]2

)if a[k] ≈ a[k − 1]

(18)

and

i(a[k]) ={ I1(a[k])−I1(a[k−1])

a[k]−a[k−1] if a[k] �≈ a[k − 1]i( a[k]+a[k−1]

2

)if a[k] ≈ a[k − 1]

(19)

where V1(a) and I1(a) are the first-order antiderivatives ofv(a) and i(a), respectively. ADAA application to Eq. (17)hence yields the following antialiased scattering relations

b = 2v − a, b = a − 2Zi . (20)

It is worth noticing that also the incident wave a in (20) hasbeen synchronized with the antialiased functions v and i ,due to the intrinsic ADAA delay. Signals synchronizationis obtained by applying the delay filter H(z), presented inSECS. 2 and 3, as A(z) = H (z)A(z), with A(z) being theZ-transform of a.

In cases in which explicit forms i = i(a) or v = v(a)are not available, given a set of incident waves chosen ina suitable range and stored in the vector alut of length L,the implicit functions gWv(v, a) = 0 and gWi(i, a) = 0in the hybrid WK domain could be solved iteratively fori or v and the results tabulated. Let us consider, for thesake of brevity, only the case gWv(v, a) = 0. Followinga procedure similar to that of SEC. 4.1 for the implicitwave mapping, for each value a(l) in alut, gWv(v, a) = 0is solved for v using an iterative solver and the results arestored in a vector vlut = [v(a(1)), . . . , v(a(L))]. In order to

J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August 453

Page 7: Antiderivative Antialiasing Techniques in Nonlinear Wave

ALBERTINI ET AL. PAPERS

apply ADAA, finite sets of values of antiderivatives maybe obtained by using numerical integration. We define forinstance the vectors containing the values of first-order andsecond-order antiderivatives of v as Vlut,1 and Vlut,2, respec-tively. It follows that in the first-order case, the unknownnonlinear function v(a) can be approximated by using theADAA formula (18) by performing interpolation and defin-ing v(a) = interp(vlut, a) and V1(a) = interp(Vlut,1, a) sim-ilarly to what was done in SEC. 4.1. An analogous approachcan be used to apply ADAA to the implicit function gWi(i,a) = 0.

The modeling approach described in this section will beapplied in the next section to derive different WD ADAAmodels of one-port diode-based nonlinearities. Even thoughan exhaustive treatment of general WD ADAA models ofmulti-port nonlinearities will not be presented in this pa-per, Sec. 6 will introduce a possible WD ADAA modelof the BJT that extends certain concepts related to scalarnonlinearities presented in this section to the vector case.

5 WAVE DIGITAL ADAA MODELS OF ONE-PORTDIODE-BASED NONLINEARITIES

5.1 Explicit ModelsThe behavior of a single exponential diode or a pair of

identical exponential diodes in antiparallel can be expressedthrough an explicit WD scattering relation by employingthe Lambert W function, as discussed in [15, 17, 52]. Thissection revises the aforementioned scattering relations andintroduces first and second-order antiderivatives of bothwave mappings that can be employed in first and second-order ADAA.

5.1.1 Single DiodeLet us consider the large-signal Shockley diode model,

which relates the current i through the exponential p-n junc-tion to the voltage v across it

i = Is

(e

vηVt − 1

), (21)

where Is is the saturation current, Vt is the thermal voltage,and η is the ideality factor. The nonlinear Eq. (21) can beexpressed in the WD domain as an explicit mapping b =f(a) [15, 17]:

f (a) = u(a, Z , I s, Vt ,η)

= a + 2Z Is − 2ηVtω

(a + Z Is

ηVt+ log

(Z Is

ηVt

)),

(22)

where ω indicates the Omega Wright function, defined interms of the principal branch of the Lambert function W0

as ω(x) = W0(ex) [52]. The first-order antiderivative of (22)is

F1(a) = a2

2+ 2Z Isa − η2V 2

t ω(φ(a))(2 + ω(φ(a))), (23)

while the second-order antiderivative reads as follows

F2(a) = a3

6+ Z Isa2 (24)

− η3V 3t

6ω(φ(a))(12 + 9ω(φ(a)) + 2ω(φ(a))2)

where

φ(a) = a + Z Is

ηVt+ log

(Z Is

ηVt

). (25)

5.1.2 Pair of Identical Diodes in AntiparallelThe hard clipping function commonly encountered in

distortion and overdrive circuits [2, 15–17] is often imple-mented through a pair of identical diodes in antiparallel. Inthe considered WD implementation they are modeled as asingle one-port nonlinear element whose i–v characteristicis

i = Is

[(e

vηVt − 1

)−

(e

−vηVt − 1

)]. (26)

Assuming that only one of the two diodes is conducting ata given time instant [15, 17], the nonlinear wave mappingfor two identical antiparallel diodes can be approximatedas

f (a) = sign(a)u(|a|, Z , Is, Vt ,η), (27)

where sign(a) is the sign function. The first-order an-tiderivative of (27) is

F1(a) = a2

2+ 2Z Is |a| − η2V 2

t ω(φ(|a|)) (2 + ω(φ(|a|))) .

(28)

The second-order antiderivative F2 of (27) is

F2(a) = a3

6+ Z Issign(a)a2 − V 3

t η3sign(a)

6×ω(φ(|a|))(12 + 9ω(φ(|a|)) + 2ω(φ(|a|))2).

(29)

5.1.3 Pair of Different Diodes in AntiparallelWhenever two antiparallel diodes are not identical, it

is no longer possible to approximate their behavior as in(27), hence the Lambert W function cannot be exploitedfor deriving an explicit scattering relation. The proposedsolution uses the hybrid WK approach discussed in SEC. 4.2in conjunction with a one-dimensional Newton-Raphsonsolver.

Let us consider the two antiparallel diodes D1 and D2

in Fig. 2, both described according to the Shockley model(21). D1 has a saturation current Is1 and ideality factor η1,while D2 has a saturation current Is2 and ideality factor η2.By applying the KCL we can express the port current i as

i = iD2 − iD1 = Is2

(e

vη2 Vt − 1

)− Is1

(e

−vη1 Vt − 1

). (30)

By substituting i = (a − v)/Z into (30), an implicit functionin the form gWv(v, a) = 0 is obtained. According to themethod discussed in SEC. 4.2, the implicit mapping is solvediteratively at some points a(l), and the result is stored in a

454 J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August

Page 8: Antiderivative Antialiasing Techniques in Nonlinear Wave

PAPERS ADAA IN NONLINEAR WAVE DIGITAL FILTERS

Fig. 2. One-port model of a pair of antiparallel diodes.

B B

E

C

C

E

(a)

B

E C

(b)

Fig. 3. Ebers-Moll model.

lookup table. At each point a(l) we can define h(v) = gWv(v,a(l)) = 0 as

h(v) = v − a(l) + Z Is2

(e

vη2 Vt − 1

)− Z Is1

(e

−vη1 Vt − 1

),

(31)

with derivative

h′(v) = 1 + Z Is2

η2Vte

vη2 Vt + Z Is1

η1Vte

−vη1 Vt . (32)

Equations (31) and (32) are then used to solve gWv(v, a(l))= 0 for v with the Newton-Raphson method. Finally, theapplication of ADAA follows the procedure detailed in SEC.4.2, and the reflected wave is computed by using the firstequation in (20).

6 MODELING THE BIPOLAR JUNCTIONTRANSISTOR (BJT)

6.1 BJT Kirchoff ModelThe BJT can be modeled in the Kirchoff domain using the

well-known Ebers-Moll model (EMM) [53]. The EMM isdepicted in Fig. 3, where the three terminals Base (B), Col-lector (C), and Emitter (E) are highlighted. The EMM com-prises two back-to-back diodes, modeled with the ShockleyEq. (21), and two current-controlled current sources, withαf and αr being the forward and reverse common-base cur-rent gains.

The EMM is mathematically expressed as⎧⎪⎪⎨⎪⎪⎩

iB + iE + iC = 0

iE = Is1

(e

vBEη1 Vt − 1

)− αr Is2

(e

vBCη2 Vt − 1

)iC = Is2

(e

vBCη2 Vt − 1

)− α f Is1

(e

vBEη1 Vt − 1

).

(33)

6.2 Generalized WD Model of the BJTThe WD model of the BJT is obtained following

the systematic approach introduced in [21] that allowsus to describe any three-terminal element as a WDblock characterized by a number of ports J that rangesfrom 1 to 6. The choice of the most suitable num-ber of ports J depends on the reference circuit to beimplemented as discussed in [21]. The general six-portmodel of the BJT is shown in Fig. 4, where at eachport we connect a Thevenin equivalent circuit. We de-fine two sets of incident waves aXO = [aBO, aEO, aCO]T

and aXY = [aBE, aEC, aCB]T , with reference port resis-tance matrices ZXO = diag([ZBO, ZEO, ZCO]) and ZXY =diag([ZBE, ZEC, ZCB]). Moreover we collect all the wavesincident to the six-port element in the vector a� =[aT

XO, aTXY]T .

The implicit nonlinear system of equations in the Kirch-hoff variables describing the general six-port model is

g(vK , a�) = Pfi (vK ) + Kfv(vK ) + Qa� = 0, (34)

where vK = [vBE, vBC]T , with vBC = −vCB, matrices P, K,and Q depend on the chosen number of ports J as discussedin [21], and 0 is a 3 × 1 vector of zeros. The 3 × 1 vec-tor functions fi (vK ) and fv(vK ) are expressed as a linearcombination of two scalar functions of vBE and vBC, as

fi (vK ) =⎡⎣α f − 1 αr − 1

1 −αr

−α f 1

⎤⎦[

fBE(vBE)fBC(vBC)

](35)

fv(vK ) =⎡⎣ 1 0

−1 10 −1

⎤⎦[

vBE

vBC

](36)

with

fBE(vBE) = Is1

(e

vBEη1 Vt − 1

),

fBC(vBC) = Is2

(e

vBCη2 Vt − 1

).

(37)

In particular, fi (vK ) and fv(vK ) are obtained directly fromthe EMM model. In fact, fi (vK ) = [iB, iE, iC]T equals thecurrents flowing out of the terminals shown in Fig. 3, whilefv(vK ) = [vBE, vEC, vCB]T equals the voltages across thepairs of the BJT terminals.

Since (34) is an implicit system of equations in the vari-ables vBE and vBC, it is usually solved using the multi-dimensional Newton-Raphson (MDNR) algorithm [21].Moreover one of the three equations in (34) is redundant,since it can be expressed as a linear combination of the othertwo, and is discarded before applying the MDNR method.Removing the redundant equation results in the implicit sys-tem of two equations with two unknowns gnr(vK , a) = 0,where a = [a1, a2]T contains the remaining two compo-nents of the 3 × 1 vector Qa�, and 0 becomes a 2 × 1vector of zeros [21]. Once vBE and vBC are computed thewaves reflected by the WD element are obtained using thefollowing two expressions

bX0 = aX0 + 2ZX0[fi (vK ) + HT Z−1XY(aXY − fv(vK ))]

(38)

J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August 455

Page 9: Antiderivative Antialiasing Techniques in Nonlinear Wave

ALBERTINI ET AL. PAPERS

B

E

C

EO

EO

EO

EO

CO

CO

CO

CO

BO

BO

BO

BO

CB

CB

CB

CB

BE

BE

BE

BE

EC

EC

EC

EC

B

E

C

Fig. 4. General six-port WD model of a three-terminal BJT.

bXY = 2vXY − fv(vK ) (39)

where

H =⎡⎣ 1 −1 0

0 1 −1−1 0 1

⎤⎦ .

6.3 Wave Digital ADAA Model of the BJTThe approach discussed in Sec. 2.2 that applies ADAA

to a multi-port nonlinear element characterized by a mul-tivariate vector function is not straightforward, since anintegration variable for each vector component needs tobe chosen. Fortunately, in some circuits containing BJTs,the nonlinear behavior is dominated by certain variables,making ADAA application to a single integration vari-able, while keeping the other variables fixed, effective.However the WD BJT model described by the nonlin-ear implicit equation gnr(vK , a) = 0 prevents us from di-rectly using (11). A possible solution is to use a hybridWK approach similar to that discussed in Sec. 4.2 butadapted to the multi-port case. In particular, ADAA isapplied to the nonlinear functions fBE(vBE) and fBC(vBC).Thus the resulting antialiased versions of the scatteringrelations (38) and (39) are

bX0 = aX0 + 2ZX0[fi (vK ) + HT Z−1XY(aXY − fv(vK ))]

(40)

bXY = 2vXY − fv(vK ) (41)

where

fi (vK ) =⎡⎣α f − 1 αr − 1

1 −αr

−α f 1

⎤⎦[

fBE(vBE)fBC(vBC)

](42)

and fBE, fBC are the antialiased versions of fBE and fBC,respectively, while aX0, aXY, fv(vK ) are synchronized ver-sions of the respective vector variables, obtained throughthe linear delay filter H(z) described in Secs. 2 and 3.

To obtain the ADAA approximations fBE(vBE) andfBE(vBC), we derive two lookup tables fBE,lut and fBC,lut map-ping a to fBE and fBC, respectively. The proposed procedureto apply first-order ADAA to the BJT model is reportedbelow. The first three steps of the procedure are performedoffline.

� Sample the two components of a = [a1, a2]T oversuitable ranges, creating a 2D grid of L × Q points.The resulting grid is characterized by points withcoordinates (a(l)

1 , a(q)2 ), with 1 � l � L and 1 � q �

Q. The created grid will be the input space of thetwo lookup tables fBE,lut and fBC,lut.

� For each a(l,q) = [a(l)1 , a(q)

2 ]T , solve the im-plicit equation gnr(v

(l,q)K , a(l,q)) = 0 for v(l,q)

K =[v(l,q)

BE , v(l,q)BC ]T using the MDNR and store the values

fBE(v(l,q)BE ) and fBC(v(l,q)

BC ) in the two lookup tablesfBE,lut and fBC,lut.

� Numerically integrate fBE,lut and fBC,lut with respectto the variable introducing more aliasing (either a1 ora2), tabulating the values of the first-order antideriva-tives in the lookup tables FBE,lut,1 and FBC,lut,1.

456 J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August

Page 10: Antiderivative Antialiasing Techniques in Nonlinear Wave

PAPERS ADAA IN NONLINEAR WAVE DIGITAL FILTERS

outin

Fig. 5. Circuit schematic of the diode clipper stage.

� At each discrete-time step k, ADAA can be appliedusing an approach mathematically analogous to (11)but employing interpolating functions based on thederived lookup tables.

The generalization of the above procedure to pth-orderADAA is straightforward and only minor adjustments needto be made. In fact pth-order ADAA is obtained by nu-merically integrating p times the lookup tables FBE,lut,1 andFBC,lut,1 and applying the arbitrary-order formulas given in[30] to (42). Timing issues arising when applying p-th-order ADAA to stateful WDFs are handled by using a pthorder synchronization filter Hp(z), like the one in Eq. (13),and by properly adjusting the coefficients of the modifiedscattering matrix S, as detailed in Sec. 3.

7 EXAMPLES OF APPLICATION

In this section we describe WDF implementations ofthree audio circuits and show the effectiveness of the pro-posed ADAA methods in terms of aliasing reduction. Thefirst WD structure implements an audio clipper circuit andits nonlinearity is a one-port model of a pair of identicalantiparallel diodes. The second WD structure implementsa modded Tube Screamer clipping stage based on a pair ofdifferent antiparallel diodes. The third WD structure imple-ments a common emitter amplifier and it is characterizedby a three-port BJT model. In all three digital implemen-tations the reference sampling frequency will be fs = 44.1kHz.

7.1 Audio Diode Clipper CircuitDigital emulations of clipping and limiting musical cir-

cuits often generate severe aliasing distortion. This classof waveshaping circuits is commonly encountered in gui-tar distortion and overdrive effects and many different VAimplementations have been discussed in the literature [2,15–17]. A common example of clipping stage is the cir-cuit shown in Fig. 5. The circuit is composed of an RCfilter, with a resistor R1 = 1 k� and capacitor C1 = 33nF, and two antiparallel diodes that “clip” the voltage sig-nals whose amplitude exceeds approximately ± 0.7 V. Thecorresponding WDF realization is shown in Fig. 6. It ischaracterized by a parallel three-port adaptor P1 that is im-plemented as in traditional WDFs [35]. The input signal hasbeen modeled through a WD resistive voltage source, usingR1 as its series resistance. The two antiparallel diodes aregrouped together as a one-port nonlinear element placed

in

1

Fig. 6. WDF implementation of the diode clipper.

at the root of the BCT structure and characterized by theexplicit relation (27). In particular, first-order ADAA is em-ployed by using (4) in conjunction with (28). Second-orderADAA instead uses (12) along with the first and second-order antiderivatives (28) and (29). Moreover care must betaken when numerical ill-conditioning occurs, as specifiedin [30].

The circuit has been tested with a sinusoidal input volt-age Vin(t) = 10 sin(2πf0t) with frequency f0 = 1,244.5 Hz.The magnitude spectra of the trivial implementation (i.e.,without antialiasing) of the diode clipper circuit as wellas those obtained with ADAA filters are shown in Fig. 7.Harmonic components are highlighted with an ‘x’ while allthe other spikes in the spectrum correspond to aliased com-ponents. Fig. 7 shows how ADAA efficiently suppressesaliased components especially at lower frequencies. How-ever it is worth recalling that high-frequency disturbancesare often inaudible due to auditory masking effects. More-over results show that a × 2 oversampling for the ADAA issufficient to obtain suppression of aliased components com-parable to non-antialiased implementations with higher (×6) oversampling factors, especially employing the second-order ADAA method.

A possible metric to measure the suppression of thealiased components with respect to desired harmonic distor-tion components of the clipping stage is the Signal-to-NoiseRatio (SNR), here defined as a power ratio between the de-sired harmonic components and the aliased components.The SNR analysis has been performed as described in [25,31] for a set of sinusoidal inputs at different fundamentalfrequencies, ranging from 1 kHz to 10 kHz. For each testsignal an ideal alias-free version was obtained by calculat-ing the discrete-time Fourier transform at integer multiplesof the fundamental frequency up to the Nyquist frequencyand using additive synthesis. The ideal signal was then sub-tracted from the aliased signal to obtain the residual (i.e.,the aliasing distortion). Since in audio applications SNRis only meaningful at audible frequencies all signals werelow-pass filtered with cut-off frequency 18 kHz before SNRcalculation. In Fig. 8 OS indicates the oversampling factorthat multiplies the reference sampling frequency fs = 44.1kHz and p indicates the ADAA order; trivial refers to theoutput signal obtained with no ADAA application.

7.2 Tube Screamer Clipping StageThe Tube Screamer is one of the most famous overdrive

guitar pedals, characterized by a tube-like distortion and an

J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August 457

Page 11: Antiderivative Antialiasing Techniques in Nonlinear Wave

ALBERTINI ET AL. PAPERS

0 0.5 1 1.5 2

104

-100

-50

0

0 0.5 1 1.5 2

104

-100

-50

0

0 0.5 1 1.5 2

104

-100

-50

0

0 0.5 1 1.5 2

104

-100

-50

0

0 0.5 1 1.5 2

104

-100

-50

0

0 0.5 1 1.5 2

104

-100

-50

0

Fig. 7. Diode clipper spectra employing different ADAA orders pand oversampling factors OS, with reference sampling frequencyfs = 44.1 kHz and a sinusoidal input of frequency 1,244.5 Hz andamplitude 10 V.

2 4 6 100

50

100

150

trivial, OS=1trivial, OS=6p=1, OS=2p=2, OS=2

Fig. 8. Diode clipper SNR analysis.

in

out

dist

out

g

Fig. 9. Circuit schematic of the modded Tube Screamer clippingstage.

out

dist

1

in

g

Fig. 10. WDF implementation of the modded Tube Screamerclipping stage.

emphasis on the mid frequencies. The clipping stage of theTube Screamer is the main responsible for the introducedharmonic distortion. A common mod consists of substi-tuting one of the stock (identical) diodes in the feedbackloop with a slightly different one. This process results inasymmetrical clipping and even order distortion.

We propose a WDF implementation of a modified TubeScreamer clipping stage, which employs a 1N914 diodeand a 1N4001 diode in an antiparallel configuration. Thereference circuit schematic is depicted in Fig. 9 while itsWDF implementation is shown in Fig. 10. Circuit param-eters are listed in Table 2. In this example the operationalamplifier (opamp) has been modeled by using a circuit-theoretic two-port element called nullor, following the ap-proach proposed in [38]. The nullor-based opamp model isthen absorbed in the non-reciprocal scattering junction R

458 J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August

Page 12: Antiderivative Antialiasing Techniques in Nonlinear Wave

PAPERS ADAA IN NONLINEAR WAVE DIGITAL FILTERS

Table 2. Tube Screamer clipping stage parameters.

Element Value Element Value

R1 10 k� C1 1 μFR2 51 k� C2 51 pFRdist 500 k� C3 47 nFR3 4.7 k� Is,1 2.52 nARout 1 M� η1 1.752Rg 0.15 � Is,2 2.6 μA

η2 1.6

as explained in [39]. Such a junction is characterized by thefollowing scattering matrix SR derived as discussed in [38]

SR =

⎡⎢⎢⎢⎢⎢⎣

1 0 0 0 02(Z3 Z4+Z3 Z5+Z4 Z5)

−Z5(Z3+Z4) −1 −2Z4Z3+Z4

−2Z3Z3+Z4

2Z3 Z4Z5(Z3+Z4)

2Z3 Z4Z5(Z3+Z4) 0 2Z4

Z3+Z4− 1 2Z3

Z3+Z4

−2Z3 Z4Z5(Z3+Z4)

2Z3 Z4Z5(Z3+Z4) 0 2Z4

Z3+Z4

2Z3Z3+Z4

− 1 −2Z3 Z4Z5(Z3+Z4)

2 0 0 0 −1

⎤⎥⎥⎥⎥⎥⎦

where Z3 = R2 + Rdist and Z1, Z4, and Z5 are the freeparameters of the adapted ports of the junctions P2, P1, andS2, respectively. Moreover the adaptation ofR is performedby setting Z4 in such a way that the 4th diagonal entry ofSR goes to zero (i.e., Z4 = Z3).

Diodes D1 and D2 are grouped in a single one-port non-linear element, as done in the implementation of the audioclipper in the previous subsection. Since D1 and D2 are dif-ferent, an explicit WD domain scattering relation betweenthe port variables is not available. Hence the WD ADAAmodel described in SEC. 5.1.3 is used, where D1 is the1N914 diode, and D2 is the 1N4001 diode. The implicitnonlinear function is evaluated offline in order to performtabulation and considering 1,024 values of a in the range[ − 10; 10] V and using spline interpolation during thelookup. Fig. 11 shows the aliasing reduction in response toa sinusoidal input of amplitude 0.2 V and frequency 1,224.5Hz for different combinations of oversampling factors andADAA orders p. Fig. 12 shows the SNR analysis for somesinusoidal inputs of amplitude of 0.2 V and fundamentalfrequencies ranging from 1 kHz to 10 kHz. The applicationof ADAA causes an aliasing reduction comparable to theexample presented in the previous subsection. Therefore theresults suggest that the two different ADAA approaches arecomparable in terms of performance.

7.3 Common Emitter AmplifierAs a last example we propose a WDF implementation of

a common emitter amplifier with a BJT, whose schematicis shown in Fig. 13. Circuit parameters are listed in Table3 and the resulting WDF structure is shown in Fig. 14. Inthis example we employ the ADAA technique for multi-portBJTs introduced in SEC. 6.3, employing spline interpolationduring the lookup. In particular we model the BJT as a three-port element with ports BO, EO, and CO. The WD elementis described by the implicit system of equations (34), from

0 0.5 1 1.5 2

104

-100

-50

0

0 0.5 1 1.5 2

104

-100

-50

0

0 0.5 1 1.5 2

104

-100

-50

0

0 0.5 1 1.5 2

104

-100

-50

0

0 0.5 1 1.5 2

104

-100

-50

0

0 0.5 1 1.5 2

104

-100

-50

0

Fig. 11. Tube Screamer clipping stage spectra employing differentADAA orders p and oversampling factors OS, with reference sam-pling frequency fs = 44.1 kHz and a sinusoidal input of frequency1,244.5 Hz and amplitude 0.2 V.

2 4 6 100

50

100

150

trivial, OS=1trivial, OS=6p=1, OS=2p=2, OS=2

Fig. 12. Tube Screamer clipping stage SNR.

J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August 459

Page 13: Antiderivative Antialiasing Techniques in Nonlinear Wave

ALBERTINI ET AL. PAPERS

E

C

out

in

inE

out

B

E

C

in

Fig. 13. Circuit schematic of the common emitter amplifier.

Table 3. Common emitter amplifier parameters.

Element Value Element Value

Rin 1 k� Cin 50 μFR1 27.35 k� CE 100 μFR2 2.65 k� C2 10 μFRE 220 � Is1 10.05 fARC 1.78 k� Is2 13.33 fARout 1 k� η1, η2 1.5B1 18 V αr 0.75

αf 0.995

in

out

in

E E

C

in

BO

EO

CO

Fig. 14. WDF implementation of common emitter amplifier.

which we remove one redundant equation, obtaining

gnr(vK , a) =[

1 −ZEOZBO

00 1 −ZCO

ZEO

]fi (vK )+

+[ −1

ZBO0 0

0 −1ZEO

0

]fv(vK ) +

[ aBOZ BO

− aEOZBO

aEOZEO

− aCOZEO

]= 0.

(43)

Moreover only one of the two scattering relations (38) and(39) is necessary and it simplifies to

bX0 = aX0 + 2ZXOfi (vK ). (44)

In the common emitter amplifier circuit the BJT nonlinearbehavior is dominated by the variable a1 that introducesfar more aliasing than a2. This fact allows us to use themethodology described in Sec. 2.2, i.e., integrating both

Fig. 15. Common Emitter Amplifier spectra employing differentADAA orders p and oversampling factors OS, with reference sam-pling frequency fs = 44.1 kHz and a sinusoidal input of frequency1,046 Hz and amplitude 0.6 V.

nonlinear functions fBE and fBC with respect to a1, anduse the ADAA model described in Sec. 6. Thus ADAA isapplied as

bX0 = aX0 + 2ZXO fi (vK ). (45)

The effect of ADAA is shown in Fig. 15, where the spec-tra of the output signal Vout are obtained by feeding thecircuit with a sinusoidal input with frequency 1,046 Hz(corresponding to a C6 note) and amplitude 0.6 V. Alsoin this case the results show a significant aliasing reduc-tion; indeed, alias harmonics are almost completely elimi-nated when first-order ADAA is employed together with anoversampling factor × 2. The results of the SNR analysisare shown in Fig. 16 using sinusoidal inputs with variousfrequencies ranging from 1 kHz to 10 kHz and with anamplitude of 0.6 V.

460 J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August

Page 14: Antiderivative Antialiasing Techniques in Nonlinear Wave

PAPERS ADAA IN NONLINEAR WAVE DIGITAL FILTERS

2 4 6 100

50

100

trivial, OS=1trivial, OS=6p=1, OS=2

Fig. 16. Common Emitter Amplifier SNR.

8 CONCLUSIONS AND FUTURE WORK

In this paper we showed how to integrate arbitrary-orderADAA methods into stateful WDFs with a single one-portor multi-port nonlinear element. The results show goodaliasing suppression performance even with low oversam-pling factors. It is worth noticing that the proposed ap-proach for applying ADAA to digital nonlinear electricalnetworks fully preserves the modularity properties of tradi-tional WDFs. It is indeed straightforward to change/replacethe WD ADAA model of the nonlinear element, with noneed for redesigning the rest of the WD structure. On theother hand once an ADAA WD model of a reference non-linear element (e.g., diode or pair of diodes in antiparallel)has been derived it can be reused for implementing differentcircuits containing the same nonlinear element.

As far as drawbacks of ADAA filters are concerned it isworth recalling that their response is not spectrally flat, andin particular their inherent low-pass filtering effect couldbe undesirable. Even if this effect could be easily compen-sated employing a linear filter, additional spectral shapingcould be introduced when the method is applied to state-ful systems. The remedy to such spectral shaping is mildoversampling that limits the introduced distortion whilemaintaining superior antialiasing performance [33].

As a future work we will investigate techniques for theapplication of ADAA to WD structures with multiple non-linearities. The problem of managing multiple nonlineari-ties using ADAA in the WD domain could be approachedin different ways. A first approach would be to develop anADAA model for each nonlinearity and then solve the re-sulting delay-free-loops. Another possible approach couldbe to collect all nonlinear elements into a single multi-portnonlinearity and then apply ADAA to such a single multi-port nonlinearity, similarly to what we have shown in Sec. 6discussing the WD ADAA model of the BJT. In both casesa systematic procedure for efficiently solving the resultingsystem of implicit equations needs to be developed.

9 REFERENCES

[1] S. D’Angelo, Virtual Analog Modeling of Nonlin-ear Musical Circuits, Ph.D. dissertation, Aalto University,Espoo, Finland (2014 Sep.).

[2] D. T. Yeh, J. S. Abel, and J. O. Smith, “AutomatedPhysical Modeling of Nonlinear Audio Circuits for Real-Time Audio Effects—Part I: Theoretical Development,”IEEE Trans. Audio Speech Lang. Process., vol. 18, no. 4, pp.

728–737 (2010 May). https://doi.org/10.1109/TASL.2009.2033978.

[3] G. De Sanctis and A. Sarti, “Virtual Analog Modelingin the Wave-Digital Domain,” IEEE Trans. Audio SpeechLang. Process., vol. 18, no. 4, pp. 715–727 (2010 May).https://doi.org/10.1109/TASL.2009.2033637.

[4] M. Holters and U. Zolzer, “Physical Modelling ofa Wah-Wah Effect Pedal as a Case Study for Applicationof the Nodal DK Method to Circuits With Variable Parts,”in Proceedings of the 14th International Conference onDigital Audio Effects (DAFx-11) pp. 31–35 (Paris, France)(2011 Sep.).

[5] A. Falaize and T. Helie, “Passive Guaranteed Simu-lation of Analog Audio Circuits: A Port-Hamiltonian Ap-proach,” Appl. Sci., vol. 6, no. 10, pp. 273 (2016 Sep.).https://doi.org/10.3390/app6100273.

[6] R. Muller and T. Helie, “Power-Balanced Modellingof Circuits as Skew Gradient Systems,” in Proceedings ofthe 21st International Conference on Digital Audio Effects(DAFx-18), pp. 264–271 (Aveiro, Portugal) (2018 Sep.).

[7] E.-P. Damskagg, L. Juvela, and V. Valimaki, “Real-Time Modeling of Audio Distortion Circuits With DeepLearning,” in Proceedings of the 16th Sound & Music Com-puting Conference SMC 2019, pp. 332–339 (Malaga, Spain)(2019 May).

[8] A. Bernardini and A. Sarti, “Towards Inverse Vir-tual Analog Modeling,” in Proceedings of the 22nd Inter-national Conference on Digital Audio Effects (DAFx-19)(Birmingham, UK) (2019 Sep.).

[9] A. Huovilainen, “Non-Linear Digital Implementa-tion of the Moog Ladder Filter,” in Proceedings of the7th International Conference on Digital Audio Effects(DAFx’04), pp. 61–64 (Naples, Italy) (2004 Oct.).

[10] F. Fontana and M. Civolani, “Modeling of theEMS VCS3 Voltage-Controlled Filter as a Nonlin-ear Filter Network,” IEEE Trans. Audio Speech Lang.Process., vol. 18, no. 4, pp. 760–772 (2010 May).https://doi.org/10.1109/TASL.2010.2046287.

[11] T. Helie, “Volterra Series and State Transformationfor Real-Time Simulations of Audio Circuits Including Sat-urations: Application to the Moog Ladder Filter,” IEEETrans. Audio Speech Lang. Process., vol. 18, no. 4, pp.747–759 (2010 May). https://doi.org/10.1109/TASL.2009.2035211.

[12] F. Eichas, M. Fink, M. Holters, and U. Zolzer,“Physical Modeling of the MXR Phase 90 Guitar EffectPedal,” in Proceedings of the 17th International Conferenceon Digital Audio Effects (DAFx-14) (Erlangen, Germany)(2014 Sep.). https://doi.org/10.13140/2.1.3018.9763.

[13] J. Pakarinen and D. T. Yeh, “A Review of Digi-tal Techniques for Modeling Vacuum-Tube Guitar Ampli-fiers,” Comp. Music J., vol. 33, no. 2, pp. 85–100 (2009).https://doi.org/10.1162/comj.2009.33.2.85.

[14] F. Eichas and U. Zolzer, “Gray-Box Modelingof Guitar Amplifiers,” J. Audio Eng. Soc., vol. 66, no.12, pp. 1006–1015 (2018 Dec.). https://doi.org/10.17743/jaes.2018.0052.

[15] R. C. D. Paiva, S. D’Angelo, J. Pakarinen, andV. Valimaki, “Emulation of Operational Amplifiers and

J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August 461

Page 15: Antiderivative Antialiasing Techniques in Nonlinear Wave

ALBERTINI ET AL. PAPERS

Diodes in Audio Distortion Circuits,” IEEE Trans. Cir-cuits Syst. II Exp. Briefs, vol. 59, no. 10, pp. 688–692 (2012Oct.). https://doi.org/10.1109/TCSII.2012.2213358.

[16] K. J. Werner, V. Nangia, A. Bernardini, J. O.IIISmith, and A. Sarti, “An Improved and Generalized DiodeClipper Model for Wave Digital Filters,” presented at the139th Convention of the Audio Engineering Society (2015Oct.), paper 9360.

[17] A. Bernardini, K. J. Werner, A. Sarti, and J. O.IIISmith, “Modeling Nonlinear Wave Digital Elements Us-ing the Lambert Function,” IEEE Trans. Circuits Syst. IReg. Papers, vol. 63, no. 8, pp. 1231–1242 (2016 Aug.).https://doi.org/10.1109/TCSI.2016.2573119.

[18] A. Bernardini, K. J. Werner, P. Maffezzoni, andA. Sarti, “Wave Digital Modeling of the Diode-Based RingModulator,” presented at the 144th Convention of the AudioEngineering Society (2018 May), paper 10015.

[19] A. Bernardini and A. Sarti, “Canonical Piecewise-Linear Representation of Curves in the Wave DigitalDomain,” in Proceedings of the 25th European Sig-nal Processing Conference (EUSIPCO), pp. 1125–1129(Kos, Greece) (2017 Aug./Sep.). https://doi.org/10.23919/EUSIPCO.2017.8081383.

[20] A. Proverbio, A. Bernardini, and A. Sarti, “Towardthe Wave Digital Real-Time Emulation of Audio CircuitsWith Multiple Nonlinearities,” in Proceedings of the 202028th European Signal Processing Conference (EUSIPCO),pp. 151–155 (Amsterdam, Netherlands) (2021 Jan.).https://doi.org/10.23919/Eusipco47968.2020.9287449.

[21] A. Bernardini, A. E. Vergani, and A. Sarti,“Wave Digital Modeling of Nonlinear 3-Terminal De-vices for Virtual Analog Applications,” Circuits Syst.Signal Process., vol. 39, pp. 3289–3319 (2020 Jan.).https://doi.org/10.1007/s00034-019-01331-7.

[22] R. C. D. de Paiva, J. Pakarinen, V. Valimaki, andM. Tikander, “Real-Time Audio Transformer Emulation forVirtual Tube Amplifiers,” EURASIP J. Adv. Signal Process.(2011 Feb.). https://doi.org/10.1155/2011/347645.

[23] S. D’Angelo, J. Pakarinen, and V. Valimaki, “NewFamily of Wave-Digital Triode Models,” IEEE Trans. Au-dio Speech Lang. Process., vol. 21, no. 2, pp. 313–321(2013 Feb.). https://doi.org/10.1109/TASL.2012.2224340.

[24] V. Valimaki and A. Huovilainen, “AntialiasingOscillators in Subtractive Synthesis,” IEEE Signal Pro-cess. Mag., vol. 24, no. 2, pp. 116–125 (2007 Mar.).https://doi.org/10.1109/MSP.2007.323276.

[25] V. Valimaki, “Discrete-Time Synthesis of the Saw-tooth Waveform With Reduced Aliasing,” IEEE SignalProcess. Lett., vol. 12, no. 3, pp. 214–217 (2005 Mar.).https://doi.org/10.1109/LSP.2004.842271.

[26] F. Esqueda, V. Valimaki, and S. Bilbao, “AliasingReduction in Soft-Clipping Algorithms,” in Proceedingsof the 23rd European Signal Processing Conference (EU-SIPCO), pp. 2014–2018 (Nice, France) (2015 Aug./Sep.).https://doi.org/10.1109/EUSIPCO.2015.7362737.

[27] F. Esqueda, S. Bilbao, and V. Valimaki, “Alias-ing Reduction in Clipped Signals,” IEEE Trans. SignalProcess., vol. 64, no. 20, pp. 5255–5267 (2016 Oct.).https://doi.org/10.1109/TSP.2016.2585091.

[28] J. Kahles, F. Esqueda, and V. Valimaki, “Oversam-pling for Nonlinear Waveshaping: Choosing the Right Fil-ters,” J. Audio Eng. Soc., vol. 67, no. 6, pp. 440–449 (2019Jun.). https://doi.org/10.17743/jaes.2019.0012.

[29] J. D. Parker, V. Zavalishin, and E. Le Bivic,“Reducing the Aliasing of Nonlinear Waveshaping Us-ing Continuous-Time Convolution,” in Proceedings of the19th International Conference on Digital Audio Effects(DAFx-16), pp. 137–144 (Brno, Czech Republic) (2016Sep.).

[30] S. Bilbao, F. Esqueda, J. D. Parker, and V. Valimaki,“Antiderivative Antialiasing for Memoryless Nonlinear-ities,” IEEE Signal Process. Lett., vol. 24, no. 7, pp.1049–1053 (2017 Jul.). https://doi.org/10.1109/LSP.2017.2675541.

[31] S. Bilbao, F. Esqueda, and V. Valimaki, “Antideriva-tive Antialiasing, Lagrange Interpolation and Spectral Flat-ness,” in Proceedings of the IEEE Workshop on Ap-plications of Signal Processing to Audio and Acoustics(WASPAA), pp. 141–145 (New Paltz, NY) (2017 Oct.).https://doi.org/10.1109/WASPAA.2017.8170011.

[32] F. Esqueda, H. Pontynen, J. D. Parker, and S. Bilbao,“Virtual Analog Models of the Lockhart and Serge Wave-folders,” Appl. Sci., vol. 7, no. 12, p. 1328 (2017 Dec.).https://doi.org/10.3390/app7121328.

[33] M. Holters, “Antiderivative Antialiasing for State-ful Systems,” Appl. Sci., vol. 10, no. 1 (2019 Dec.).https://doi.org/10.3390/app10010020.

[34] D. Albertini, A. Bernardini, and A. Sarti, “An-tiderivative Antialiasing in Nonlinear Wave Digital Filters,”in Proceedings of the 23nd International Conference onDigital Audio Effects (DAFx), pp. 62–69 (Vienna, Austria)(2020 Sep.).

[35] A. Fettweis, “Wave Digital Filters: Theory andPractice,” Proc. IEEE, vol. 74, no. 2, pp. 270–327 (1986Feb.). https://doi.org/10.1109/PROC.1986.13458.

[36] K. J. Werner, W. R. Dunkel, M. Rest, M. J. Olsen,and J. O. Smith, “Wave Digital Filter Modeling of Cir-cuits With Operational Amplifiers,” in Proceedings of the24th European Signal Processing Conference (EUSIPCO),pp. 1033–1037 (Budapest, Hungary) (2016 Aug./Sep.).https://doi.org/10.1109/EUSIPCO.2016.7760405.

[37] M. Verasani, A. Bernardini, and A. Sarti, “Model-ing Sallen-Key Audio Filters in the Wave Digital Domain,”in Proceedings of the IEEE International Conference onAcoustics, Speech and Signal Processing, pp. 431–435(New Orleans, LA) (2017 Mar.). https://doi.org/10.1109/ICASSP.2017.7952192.

[38] K. J. Werner, A. Bernardini, J. O. Smith, and A.Sarti, “Modeling Circuits With Arbitrary Topologies andActive Linear Multiports Using Wave Digital Filters,” IEEETrans. Circuits Syst. I Reg. Papers, vol. 65, no. 12, pp. 4233–4246 (2018 Dec.). https://doi.org/10.1109/TCSI.2018.2837912.

[39] A. Bernardini, K. J. Werner, J. O. Smith, and A.Sarti, “Generalized Wave Digital Filter Realizations ofArbitrary Reciprocal Connection Networks,” IEEE Trans.Circuits Syst. I Reg. Papers, vol. 66, no. 2, pp. 694–707(2019 Feb.). https://doi.org/10.1109/TCSI.2018.2867508.

462 J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August

Page 16: Antiderivative Antialiasing Techniques in Nonlinear Wave

PAPERS ADAA IN NONLINEAR WAVE DIGITAL FILTERS

[40] A. Bernardini, P. Maffezzoni, A. Sarti, “Lin-ear Multistep Discretization Methods With Variable Step-Size in Nonlinear Wave Digital Structures for VirtualAnalog Modeling,” IEEE Trans. Audio, Speech, Lang.Process., vol. 27, no. 11, pp. 1763–1776 (2019 Nov.).https://doi.org/10.1109/TASLP.2019.2931759.

[41] A. Bernardini, P. Maffezzoni, and A. Sarti, “Vec-tor Wave Digital Filters and Their Application to CircuitsWith Two-Port Elements,” IEEE Trans. Circuits Syst. IReg. Papers, vol. 68, no. 3, pp. 1269–1282 (2021 Mar.).https://doi.org/10.1109/TCSI.2020.3044002.

[42] K. Meerkotter and R. Scholz, “Digital Simulationof Nonlinear Circuits by Wave Digital Filter Principles,”in Proceedings of the IEEE International Symposium onCircuits and Systems, vol. 1, pp. 720–723 (Portland, OR)(1989 May). https://doi.org/10.1109/ISCAS.1989.100452.

[43] A. Bernardini and A. Sarti, “Biparametric WaveDigital Filters,” IEEE Trans. Circuits Syst. I Reg. Papers,vol. 64, no. 7, pp. 1826–1838 (2017 Jul.). https://doi.org/10.1109/TCSI.2017.2679007.

[44] A. Sarti and G. De Sanctis, “Systematic Meth-ods for the Implementation of Nonlinear Wave-DigitalStructures,” IEEE Trans. Circuits Syst. I Reg. Papers,vol. 56, no. 2, pp. 460–472 (2009 Feb.). https://doi.org/10.1109/TCSI.2008.2001801.

[45] M. Karjalainen and J. Pakarinen, “Wave DigitalSimulation of a Vacuum-Tube Amplifier,” in Proceedingsof the IEEE International Conference on Acoustics Speechand Signal Processing, pp. 153–156 (Toulouse, France)(2006 May). https://doi.org/10.1109/ICASSP.2006.1661235.

[46] A. Bernardini, K. J. Werner, A. Sarti, and J. O.Smith, “Modeling a Class of Multi-Port Nonlinearitiesin Wave Digital Structures,” in Proceedings of the 23rdEuropean Signal Processing Conference (EUSIPCO), pp.

664–668 (Nice, France) (2015 Aug./Sep.). https://doi.org/10.1109/EUSIPCO.2015.7362466.

[47] K. J. Werner, V. Nangia, J. O. Smith III, andJ. S. Abel, “Resolving Wave Digital Filters With Multi-ple/Multiport Nonlinearities,” in Proceedings of the 18thInternational Conference on Digital Audio Effects (DAFx-15) (Trondheim, Norway) (2015 Nov./Dec.).

[48] M. J. Olsen, K. J. Werner, and J. O.III Smith, “Re-solving Grouped Nonlinearities in Wave Digital Filters Us-ing Iterative Techniques,” in Proceedings of the 19th Inter-national Conference on Digital Audio Effects (DAFx-16),pp. 279–286 (Brno, Czech Republic) (2016 Sep.).

[49] A. Carson, Aliasing Reduction in Virtual AnalogueModelling, M.Sc. thesis, University of Edinburgh, Edin-burgh, UK (2020 Sep.).

[50] K. J. Werner, M. J. Olsen, M. Rest, and J. D. Parker,“Generalizing Root Variable Choice in Wave Digital FiltersWith Grouped Nonlinearities,” in Proceedings of the 20thInternational Conference on Digital Audio Effects (DAFx-17), pp. 176–183 (Edinburgh, UK) (2017 Sep.).

[51] M. Holters and U. Zolzer, “A k-d Tree BasedSolution Cache for the Non-Linear Equation of Cir-cuit Simulations,” in Proceedings of the 24th Euro-pean Signal Processing Conference (EUSIPCO), pp.1028–1032 (Budapest, Hungary) (2016 Aug./Sep.).https://doi.org/10.1109/EUSIPCO.2016.7760404.

[52] S. D’Angelo, L. Gabrielli, and L. Turchet, “Fast Ap-proximation of the Lambert W Function for Virtual AnalogModelling,” in Proceedings of the 22nd International Con-ference on Digital Audio Effects (DAFx-19) (Birmingham,UK) (2019 Sep.).

[53] J. J. Ebers and J. L. Moll, “Large-Signal Behavior ofJunction Transistors,” Proc. IRE, vol. 42, no. 12, pp. 1761–1772 (1954 Dec.). https://doi.org/10.1109/JRPROC.1954.274797.

J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August 463

Page 17: Antiderivative Antialiasing Techniques in Nonlinear Wave

ALBERTINI ET AL. PAPERS

THE AUTHORS

Davide Albertini Alberto Bernardini Augusto Sarti

Davide Albertini received his B.S. degree from Universityof Pavia, Italy in 2016 in Electronics and Computer Engi-neering and his M.S. degree (cum laude) from Politecnicodi Milano, Italy in 2020 in Computer Engineering - MusicalAcoustics. He is currently a Ph.D. student at Politecnico diMilano and his main research interests are Virtual Analogmodeling of audio circuits and Wireless Acoustic SensorNetworks.

•Alberto Bernardini received his B.S. degree from Uni-

versity of Bologna, Italy in 2012 and his M.S. degree (cumlaude) from Politecnico di Milano, Italy in 2015, both inComputer Engineering. In 2019 he received his Ph.D. de-gree (cum laude) in Information Engineering from Politec-nico di Milano, Italy, where he is currently a postdoctoralresearcher. His main research interests are audio signal pro-cessing and modeling of nonlinear systems. He authoredover 20 publications in international journals and proceed-ings of international conferences. He is also the first authorof an international patent.

•Augusto Sarti received his Ph.D. in Information Engi-

neering from the University of Padova, Italy in 1993, witha joint graduate program with the University of Califor-nia, Berkeley. In 1993 he joined the Politecnico di Mi-lano (PoliMI), Italy, where he is currently a Full Profes-sor. From 2013 to 2017 he held a professorship at theUniversity of California, Davis. At PoliMI he currentlycoordinates the research activities of the Musical Acous-tics Lab and the Sound and Music Computing Lab andthe M.Sc. program in “Music and Acoustic Engineering.”He has coauthored over 300 scientific publications on in-ternational journals and congresses and numerous patentsin the multimedia signal processing area. His current re-search interests are in the area of audio and acoustic sig-nal processing with particular focus on audio and acousticsignal processing, music information retrieval, and musi-cal acoustics. He served two terms with the IEEE Techni-cal Committee on Audio and Acoustics Signal Processing.He also served as Associate Editor of IEEE/ACM Trans-actions on Audio Speech and Language Processing andas Senior Area Editor of IEEE Signal Processing Let-ters. He is currently serving on the EURASIP board ofdirectors.

464 J. Audio Eng. Soc., Vol. 69, No. 7/8, 2021 July/August