+ All Categories
Home > Documents > A Computational Model of the Hammond Organ Vibrato/Chorus ... · Proceedings of the 19th...

A Computational Model of the Hammond Organ Vibrato/Chorus ... · Proceedings of the 19th...

Date post: 26-Mar-2020
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
9
A Computational model of the Hammond Organ Vibrato/Chorus Using Wave Digital Filters Werner, K. J., Dunkel, W. R., & Germain, F. G. (2016). A Computational model of the Hammond Organ Vibrato/Chorus Using Wave Digital Filters. In P. Rajmic, F. Rund, & J. Schimmel (Eds.), Proceedings of the 19th International Conference on Digital Audio Effects (pp. 271–278). [54] DAFx. Published in: Proceedings of the 19th International Conference on Digital Audio Effects Document Version: Publisher's PDF, also known as Version of record Queen's University Belfast - Research Portal: Link to publication record in Queen's University Belfast Research Portal Publisher rights Copyright 2016 The Authors Published in the Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16) General rights Copyright for the publications made accessible via the Queen's University Belfast Research Portal is retained by the author(s) and / or other copyright owners and it is a condition of accessing these publications that users recognise and abide by the legal requirements associated with these rights. Take down policy The Research Portal is Queen's institutional repository that provides access to Queen's research output. Every effort has been made to ensure that content in the Research Portal does not infringe any person's rights, or applicable UK laws. If you discover content in the Research Portal that you believe breaches copyright or violates any law, please contact [email protected]. Download date:03. Apr. 2020
Transcript
Page 1: A Computational Model of the Hammond Organ Vibrato/Chorus ... · Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September

A Computational model of the Hammond Organ Vibrato/Chorus UsingWave Digital Filters

Werner, K. J., Dunkel, W. R., & Germain, F. G. (2016). A Computational model of the Hammond OrganVibrato/Chorus Using Wave Digital Filters. In P. Rajmic, F. Rund, & J. Schimmel (Eds.), Proceedings of the 19thInternational Conference on Digital Audio Effects (pp. 271–278). [54] DAFx.

Published in:Proceedings of the 19th International Conference on Digital Audio Effects

Document Version:Publisher's PDF, also known as Version of record

Queen's University Belfast - Research Portal:Link to publication record in Queen's University Belfast Research Portal

Publisher rightsCopyright 2016 The AuthorsPublished in the Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16)

General rightsCopyright for the publications made accessible via the Queen's University Belfast Research Portal is retained by the author(s) and / or othercopyright owners and it is a condition of accessing these publications that users recognise and abide by the legal requirements associatedwith these rights.

Take down policyThe Research Portal is Queen's institutional repository that provides access to Queen's research output. Every effort has been made toensure that content in the Research Portal does not infringe any person's rights, or applicable UK laws. If you discover content in theResearch Portal that you believe breaches copyright or violates any law, please contact [email protected].

Download date:03. Apr. 2020

Page 2: A Computational Model of the Hammond Organ Vibrato/Chorus ... · Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September

Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September 5–9, 2016

A COMPUTATIONAL MODEL OF THE HAMMOND ORGAN VIBRATO/CHORUS USINGWAVE DIGITAL FILTERS

Kurt James Werner, W. Ross Dunkel, and François G. Germain

Center for Computer Research in Music and Acoustics (CCRMA), Stanford University660 Lomita Drive, Stanford, CA 94305, USA

[kwerner, chigi22, francois]@ccrma.stanford.edu

ABSTRACT

We present a computational model of the Hammond tonewheelorgan vibrato/chorus, a musical audio effect comprising an LCladder circuit and an electromechanical scanner. We model theLC ladder using the Wave Digital Filter (WDF) formalism, andintroduce a new approach to resolving multiple nonadaptable lin-ear elements at the root of a WDF tree. Additionally we formal-ize how to apply the well-known warped Bilinear Transform toWDF discretization of capacitors and inductors and review WDFpolarity inverters. To model the scanner we propose a simpli-fied and physically-informed approach. We discuss the time- andfrequency-domain behavior of the model, emphasizing the spectralproperties of interpolation between the taps of the LC ladder.

1. INTRODUCTION

The Hammond tonewheel organ’s vibrato/chorus1 (Fig. 1, Table 1)is a crucial ingredient of its unique sound. Its sonic character ishighly valued by musicians, having even been made into a gui-tar effect [2]. The vibrato/chorus consists of an LC ladder circuit(Fig. 1) and an electromechanical “scanner” [3], with three user-selectable “vibrato” (V1, V2, V3) and “chorus” (C1, C2, C3) set-tings. In this paper, we introduce a model of the Hammond organvibrato/chorus comprising a Wave Digital Filter (WDF) [4] modelof the LC ladder circuit and a simplified model of the scanner.

WDF theory was originally developed to facilitate the designof digital filters based on analog ladder prototypes [5]. In thatcontext, the low coefficient sensitivity of these prototypes leadsto attractive numerical properties in the WDF. Recent years haveseen an expansion of the use of WDFs into new fields includingvirtual analog circuit modeling [6]. Interestingly, ladder topologiesalso show up in electro-mechanical equivalent circuit models ofthe torsional modes of spring vibration relevant to spring reverbunits [7], another effect common in Hammond organs.

