virtual analog synthesis with the time varying comb filterdfl/aes/aestalk.pdf · waveform morphing,...

14
David Lowenfels CCRMA Stanford (MA/MST Graduate) Virtual Analog Synthesis with the Time Varying Comb Filter

Upload: buinguyet

Post on 06-May-2018

224 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Virtual Analog Synthesis with the Time Varying Comb Filterdfl/AES/AEStalk.pdf · Waveform morphing, PWM, detuning, FM. You’ve probably seen and heard it before... I’ll show you

David LowenfelsCCRMA Stanford

(MA/MST Graduate)

Virtual AnalogSynthesis

with the Time Varying Comb Filter

Page 2: Virtual Analog Synthesis with the Time Varying Comb Filterdfl/AES/AEStalk.pdf · Waveform morphing, PWM, detuning, FM. You’ve probably seen and heard it before... I’ll show you

Waveform morphing, PWM, detuning, FM.

You’ve probably seen and heard it before... I’ll show you how they are connected.

One simple structure can generate all these classic effects!

Introduction

Page 3: Virtual Analog Synthesis with the Time Varying Comb Filterdfl/AES/AEStalk.pdf · Waveform morphing, PWM, detuning, FM. You’ve probably seen and heard it before... I’ll show you

Sawtooth:

Square:

“Parabola”:

Triangle:

Waveform Definitions

∞∑n=1

1n2

sinnθ

∞∑n=1

1n

sinnθ

∞∑n=1,3,5,...

1n

sinnθ

∞∑n=1,3,5,...

1n2

sinnθ

(Pulse/Rect.)

(Ramp)

Page 4: Virtual Analog Synthesis with the Time Varying Comb Filterdfl/AES/AEStalk.pdf · Waveform morphing, PWM, detuning, FM. You’ve probably seen and heard it before... I’ll show you

BLIT Synthesis

IntegratorBP-BLIT

IntegratorBLIT

Stilson and Smith (ICMC ‘96)

BLIT:

Sawtooth:

Sqr/Pulse:

Tri/Ramp: IntegratorPulse Rescale

N∑k=0

sin (kθ) =sin ((2N + 1)θ)

sin θ

Page 5: Virtual Analog Synthesis with the Time Varying Comb Filterdfl/AES/AEStalk.pdf · Waveform morphing, PWM, detuning, FM. You’ve probably seen and heard it before... I’ll show you

Deriving the Comb Filter

H(z) = 1 − z−T/2

BLIT:

BP-BLIT:

Notice: BP-BLIT(k) = BLIT(k) - BLIT(k - T/2)

Equiv. Comb Filter:

(All harmonics)

(Odd harmonics)

H(z) = α + βz−MGeneral Form:

Period (T)

Page 6: Virtual Analog Synthesis with the Time Varying Comb Filterdfl/AES/AEStalk.pdf · Waveform morphing, PWM, detuning, FM. You’ve probably seen and heard it before... I’ll show you

Comb filter equivalency applies to steady state only.

Glitch in first period while delay is empty.

Delay could be precalculated and “stuffed”.

But it’s perceptually insignificant.

A minor issue...

Page 7: Virtual Analog Synthesis with the Time Varying Comb Filterdfl/AES/AEStalk.pdf · Waveform morphing, PWM, detuning, FM. You’ve probably seen and heard it before... I’ll show you

“Echo” coefficient [0,1]; parametrically controls level of even harmonics.

Morph between sawtooth and pulse waves.

Equivalent to linear crossfading.

Waveform Morphing

β

H(z) = 1 − βz−M

Page 8: Virtual Analog Synthesis with the Time Varying Comb Filterdfl/AES/AEStalk.pdf · Waveform morphing, PWM, detuning, FM. You’ve probably seen and heard it before... I’ll show you

Various effects, depending on modulator waveform and frequency.

Robust modulation needs interpolated delay.

Comb Filter ModulationH(z) = α + βz−M

Page 9: Virtual Analog Synthesis with the Time Varying Comb Filterdfl/AES/AEStalk.pdf · Waveform morphing, PWM, detuning, FM. You’ve probably seen and heard it before... I’ll show you

PWM is commonly done with a feed-foward “null” flanger.

Destructive interference creates spectral notches.

Delay period is inversely proportional to notch spacing.

Works with any sawtooth synthesis method.

Same idea works for tri/ramp “skew” modulation, use parabola wave instead.

Pulse Width Modulation

Page 10: Virtual Analog Synthesis with the Time Varying Comb Filterdfl/AES/AEStalk.pdf · Waveform morphing, PWM, detuning, FM. You’ve probably seen and heard it before... I’ll show you

Rapid phase modulation causes frequency shifts, proportional to derivative of modulator.

Useful for vibrato, Leslie, FM timbres.

Change coefficients for delay-only signal ( ).

“Frequency” Modulation

α = 0

Page 11: Virtual Analog Synthesis with the Time Varying Comb Filterdfl/AES/AEStalk.pdf · Waveform morphing, PWM, detuning, FM. You’ve probably seen and heard it before... I’ll show you

Phase modulate the oscillator with a constant slope modulator (sawtooth).

Narrow or wide detuning (harmonization)

No Crossfade needed!

Vintage “analog” sound.

Can introduce aliasing in some cases.

Unison / Detuning

Page 12: Virtual Analog Synthesis with the Time Varying Comb Filterdfl/AES/AEStalk.pdf · Waveform morphing, PWM, detuning, FM. You’ve probably seen and heard it before... I’ll show you

Sync effects are also possible with this delay modulation method.

The secret is in the modulator waveform!

Hard Sync?!

Page 13: Virtual Analog Synthesis with the Time Varying Comb Filterdfl/AES/AEStalk.pdf · Waveform morphing, PWM, detuning, FM. You’ve probably seen and heard it before... I’ll show you

Simple architecture, many effects.

Generally works with any periodic waveform synthesis technique.

To reduce aliasing, needs high-order interpolation, possibly oversampling.

Summary

Page 14: Virtual Analog Synthesis with the Time Varying Comb Filterdfl/AES/AEStalk.pdf · Waveform morphing, PWM, detuning, FM. You’ve probably seen and heard it before... I’ll show you

Julius O. Smith III

Chris Chafe

music-dsp mailing list at calarts

Hiroko Terasawa and the MST ’03 gang

Acknowledgements