Modeling the Hammond organ LC ladder as a WDF presentsan issue that suggests an extension to WDF theory, and an oppor-tunity to discuss finer points of polarity handling and reactancediscretization. First, the ladder circuit has two non-adaptable lin-ear elements (a voltage source and a switch), one more than clas-sical WDF methods can handle. To address this, we extend themethod of [8] to the case of multiple linear nonadaptable elementsat the root of a WDF tree. Second, the circuit’s 36 reactances cre-ate magnitude responses with numerous salient features. We applythe well-known frequency-warped bilinear transform to the wave-digital capacitor and inductor to help control magnitude responsematching. Finally, polarity bookkeeping of port connections andthe 19 outputs of the LC ladder is non-trivial. Since it is essential

1We study the version used in late-model Hammond B-3s [1]

to get each port’s polarity correct and to simplify the calculationof node voltages, we review the derivation of wave-digital polarityinverters and illustrate their systematic use.

Although the vibrato/chorus has not been studied in the vir-tual analog context, there exists extensive related work on mod-eling other aspects of the complex and pleasingly idiosyncraticsound of the Hammond organ. For the practicing musician, a se-ries of five Sound on Sound articles (beginning with [9]) detailshow to mimic each sub-system of the Hammond from tonewheelto Leslie speaker using standard synthesis tools. [10] points out thedifficulty of emulating the vibrato/chorus using a standard digitalchorus. Numerous commercial emulations known as “clonewheelorgans” have been released over the years. Academic papers havecovered various aspects of the Hammond sound. Pekonen et al. [11]propose efficient models of the organ’s basic apparatus includingtonewheels draw-bars. More abstractly, a novel “Hammondizer”effect by Werner and Abel [12] imprints the sonic characteristicsof the organ onto any input audio, extending effect processing [13]within a modal reverberator framework [14]. An important partof the organ’s sound, the Leslie rotating speaker [15] has beenthe subject of the majority of Hammond-related academic work.Its simulation has been tackled using a perceptual approach [16],modulated and interpolated delay lines [17,18]2, Doppler shift andamplitude modulation [19, 20], a measurement-based black boxapproach [21], and spectral delay filters [11].

The paper is structured as follows. Section 2 details the Ham-mond vibrato/chorus. Section 3 presents a simplified model of thescanner. Section 4 presents a WDF model of the LC ladder circuit.Section 5 characterizes these models.

2. REFERENCE SYSTEM DESCRIPTION

This section details the Hammond Organ vibrato/chorus, which in-cludes a LC ladder circuit (Fig. 1, bottom, Section 2.1) and an elec-tromechanical “scanner” apparatus (Fig. 1, top, Section 2.2). Thegray box on Fig. 1 represents a bank of switches that connect thetap node voltages v1 · · · v19 on the ladder to the terminals t1 · · · t9on the scanner. The setting (V1/V2/V3/C1/C2/C3) controls theseswitches according to Table 2.

In principle, the LC ladder serves the same purpose as the de-lay line in a standard digital chorus effect [22]. The LC ladderdiffers from a delay line in that the LC ladder is not strictly uni-directional and that it filters as it delays a signal. This filteringfeatures pronounced non-uniform passband ripples and a lowpasscutoff that depends on the inductor and capacitor values.

On the other hand, the scanner serves the same purpose as in-terpolation in a standard digital modulated-delay effect [22]. Stan-

2https://ccrma.stanford.edu/ jos/pasp/Leslie.html

DAFX-271

Page 3: A Computational Model of the Hammond Organ Vibrato/Chorus ... · Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September

Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September 5–9, 2016

t1 t2 t3 t4 t5 t6 t7 t8 t9

+−

v1

L1

C1

R1+

R1−vin

v2

L2

C2

R2+

R2−

v3

L3

C3

R3+

R3−

v4

L4

C4

R4+

R4−

v5

L5

C5

R5+

R5−

v6

L6

C6

R6+

R6−

v7

L7

C7

v8

L8

C8

v9

L9

C9

v10

L10

C10

v11

L11

C11

v12

L12

C12

v13

L13

C13

v14

L14

C14

v15

L15

C15

v16

L16

C16

v17

L17

C17

v18

L18

C18

v19

Rt

Rc

vibrato (closed)chorus (open)

vout

t1 t2 t3 t4 t5 t6 t7 t8 t9

Figure 1: Vibrato/Chorus Schematic.

+− vin

Rc

vx

Lx

Cx

Rx+

Rx−

vy

Ly

Cy

v19

Rt

· · ·

· · ·

· · ·

· · ·

· · ·

· · ·

×6x ∈ [1 · · · 6]

×12y ∈ [7 · · · 18]

+

vD

+

vx,l

+

vx,r

+

vy,l

+

vy,r

+

vt

Figure 2: Vibrato/Chorus Schematic Partitioned.

Table 1: Component values.

Name value unitsRc 22 kΩR1+ 27 kΩR1− 68 kΩR2+ 56 kΩR3+ 39 kΩR2−,R3− 0.15 MΩR4+ 33 kΩR5+ 18 kΩR6+ 12 kΩR4− · · ·R6− 0.18 MΩL1 · · ·L18 500 mHC1 · · ·C17 0.004 µFC18 0.001 µFRt 15 kΩ

dard digital linear interpolation has a well-known lowpass charac-teristic [18]3 that digital audio effect designers often try to avoidby using, e.g., allpass interpolation [18]4. Ironically, the scanner ofthe Hammond Organ vibrato/chorus essentially implements linearinterpolation—meaning it does not have an allpass characteristic.

Table 2: Taps for different depth settings.

depth t1 t2 t3 t4 t5 t6 t7 t8 t9V1/C1 v1 v2 v3 v4 v5 v6 v7 v8 v9

V2/C2 v1 v2 v3 v5 v7 v9 v11 v12 v13

V3/C3 v1 v2 v4 v7 v10 v13 v16 v18 v19

2.1. LC Ladder Circuit

The input signal is represented as an ideal voltage source vin. 19LC ladder stages are composed of inductors L1 · · ·L19, capac-itors C1 · · ·C19, and voltage divider pairs Rk+ and Rk−, k ∈[1 · · · 6]. A termination resistor Rt ends the ladder. A switch con-trols whetherRc is shorted or not. Electrical component values forthe circuit are given in Table 1 [1].

3https://ccrma.stanford.edu/~jos/pasp/Fractional_Delay_Filtering_Linear.html

4https://ccrma.stanford.edu/~jos/pasp/First_Order_Allpass_Interpolation.html

This highly structured circuit is partitioned into four subcir-cuits as shown in Fig. 2. The first subcircuit includes vin, Rc, andthe switch and presents a port “D” to the rest of the circuit.

The second subcircuit has 6 stages indexed by x ∈ [1 · · · 6]:inductor Lx, capacitorCx, and voltage divider pairRx+ andRx−.The tap node voltage vx is the output of each stage. Each stagepresents a left-facing (“x, l”) and right-facing (“x, r”) port to therest of the circuit. Ports “D” and “1, l” are connected and the 5port pairs “(k + 1), l” and “k, r”, k ∈ [2 · · · 6] are connected.

The third subcircuit has 12 stages indexed by y ∈ [7 · · · 18]:inductor Ly and capacitor Cy . The tap node voltage vy is theoutput of each stage. Each stage presents a left-facing (“y, l”) andright-facing (“y, r”) port to the rest of the circuit. Ports “6, r” and“7, l” are connected and the 11 port pairs “(k + 1), l” and “k, r”,k ∈ [7 · · · 17] are connected.

The fourth subcircuit is simply the termination resistance Rtthat presents port t to the rest of the circuit and has the tap nodevoltage v19 as an output. Ports “18, r” and “t” are connected.

2.2. Scanner Device

The vibrato scanner consists of a moving rotor with node volt-age vout that cyclically scans a stack of keystone-shaped outputplates across 16 fixed stacks of identical plates arranged in a cir-cle. At any given time, 2 of these 16 stacks partially overlap therotor stack, forming two capacitors whose capacitances are pro-

DAFX-272

Page 4: A Computational Model of the Hammond Organ Vibrato/Chorus ... · Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September

Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September 5–9, 2016

0 π/4 π/2 3π/4 π 5π/4 3π/2 7π/4 2π

01 1

23

456789

angle (Radians)

gai

n

Figure 3: Gain applied to each scanner terminal t1 · · · t9.

portional to the overlapping area between each fixed stack and therotor stack. Conceptually, these two capacitances form a time-varying capacitive voltage divider, which crossfades between thenode voltages of these 2 stacks. The 16 fixed plate stacks are con-nected to the 9 terminals t1 · · · t9 which sets their respective nodevoltages to the node voltages of the corresponding terminals. Asthe rotor undergoes a complete rotation, it “scans” from t1 to t9and back. The “there-and-back-again” form of the tap gains pro-duces various cyclic vibrato effects.

3. SCANNER MODEL

In this section, we propose a simplified model of the scanner. Sincethe scanner capacitances are small compared to the ladder capac-itors, it is reasonable to assume that they don’t load the laddercircuit. Therefore, we are justified in modeling the LC ladderand scanner separately. The scanner takes the 19 node voltagesv1 · · · v19 as input and produces a single output voltage vout.

At any given time, two plates overlap the rotor plate, creatingtwo distinct capacitors. We assume that only these two capacitorshave a non-negligible contribution to the output voltage. Underthat assumption, those two form a capacitive voltage divider. To re-flect this, we model the scanner output as a crossfade between twonode voltages vα and vβ according to vout = η vα+(1−η)vβ . Themixing coefficient η ∈ [0.0, 1.0] varies with the two capacitancesCα and Cβ as η = Cα/(Cα +Cβ). Assuming circular symmetryof each plate and ignoring the small gap between stacks, Cα +Cβis a constant. Since each capacitance is theoretically proportionalto the overlap area, the gain is modeled as a simple function ofthe rotor angle, according to Fig. 3. The variation of rotor angleover time follows the one in the physical organ, where the rotor isdriven at a constant rate of ≈ 6 Hz by a synchronous motor [3].

4. WDF MODEL OF LC LADDER

In this section, we detail WDF simulation of the LC ladder circuit.The structure for subcircuits two, three, and four is outlined in Sec-tion 4.1. The first subcircuit contains multiple nonadaptable linearelements and cannot be handled with standard WDF techniques.We introduce a new approach to resolving this issue in Section 4.2and apply it to the LC ladder in Section 4.3. In Section 4.4 weuse the frequency-warped bilinear transform for WDF discretiza-tion of capacitors and inductors; in Section 4.5 we review WDFpolarity inverters which are essential for proper bookkeeping.

4.1. WDF Tree (Subcircuits 2–4)

To model the LC ladder circuit, we derive the WDF structure of itscircuit. Fig. 4 shows the partitioned schematic rearranged to high-light the underlying topology (with polarities labeled) and Fig. 5shows the resulting WDF structure.

The 6 stages in the second subcircuit can be decomposed intostandard WDF one-ports (Rx−, Rx+, Lx, and Cx) and adaptors(Sx, Sx′, Px, and Px′). The presence of the two inverters Ix andIx′ warrants explanation. We have already assigned polarities tothe ports that connect stages, and series and parallel adaptors haveinherent port polarities. Inverters Ix reconcile the discrepancy be-tween the polarity of the right-facing port of each parallel adaptorPx and the left-facing port of P(x+1)′ or S7. Inverters Ix′ sim-plify the extraction of node voltages vx, which are calculated bycombining port voltages across resistors Rc and Rx− as

vx = vc + vx− =1

2(ac + bc + ax− + bx−) , (1)

where vc, ac, and bc are the port voltage across, incident wave, andreflected wave at resistor Rc in the first subcircuit.

The 12 stages in the third subcircuit can be decomposed intostandard WDF one-ports (Ly and Cy) and adaptors (Sy and Py).Again inverters Iy reconcile the discrepancy between the polar-ity of the right-facing port of each Py and the left-facing port ofSy+1 or Rt. Node voltages vy in this subcircuit are extracted bycombining the port voltages of resistor Rc and the left-facing portvoltage of each stage vy,l as

vy = vc + vy,l =1

2(ac + bc + ay,l + by,l) . (2)

The fourth subcircuit is decomposed simply into a WDF resis-tor Rt. Node voltage v19 is extracted by

v19 = vc + vt =1

2(ac + bc + at + bt) . (3)

4.2. Root with Multiple Elements

Reference circuits such as the Hammond organ vibrato/chorus cir-cuit commonly include multiple nonadaptable elements (linear andnonlinear). Trying to accomodate multiple nonadaptable elementsin a standard WDF connection tree causes unavoidable delay-freeloops which leads to computability problems.

Historically, algorithm designers commonly use one of twotactics to ameliorate these issues. One tactic is to alter the ref-erence circuit to make the structure computable. It is common toapproximate ideal voltage sources as resistive voltage sources withsmall series resistances and to approximate ideal current sources asresistive current sources with large parallel resistances. The sameprinciple can be used to approximate short circuits or the closedstate of switches as small resistances and to approximate open cir-cuits or the open state of switches as large resistances. Further-more, certain nonlinear elements can be reasonably approximatedby linearizing them with controlled sources and immitances [6,23].A second tactic is to alter the WDF by introducing fictitious unitdelays to resolve delay-free loops. Fettweis used this approach [5]before developing reflection-free ports [24], and it is still commonin virtual analog [25, 26]. Of course, altering the reference circuitthrough these tactics introduces error (e.g. dissipation, dispersion)and can have adverse effects on stability.

DAFX-273

Page 5: A Computational Model of the Hammond Organ Vibrato/Chorus ... · Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September

Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September 5–9, 2016

+−

vD

+−

vx,l

+−

vx,r

+−

vy,l

+−

vy,r

+−

vt

+−

+−

+−

−+

+−

−+

−+

−+

+−

+−

+−

+− +−

−+

−+

+− +−· · ·

· · ·

· · ·

· · ·

· · ·

· · ·

vin

Rc

Rx+

Rx−

Lx Cx Ly Cy

Rt

×6x ∈ [1 · · · 6]

×12y ∈ [7 · · · 18]

(a) Highlight WDF structure

+−

iB

+−

iA iD

+−

iC

+−

vA

+

vB

+

vC+−

vD

+

−eA

eB

eC

eD

0

1

2

3

4

5

6RA

RB

RC

RD×

(b) Thévenin equivalents attached.

Figure 4: LC ladder Schematic, rearranged towards WDF.

+−

· · ·

· · ·

· · ·

· · ·

· · ·

· · ·

bD

aD

ax,l

bx,l

bx,r

ax,r

ay,l

by,l

by,r

ay,r

at

btR+−

+−+−

Px′

Ix′

PxSx

Sx′Ix Sy Py Iy

vin

Rc

Rx+

Rx−

Lx Cx Ly Cy

Rt

×6x ∈ [1 · · · 6]

×12y ∈ [7 · · · 18]

(a) WDF structure

eC

+−

vin

R

aA

bA

aB

bB

bA′

aA′

bB′

aB′

aC bC

bD

aD

×

×

Rc

(b) Root Waves.

Figure 5: WDF structure of LC ladder.

In [8], Werner et al. propose a method for handling multiplenonlinearities that does not resort to these tactics. All of the non-linearities are grouped as sub-elements of a WDF structure at theroot of the WDF tree. Inside that structure, and after proper modifi-cation of the circuit graph, those elements end up being connectedto each other through a complex R-type adaptor that also inter-faces those elements to the rest of the circuit. The method of [27]is used to solve for the scattering behavior of this R-type adap-tor. Because of the non-adaptable nature of the root elements, theresponse of the root adaptor structure from the perspective of therest of the tree forms an implicit loop that we can resolve using ei-ther a tabulated solution [8] or an iterative solution [28,29]. Theseapproaches extends readily to nonadaptable linear elements, but isunnecessarily complex. Here we propose a novel more efficientapproach for the case of multiple nonadaptable linear elements.

Consider a complex root topology with “external” incidentwaves ae and reflected waves be facing the rest of the circuit and“internal” incident waves ai and reflected waves bi facing the non-adaptable linear elements, related by the scattering relationship[

bibe

]=

[S11 S12

S21 S22

] [aiae

](4)

The vector of nonadaptable linear elements relates the incident

waves aroot and inputs xroot to reflected waves broot by

broot = Φaroot + Ψxroot , (5)

where Φ and Ψ embody the wave-domain behavior of the linearelements. aroot and broot are related to the ai and bi by

aroot = bi and ai = broot . (6)

Combining (4), (5), and (6) and solving for be yields

be = Γae + Θxroot with

Γ = ΘS12 + S22 , Θ = S21 (I−ΦS11)−1 Ψ, .(7)

4.3. WDF Root (Subcircuit 1)

Here, we apply the theory developed in Section 4.2 to the first sub-circuit of the Hammond vibrato/chorus. The first subcircuit con-tains two non-adaptable elements, a voltage source and a switch.As a result, those two elements need to be grouped at the root ofthe WDF structure following the method outlined in Section 4.2,connecting them through anR-type adaptor [27] with incident andreflected waves

a =[a>i a>e

]> and b =[b>i b>e

]>, (8)

DAFX-274

Page 6: A Computational Model of the Hammond Organ Vibrato/Chorus ... · Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September

Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September 5–9, 2016

GB 0 0 0 −GB 0 0 −1 0 −1 0

0 GA +GD 0 −GA 0 0 −GD 0 0 0 −10 0 GC 0 0 −GC 0 0 −1 0 0

0 −GA 0 GA 0 0 0 1 0 0 0−GB 0 0 0 GB 0 0 0 1 0 0

0 0 −GC 0 0 GC 0 0 0 1 0

0 −GD 0 0 0 0 GD 0 0 0 1−1 0 0 1 0 0 0 0 0 0 00 0 −1 0 1 0 0 0 0 0 0−1 0 0 0 0 1 0 0 0 0 00 −1 0 0 0 0 1 0 0 0 0

0 1 2 3 4 5 6 A B C D

0

1

2

3

4

5

6ABCD

v 0©v 1©v 2©v 3©v 4©v 5©v 6©jAjBjCjD

=

0000000eAeBeCeD

Figure 6: MNA matrix. Red and blue cells respectively show examples of resistor and voltage source “stamps” [27].

“external” wave vectors

ae =[aC aD

]> and be =[bC bD

]>, (9)

and “internal” wave vectors

ai =[aA aB

]> and bi =[bA bB

]>. (10)

Using the method of [27], we can solve for the scattering matrix Sthat relates the incident waves a and reflected waves b as b = Sa.To do so, we attach instantaneous Thévenin port equivalents toeach of the ports A · · ·D (Fig. 4b) and confront Modified NodalAnalysis (the MNA system for Fig. 4b is shown in Fig. 6) with thestandard voltage wave definition, yielding

S = I + 2[0 R

]X−1 [0 I

]> (11)

where R = diag ([RA · · ·RD]) is the diagonal matrix of port re-sistances and X is the MNA system matrix.

The vector of nonadaptable linear elements includes the volt-age source vin and the switch, which relate “root” wave vectors

aroot =[aA′ aB′

]> and broot =[bA′ bB′

]>. (12)

As before, port connections enforce aroot = bi and ai = broot.The ideal voltage source vin has the wave-domain relationship

bA′ [n] = aA′ [n] + 2 vin[n]. (13)

An ideal switch has the wave-domain relationship

bB′ [n] = w aB′ [n] , w =

−1 open switch+1 closed switch

. (14)

In the context of (5), (13)–(14) define

Φ =

[−1 00 w

], Ψ =

[2 00 0

], xroot =

[vin

0

]. (15)

Plugging (15) and (11) into (7) yields be, solving the root topologywith multiple nonadaptable linear elements.

4.4. Frequency-Warped One-Port Linear Reactances

Having solved the issue of realizing the WDF, we now turn ourattention to discretization schemes for its reactances. The LC lad-der’s 36 reactances combine to create magnitude responses withnumerous salient features, especially a sharp lowpass cutoff. To

control the magnitude response’s match to the reference domain,we apply the well-known frequency-warped bilinear transform tothe wave-digital capacitor and inductor.

WDFs involve one-port ideal linear reactances: the capacitor(of capacitance C) and inductor (of inductance L). Their current–voltage relationships are:

Cv(t) = i(t) and v(t) = Li(t) (16)

where v is the port voltage, and i is the port current. Their corre-sponding Laplace transforms are:

CsV(s) = I(s) and V(s) = LsI(s) . (17)

Plugging in the standard WDF voltage-wave definitions

a = v +Ri and b = v −Ri (18)

parameterized by arbitrary port resistance R yields continuous-time transfer functionsH(s) = B(s)/A(s):

HC(s) =1−RCs1 +RCs

and HL(s) =R− LsR+ Ls

(19)

To simulate the system, we discretize reactive elements to ob-tain H(z−1) = B(z−1)/A(z−1) for each. WDFs commonlyuse the bilinear transform (BLT) [4], which substitutes 2

T1−z−1

1+z−1

for s in H(s) to form H(z−1) (T is the sampling period). TheBLT’s desirable numerical properties include transfer function or-der preservation, unconditional stability, and passivity in the WDFdomain, but it suffers from a well-known frequency distortion [18].

A common extension to the BLT is the warped (or generalized)BLT which is identical except T is replaced by T ′ [30] so as tosubstitute 2

T ′1−z−1

1+z−1 for s. This degree of freedom is used to alterthe BLT’s frequency distortion and ensure that, by selecting T ′

properly, one continuous-time frequency Ω0 is mapped correctly,i.e., H(jΩ0) = H(e−jΩ0T ). The coefficient T ′ that achieves thecorrect mapping is given by:

T ′ = 2 tan (Ω0T/2) /Ω0 . (20)

The warped BLT has the same desirable numerical properties asthe BLT. Since it is not common in the WDF context, we brieflydevelop warped BLT discretization of WDF one-port reactances.

One-port linear reactances have a first-order continuous-timetransfer function, so the warped BLT yields a first-order transferfunction in discrete time with z-transform

H(z−1) =B(z−1)

A(z−1)=β0 + β1z

−1

α0 + α1z−1. (21)

DAFX-275

Page 7: A Computational Model of the Hammond Organ Vibrato/Chorus ... · Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September

Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September 5–9, 2016

For a capacitor C and inductor L, these coefficients are:

C: β0 = α1 =T ′

2C−R , β1 = α0 =

T ′

2C+R (22)

L: β0 = −α1 = R+2L

T ′, β1 = −α0 = R− 2L

T ′. (23)

To eliminate delay-free loops, all one-port leaf elements of aWDF require adaptation: picking a value of R that satisfies β0 =0. The port impedances that adapt a capacitor and inductor are

RC = T ′/(2C) and RL = 2L/T ′ (24)

which yield discretized transfer functions

HC(z−1) = z−1 and HL(z−1) = −z−1 . (25)

Interestingly, the discretized transfer functions of the capacitorand inductor do not depend on C, L, or T ′. However, all of thesedo affect their adapted port resistance.

i1

i2v1−

+v2

+

(a) Kirchhoff domain.

b2

a2

a1

b1

+−

(b) Wave domain.

Figure 7: WDF 2-port series adaptor / inverter.

4.5. Wave-Digital Inverter

We saw above that wave-digital polarity inverters must necessarilybe employed for proper bookkeeping of port connection polarityand to simplify the calculation of node voltages. Here, we reviewthe derivation of those inverters.

Consider two connected ports 1 and 2 with port voltages v1

and v2 and port currents i1 and i2; these ports can be connected intwo ways. In the Kirchhoff domain, a two-port parallel connectionis characterized by v1 = v2 and i1 = −i2 and a two-port seriesconnection by i1 = i2 and v1 = −v2. Plugging in the standardWDF voltage wave definition (18) yields a scattering relationship[

b1b2

]=

[s11 s12

s21 s22

]︸ ︷︷ ︸

S

[a1

a2

], (26)

parameterized by the two port resistances R1 and R2. These two-port adaptors scatter according to

S =

[−R1−R2R1+R2

2λR1R1+R2

2λR2R1+R2

R1−R2R1+R2

], λ =

−1 series+1 parallel

(27)

and are both rendered reflection-free by setting R1 = R2:[s11 s12

s21 s22

]=

[0 λλ 0

]. (28)

Notice that the reflection-free two-port parallel connection is sim-ply a normal WDF port connection [4] with each incident waveequal to the opposite reflected wave. The two-port series connec-tion inverts the reflected wave from each port to form the inci-dent wave at the other port; it is in fact the wave-digital inverter(Fig. 7) [27, 31].

5. RESULTS

Here we discuss some results that characterize our model of theHammond vibrato/chorus, including the impulse and magnituderesponses of each tap in the LC ladder (Section 5.1), a study onthe spectral aspects of scanner interpolation (Section 5.2), and theresponse to a single sinusoid (Section 5.3). These results reveal avariety of effects, including delay-length modulation, phaser-likeeffects, amplitude modulation, and modulated comb filter effects.

5.1. Impulse and Magnitude Responses of LC Ladder

Figs. 8 and 9 show the impulse and magnitude responses at eachtap v1 · · · v19 under two different WDF discretizations comparedto a reference “ground truth” SPICE simulation.

In Fig. 8, we use a sampling rate of fs = 44100 Hz, with thecapacitors and inductors discretized using the standard BLT withno frequency warping, i.e., T ′ = T = 1/fs ≈ 2.2676× 10−5. InFig. 9, use use instead a warped BLT with T ′ chosen to match thefrequency Ω0 = 7075 Hz, approximately the passband edge of theladder, yielding T ′ ≈ 2.2724× 10−5 (20).

In the time domain plots, it can be seen that the LC ladder ap-proximates a delay line. In theory, LC ladders have an idealizedtotal delay time of

√∑L×

∑C [32], meaning ≈ 0.85 ms for

the Hammond vibrato/chorus. It can be seen in the SPICE simula-tions that the impulse is delayed and “smeared” progressively as ittravels down the line, and indeed experiences ≈ 0.85 ms of delayby tap 19. To understand the complex nature of this smearing, weturn to the magnitude response.

In the magnitude response, the lowpass characteristic of theLC ladder is apparent. In the SPICE simulations, the passbandedge frequency is ≈ 7075 Hz. The amount of attenuation in thestopband depends on tap index: v1 has no attenuation, and theslope increases as tap index increases. Notice that in the simula-tion using the unwarped BLT, dc is matched perfectly, while fre-quency distortion builds up as frequency increases. Specifically,the passband edge is depressed by almost 500 Hz compared to theSPICE simulation. Using the warped BLT, 7075 Hz is matchedperfectly. While matching the passband edge may be preferabledue to its perceptual salience, a mismatch remains for the rest ofthe magnitude response, most noticeably between dc and the pass-band edge. While the passband has dozens of features, the warpedBLT can only match one. Notice that, back in the time domain, thefrequency warpings of different discretizations manifests as dif-ferent smearings. Alternatively, applying 4× oversampling is aneffective though expensive way to achieve good agreement fromdc to the passband edge.

5.2. Magnitude Response of Scanner Model Interpolation

Fig. 10 shows the magnitude response of scanner model interpo-lation between terminals for the V1 (Fig. 10a), V2 (Fig. 10b), andV3 (Fig. 10c) settings (using the unwarped BLT). dB markings areshown on the color axis. The horizontal axis represents the scannerangle θ. At the vertical markings with tap indices labeled under-neath, the scanner is exactly on one of the terminals. Between tapindices are interpolations between them.

In addition to providing a time-varying delay, the ladder circuitand scanner impart complex spectral coloration. First, the sharppassband edge is modulated slightly over the course of each vi-brato cycle. The passband ripples also follow complex trajecto-ries during each cycle. Since the ripples are relatively deep (many

DAFX-276

Page 8: A Computational Model of the Hammond Organ Vibrato/Chorus ... · Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September

Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September 5–9, 2016

0 0.5 1 1.5 2 2.5−7.5

−7

−6.5

−6

−5.5

−5

−4.5

−4

−3.5

−3

−2.5

−2

−1.5

−1

−0.5

0

0.5

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

time (ms)

tap v

olt

age

(V)

(a) Impulse response.

1000 2000 3000 4000 5000 6000 7000 8000

−252

−228

−204

−180

−156

−132

−108

−84

−60

−36

−12

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

frequency (Hz)

mag

nit

ud

e (d

B)

SPICE

WDF

(b) Magnitude response.

Figure 8: Responses of the LC ladder, using unwarped BLT.

around 6 dB and some larger), they create an audible phaser-likeeffect on broadband input signals. The voltage dividers Rk− andRk+, k ∈ 1 · · · 6, produce amplitude modulation during each cy-cle of θ [10]. Table 3 shows the gain of each stage’s divider.

Table 3: Voltage divider gains (in dB) at each tap.

tap 1 2 3 4 5 6 7 · · · 19gain −2.9 −2.8 −2.0 −1.5 −0.83 −0.56 0

Since the Hammond vibrato/chorus approximates a delay lineit is not surprising that the magnitude response of the scanner inter-polation exhibits comb-filter-like features. Assuming the idealizeddelay time discussed earlier, linear interpolation would producenotches halfway through each crossfade at frequencies dictated bythe separation between taps, at the locations indicated by × sym-bols. The actual minima in the Hammond response are very closeto these notches, as predicted.

5.3. Sinusoid Study

We study a single 1760 Hz (A6 in scientific pitch notation) sinu-soidal input for the three vibrato depth settings (Fig. 11). Noticethat the V1 setting produces the narrowest vibrato, the V2 settingproduces a medium vibrato, and the V3 setting produces the widestvibrato. Notice also that each setting produces a differently shapedvibrato. The vibrato width and shape are a consequence of the dif-ferent tap spacings of each setting; the time-varying phase shiftfor a given frequency, which manifests as frequency modulation,is proportional to the time derivative of its group delay [19]. Thecombination of amplitude modulation and frequency modulationis visible as 6× 16 Hz spaced sidebands around the main signal.

0 0.5 1 1.5 2 2.5−7.5

−7

−6.5

−6

−5.5

−5

−4.5

−4

−3.5

−3

−2.5

−2

−1.5

−1

−0.5

0

0.5

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

time (ms)

tap v

olt

age

(V)

(a) Impulse response.

1000 2000 3000 4000 5000 6000 7000 8000

−252

−228

−204

−180

−156

−132

−108

−84

−60

−36

−12

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

frequency (Hz)

mag

nit

ud

e (d

B)

SPICE

Warped WDF

(b) Magnitude response.

Figure 9: Responses of the LC ladder, using warped BLT.

6. CONCLUSION

In this study on modeling the Hammond organ vibrato/chorus, weintroduced new theoretical tools enabling the inclusion of multi-ple linear nonadaptable elements at the root of a WDF tree, ap-plied the well-known frequency-warped bilinear transform to thederivation of wave-digital capacitors and inductors, and illustratedthe systematic use of wave-digital polarity inverters. Although be-yond the scope of this paper, the complex spectral properties andfrequency-dependent vibrato of the Hammond organ vibrato/chorusdeserve further study (cf. the complexities of vocal vibrato, includ-ing “spectral modulation” [33]).

7. ACKNOWLEDGMENTS

Thanks to Jonathan Abel for helpful discussions on ladder circuits.

8. REFERENCES

[1] “Service manual—models: A, A-100, AB, BA, BC, BCV, BV, B2,B3, C, CV, C2, C-2G, C3, D, DV, D-100, E, G, GV, RT, RT-2, RT-3,” Tech. Rep. HOOO-OOO495, Nov. 1987.

[2] S. Hammond, “Analog Outfitters scanner review,” Premier Guitar,Dec. 18 2015.

[3] J. M. Hanert, “Electrical musical apparatus,” Aug. 14 1945, U.S.Patent No. 2,382,413.

[4] A. Fettweis, “Wave digital filters: Theory and practice,” Proc. IEEE,vol. 74, no. 2, pp. 270–327, 1986.

[5] A. Fettweis, “Digital filters structures related to classical filter net-works,” Archiv Elektronik Übertragungstechnik (AEÜ), vol. 25, pp.79–89, 1971.

[6] G. De Sanctis and A. Sarti, “Virtual analog modeling in the wave-digital domain,” IEEE Trans. Audio, Speech, Language Process.(TASLP), vol. 18, no. 4, pp. 715–727, 2010.

[7] H. E. Meinema and W. C. Johnson, H. A. .and Laube Jr., “A newreverberation device for high fidelity systems,” J. Audio Eng. Soc.(JAES), vol. 9, no. 4, pp. 284–326, 1961.

DAFX-277

Page 9: A Computational Model of the Hammond Organ Vibrato/Chorus ... · Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September

Proceedings of the 19th International Conference on Digital Audio Effects (DAFx-16), Brno, Czech Republic, September 5–9, 2016

(a) V1 Setting. (b) V2 Setting. (c) V3 Setting.

Figure 10: Magnitude response at various interpolations. Recall Fig. 3 and Table 2.

[8] K. J. Werner, V. Nangia, J. O. Smith III, and J. S. Abel, “Resolvingwave digital filters with multiple/multiport nonlinearities,” in Proc.18th Int. Conf. on Digital Audio Effects (DAFx), Trondheim, Norway,Nov. 30 – Dec. 3 2015.

[9] G. Reid, “Synthesizing tonewheel organs,” Sound on Sound (SOS),Nov. 2003.

[10] G. Reid, “Synthesizing Hammond organ effects: Part 1,” SOS, Jan.2004.

[11] J. Pekonen, T. Pihlajamäki, and V. Välimäki, “Computationally effi-cient Hammond organ synthesis,” in Proc. 14th DAFx, Paris, France,Sept. 19–23 2011.

[12] K. J. Werner and J. S. Abel, “Modal processor effects inspired byHammond tonewheel organs,” Appl. Sci., vol. 6, no. 7 (Special Issue“Audio Signal Processing”), 2016.

[13] J. S. Abel and K. J. Werner, “Distortion and pitch processing using amodal reverb architecture,” in Proc. 18th DAFx, Trondheim, Norway,Nov. 30 – Dec. 3 2015.

[14] J. S. Abel, S. Coffin, and K. S. Spratt, “A modal architecture forartificial reverberation with application to room acoustics modeling,”in Proc. 137th AES, Los Angeles, CA, Oct. 9–12 2014.

[15] D. J. Leslie, “Rotatable tremulant sound producer,” Nov. 29 1949,U.S. Patent No. 2,489,653.

[16] R. Kronland-Martinet and T. Voinier, “Real-time perceptual sim-ulation of moving sources: Application to the Leslie cabinet and3D sound immersion,” EURASIP J. Audio, Speech, Music Process.,2008, Article ID 849696.

[17] J. Smith, S. Serafin, J. Abel, and D. Berners, “Doppler simulationand the Leslie,” in Proc. 5th DAFx, Hamburg, Germany, Sept. 26–282002.

[18] J. O. Smith III, Physical Audio Signal Processing for Virtual MusicalInstruments and Audio Effects, Online book, 2010 edition.

[19] S. Disch and U. Zölzer, “Modulation and delay line based digitalaudio effects,” in Proc. 2nd DAFx, Trondheim, Norway, Dec. 9–111999.

[20] P. Dutilleux, M. Holters, S. Disch, and U. Zölzer, Modulators anddemodulators, chapter 3, pp. 83–99, 2011, appears in [34].

[21] J. Herrera, C. Hanson, and S. Abel, J. “Discrete time emulation ofthe Leslie speaker,” in Proc. 127th Conv. Audio Eng. Soc. (AES),New York, NY, USA, Oct. 9–12 2009, Conv. Paper 7925.

[22] J. Dattorro, “Effect design part 2: Delay-line modulation and cho-rus,” JAES, vol. 45, no. 10, pp. 764–768, Oct. 1997.

[23] K. J. Werner, W. R. Dunkel, M. Rest, M. J. Olsen, and J. O. SmithIII, “Wave digital filter modeling of circuits with operational am-plifiers,” in Proc. European Signal Process. Conf. (EUSIPCO), Bu-dapest, Hungary, Aug. 29 – Sept. 2 2016.

[24] A. Fettweis and K. Meerkötter, “On adaptors for wave digital filters,”IEEE Trans. Acoust., Speech, Signal Process., vol. 23, no. 6, 1975.

[25] R. C. D. de Paiva, J. Pakarinen, V. Välimäki, and M. Tikander,“Real-time audio transformer emulation for virtual tube amplifiers,”EURASIP J. Advances Signal Process., 2011.

(a) V1 setting. (b) V2 setting. (c) V3 setting.

Figure 11: Studying a single 1760 Hz sinusoid.

[26] J. Pakarinen and M. Karjalainen, “Enhanced wave digital triodemodel for real-time tube amplifier emulation,” IEEE TASLP, vol.18, no. 4, pp. 738–746, 2010.

[27] K. J. Werner, J. O. Smith III, and J. S. Abel, “Wave digital filter adap-tors for arbitrary topologies and multiport linear elements,” in Proc.18th DAFx, Trondheim, Norway, Nov. 30 – Dec. 3 2015.

[28] M. J. Olsen, K. J. Werner, and J. O. Smith III, “An iterative approachto resolving wave digital filters with grouped nonlinearities,” in Proc.19th DAFx, Brno, Czech Republic, Sept. 5–9 2016.

[29] W. R. Dunkel, M. Rest, K. J. Werner, M. J. Olsen, and J. O. Smith III,“The Fender Bassman 5F6-A family of preamplifier circuits—a wavedigital filter case study,” in Proc. 19th DAFx, Brno, Czech Republic,Sept. 5–9.

[30] F. G. Germain and K. J. Werner, “Design principles for lumped modeldiscretization using Möbius transforms,” in Proc. 18th DAFx, Trond-heim, Norway, Nov. 30 – Dec. 3 2015.

[31] S. D’Angelo and V. Välimäki, “Wave-digital polarity and currentinverters and their application to virtual analog audio processing,”in IEEE Int. Conf. Acoust. Speech Signal Process. (ICASSP), Kyoto,Japan, Mar. 2012, pp. 469–472.

[32] Rhombus Industries Inc., “Passive delay line design considerations,”Tech. Rep. APP1_PAS, Huntington Beach, CA, Jan. 1998.

[33] R. Maher and J. Beauchamp, “An investigation of vocal vibrato forsynthesis,” Appl. Acoust., vol. 30, pp. 219–245, 1990.

[34] U. Zölzer, Ed., DAFX: Digital Audio Effects, John Wiley & Sons,second edition, 2011.

DAFX-278


Recommended