music and engineering: effects · 2018. 9. 12. · inserting a mono 1/4 plug connects the ground...

69
Music and Engineering: Effects Timothy Hoerning Fall 2017 (Last modified 2017-10-31)

Upload: others

Post on 30-Aug-2021

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Music and Engineering: Effects

Timothy Hoerning

Fall 2017 (Last modified 2017-10-31)

Page 2: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

What are effects?

•  Musical Effects are signal processing devices (or algorithms) that take one sound and alter it in some way.

•  The Waveshaper synthesis block can be thought of as an effect.

•  Traditionally implemented as analog or electromechanical devices. •  Often built into amplifiers (tremolo, reverb) – tube or transistor •  Offered as standalone devices later.

•  Now implemented in analog and digital •  Mass produced vs. boutique

•  Multi-purpose & Multi-effect

Page 3: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Types of Effects

•  Amplitude Based •  Varies the gain/volume of the effect across all

frequencies

•  Filter Based •  Varies the gain/phase response of the signal with

different amount on each frequency

•  Time Based •  Uses time delays to simulate digital-type filters

Page 4: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Background Topics

•  Time Response and Time Delay

•  Frequency Response •  Bode plots / Mag Phase Plots •  Digital / Analog Domain

•  Spectrogram – Time and Freq together

•  Distortion •  Total Harmonic Distortion •  Inter-Mod Distortion •  Phase Distortion

•  Physical/Electrical construction

Page 5: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Time / Freq Response

•  Nothing special about this with respect to common engineering uses

•  Frequency Domain should almost always be log scale frequency and deciBels in magnitude

Page 6: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Graphical Transfer function

•  Can be expressed in amplitude or power

•  Input is expressed along the X-axis, �reflected� by the transfer curve and read out along the Y-axis

Amplitude Power

Input

Output Output

Input

Page 7: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Spectrogram

Time

Freq

uenc

y

10001 Samples

•  MATLAB�s xpsound demo allows the user to explore the time domain, freq domain and both at once spectrogram

•  The signal shown to the left is the dropping egg. •  The curve in the left hand

section represents the falling pitch as the egg drops

•  The line about 2/3 of the way through is the �splat� impulse. Notice the broadband nature of the impulse

Page 8: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Distortion

power lfundamentaovertonesin power

=THD

•  Total Harmonic Distortion – Distortion of a single tone through a non-linearity. Adds harmonics (even harmonics are octaves, odd harmonics are other notes)

•  Intermodulation Distortion – Occurs when two or more tones are summed before a non-linearity. Creates frequencies at sums and differences of the fundamentals and overtones (f1+f2, f1-f2, 2f1-f2)

•  Non-linearities can leave the amplitude intact but delay the phase in a non-linear fashion

Page 9: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Powering •  Most pedals use 9 volts (from the battery)

•  Other variations exist (18 volts, AC power) •  Many solutions exist for powering pedals without batteries

•  Power tied to input jack •  Tip/Ring/Shield connector used – Tip is hot signal, ring is connected

to battery negative terminal and shield is connected to ground. Inserting a mono 1/4� plug connects the ground circuit and turns on the pedal.

Input +

Effect Circuit

Page 10: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Construction Issues •  Input / output impedances

•  Care should be taken to not load the guitar with a low input impedance (this relates to the type of bypass/buffering used)

•  Board quality •  Perf board (soldered or point to point wire wrap) •  Printed circuit board •  Some DIYs have even been known to use cardboard.

Page 11: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Bypass •  Bypass is the state of the pedal when it is not affecting the input signal •  Bypasses typically fall in one of several varieties

•  Solid State •  Commonly found in most mass produced pedals. Signal is routed through a buffer stage

when the effect is not engaged. •  Most common on Boss, DOD and Ibanez

•  Single Ended Bypass •  Only the output of the effect is switched. The input jack is hardwired to the input of the

effect. This is a substantial issue when the effect has low input impedance.

•  The original effects from the 60s and 70s used this almost exclusively •  Wah Pedal

•  Fuzz Face

•  �True� Bypass •  Typically uses a DPDT or 3PDT (w/ LED) to mechanically connect or disconnect the input

and output jacks from the effect circuit. •  Can be a problem if multiple TB effects are used without a decent buffer feeding them.

Page 12: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Bypass Examples

Single Ended

Effect Circuit

Others:

•  Millenium Bypass (http://www.geofex.com/article_folders/millenium/millen.htm)

True-Bypass

Effect Circuit

Page 13: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Amplitude Based

•  Volume Pedal

•  Boost / Pre-Amp

•  Tremolo

•  Ring Modulator

•  Compression/Limiter

•  Expansion/Noise Gating

•  Distortion •  Overdrive/Saturation •  Distortion •  Fuzz

Page 14: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Volume Pedal •  Same circuit as the volume control in a guitar.

•  Simple Voltage divider

•  Wiper of potentiometer (pot) has a �pinion� gear on it instead of a knob. A rocker foot pedal (treadle) has a �rack� suspended below it which engages the gear and turns the pot. Other variants use opto-isolators instead of the pot.

Input

Output Treadle

Pivots

Base

Pot

Rack

Musical Example: • When the Children Cry – White Lion • Xanadu - Rush

Page 15: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Tremolo •  Multiply the input signal by the

output of a Low Frequency Oscillator (LFO).

•  LFO can vary in shape (sine, square, etc.), frequency, amplitude (typically referred to as depth)

•  Can also use different phase LFOs to get a stereo effect.

•  Graphs at right show Tremolo with sin and triangle wave modulation. Depth is set to about 50% and the modulating signal is at 2Hz.

0 2000 4000 6000 8000 10000 12000 14000 16000-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

0 2000 4000 6000 8000 10000 12000 14000 16000-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

x Input Output

LFO

Musical Examples: • Boulevard of Broken Dreams – Green Day • Do Right - Tommy Conwell • The Refugee – U2

Page 16: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Percussive Tremolo

•  One of the lesser used variants of Tremolo is Percussive Tremolo •  Usually created by a

unijunction transistor •  Not currently being

produced •  Modulating wave shape

looks like a trail of decreasing exponentials

Musical Examples: • Some songs – Spaceman 3

Page 17: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Boost / Pre amp

•  Designed to be an extra bit of �clean� gain to add extra �oomph� to a signal before an amplifier

•  Also good for buffering the guitar signal so as not to load it from other effects with low input impedances (Fuzz-Face, Crybaby Wah). Sometimes built into guitars (active pickups) or connected to guitars (LPB-1)

•  Often used to drive the input stage of a tube amp into saturation. No distortion from the pedal, but the tube-amp is driven into saturation.

•  Canonical Pre-amp is a �wire with gain� – no coloring in the frequency domain

•  Can be build using tubes, transistors or Op-Amps. A simple inverting or non-inverting amplifier circuit can serve as a pre-amp

Page 18: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Ring Modulator •  Same notional schematic as the Tremolo. Instead of LFO with variable

depth, use audio freq with full amplitude.

•  Output includes the sum and difference frequencies.

•  Very non-musical effects. Sum and difference frequencies are not musically related to input.

•  Spectrogram below shows a sine-wave major scale starting at A=220Hz and the output when mixed with a 400Hz fixed frequency.

x Input Output

Fixed Time

Freq

uenc

y

0 1 2 3 4 5 6

x 104

0

0.1

0.2

Time

Freq

uenc

y

0 1 2 3 4 5 6

x 104

0

0.1

0.2

Input

Output

Musical Examples: • Tapeworm – Pigface • Jellyfish Blues – Buffalo Daughter • Paranoid – Black Sabbath (right channel only)

Page 19: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Ring Mod continued

•  The following passive circuit can be used to Generate a ring modulated signal •  It is often used in RF as a mixer for up or down conversion. •  The ring of diodes makes it act like an inverter when the control signal is the second

input. •  See References for a better explanation of how this works as a RF mixer

( ))cos()cos(21

)cos()cos( bababa −++=

•  Explanation of sum and difference comes from the simple trig identity.

Page 20: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Graphical Transfer Function

•  The curves at right show a graphical representation of the expander and noise gate curves

•  The expander curve shows how the amplitude is lower for low power signals and increases to a maximum of 1 for higher power signals

•  The noise gate carries this to the extreme by making the gain –Infinity for the signals below the threshold

0 1 2 3 4 5 6 7 8 9 100

1

2

3

4

5

6

7

8

9

10

Out

put P

ower

Input Power

0 1 2 3 4 5 6 7 8 9 100

1

2

3

4

5

6

7

8

9

10

Out

put P

ower

Input Power

Expander settings for 1:1,

1:2, 1:4 and 10:1

Noise Gate with a threshold

of 3

Page 21: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Limiter / Compressor

•  Controls the gain of the circuit based on short-term power estimates of the input signal

•  �Compresses� signals that exceed the determined threshold. Reduces the gain for these components

0 1 2 3 4 5 6 7 8 9 100

1

2

3

4

5

6

7

8

9

10

Out

put P

ower

Input Power

Output

Level Detector

Variable Gain Control

Input Compressor settings for 1:1,

2:1, 4:1 and 10:1

Page 22: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Attack / Release •  Attack and release time control how quickly the level detector / gain

adjustment circuit responds to transients in the input signal. Over- and undershoot result.

•  Digital processing can alter gain quicker than analog, but there is always the delay for the averaging window

•  The curve below shows the output of a Tremolo effect put through a 4:1 compressor. Notice the reduction in dynamic range as well as the attack/release times when the signal is louder/quieter than it ideally would be

0 1000 2000 3000 4000 5000 6000 7000 8000-1

-0.5

0

0.5

1

0 1000 2000 3000 4000 5000 6000 7000 8000-1

-0.5

0

0.5

1

Original

Compressed

Musical Examples: • Kiss – Prince • Soft & Wet – Prince • Under the Bridge – Red Hot Chili Peppers

Page 23: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Sustain / Ducking •  By increasing the gain after a compressor, the

average level is kept at high level. This acts as a clean sustain.

•  By using a different signal for control and process, you get a �ducking� processor. This is typically used to mute background music when a announcement is made (on a store PA or on the radio)

Output

Level Detector

Variable Gain Control

Input

Auxiliary Control Audio

Page 24: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Expansion / Noise Gating

•  The compressor compresses the dynamic range. i.e., it reduces the gain above a threshold

•  The expander expands the dynamic range be reduces the gain BELOW a threshold.

•  Carried to the extreme, the noise gate reduces the gain to zero below a threshold. This shuts off the output for signals that are effectively noise. Problems can arise when decaying signals fall below the threshold.

Page 25: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

The Distortion Spectrum

•  Signal can vary from clean (~0%THD) to all out fuzz (100% THD – square wave)

•  �Touch-sensitive� describes a device (typically tube amplifier or tube emulator) which can vary between clean and overdrive (or overdrive and distortion) based on the physical attack on the strings at the guitar.

•  Remember from circuits, half wave symmetric signals contain only odd harmonics. Even harmonics sound �better� (because they are octaves).

Clean Overdrive Distortion Fuzz

Page 26: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Hard Clipping vs. Soft Clipping

•  Soft clipping rounds the edges of the signal. There are no sharp discontinuities.

•  Hard clipping simply clips anything beyond a threshold. This creates a discontinuity and adds higher order harmonics.

•  The third case is an asymmetric soft-clipping. This introduces both even and odd harmonics (the symmetric clipping only created odd-harmonics).

-3 -2 -1 0 1 2 3-2

-1.5

-1

-0.5

0

0.5

1

1.5

2

Input

Output

Musical Examples: • Any Metal Tunes – Any Metal Artist.

Page 27: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Test Vector

20 40 60 80 100 120 140 160 180 200

-8

-6

-4

-2

0

2

4

6

8

•  Create a sine wave that varies in amplitude from 0.5 to 10 over a span of about 20 seconds

•  Set a hard threshold of 1 and the soft symbol to have its maximum excursion at 1

20 40 60 80 100 120 140 160 180 200-0.5

-0.4

-0.3

-0.2

-0.1

0

0.1

0.2

0.3

0.4

0.5

Outputs at beginning

Outputs at end

Page 28: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Hard Clipping vs. Soft Clipping

Time

Freq

uenc

y

Hard Clipping

0 2 4 6 8 10 12 14 16 180

2000

4000

6000

8000

10000

•  Soft clipping adds harmonics �gradually� depending on the amount of distortion

•  Hard clipping adds harmonics as soon the threshold is exceeded

•  Asymmetric clipping adds even and odd harmonics gradually

Time

Freq

uenc

y

Soft Clipping

0 2 4 6 8 10 12 14 16 180

2000

4000

6000

8000

10000

Time

Freq

uenc

y

Soft Asymetric Clipping

0 2 4 6 8 10 12 14 16 180

2000

4000

6000

8000

10000

Page 29: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Tube Screamer

100 200 300 400 500 600

-0.25

-0.2

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

0.2

0.25

Tube Screamer - Beginninginputts9hot

100 200 300 400 500 600

-0.3

-0.2

-0.1

0

0.1

0.2

0.3

Tube Screamer - Endinputts9hot

Time

Freq

uenc

y

TS9

0 5 10 15 20 25 300

0.5

1

1.5

2

x 104

Time

Freq

uenc

y

TS7 Hot

0 5 10 15 20 25 300

0.5

1

1.5

2

x 104

Page 30: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Octave Generators •  Octave Up

•  Generated through rectification •  Full Wave rectification gives only octave up •  Half Wave rectification gives octave up plus fundamental •  Can vary by partial rectification. (see next slide for example)

•  Two signals can give a ring mod like effect.

•  Octave Down •  Generated with a flip flop

•  The input audio signal becomes the clock for the flip flop •  The circuit gets confused when two input notes are present and doesn�t �track� properly

•  Heavy distortion leaves the square flip fop w/ minimum amplitude reconstruction.

•  To get a cleaner signal, more of the amplitude envelop can be reconstructed using more elaborate circuits

Page 31: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Rectification

0 0.002 0.004 0.006 0.008 0.01 0.012 0.014-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

time

ampli

tude

Input and Output in the Time Domain

0 200 400 600 800 1000 1200 1400 1600 1800 2000-20

-10

0

10

20

30

40

50

60

70

80

frequencyam

plitu

de

Input and Output in the Frequency Domain

Sound Clips: • In • Full Wave • Half Wave

0 0.002 0.004 0.006 0.008 0.01 0.012 0.014-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

time

ampli

tude

Input and Output in the Time Domain

0 200 400 600 800 1000 1200 1400 1600 1800 2000-60

-40

-20

0

20

40

60

80

frequency

ampli

tude

Input and Output in the Frequency Domain

Sound Clips: • In • 10% Rect • 25% Rect • 40% Rect

Page 32: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Filter Based

•  Equalization •  Graphic

•  Parametric

•  Treble Booster

•  Wah Wah / Envelope (Followed) Filter

•  Vocoder / Talk Box

•  Phase Shifter

Page 33: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Active Filters •  Active Filters by definition require a power supply

•  Passive filters can only remove frequency components.

•  Active filters can boost as well as cut frequency bands. •  Also allow for sharper transitions •  Allow multi-pole filters using solid state devices and capacitors

instead of inductors (allows for implementation in integrated circuits)

Frequency

Log-Mag

Boost

Cut

Frequency

Log-Mag

Page 34: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Basic Parameters

•  Break Frequencies (or center frequency) – The frequencies at which the response of the filter changes slope. (i.e. the poles and zeros)

•  Bandwidth – The width of the filter in the frequency domain. Usually defined at the point 3dB below the peak signal amplitude.

•  Q – The ratio of the center frequency to the bandwidth. Q is generally fairly low for audio applications

•  Boost/Cut Amplitude – Amount of amplification or attenuation obtained by a filter. Typically specified in dB with a range of +/- 10dB to +/- 20dB

Page 35: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Some Basic Filtering Effects

•  Treble booster – Preamp combined with a passive high-pass shelving filter

•  Mid-range boost control (like on a Powerhouse or Eric Clapton Stratocaster)

•  Active electronics on bass guitars – typically high-pass and low pass shelving filters

Page 36: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Equalization •  Named because it was designed to �equalize� the response of the room. The goal was to use the

notches and peaks of the equalizer to compensate for resonances and dead spots within a room

•  Types •  Graphic

•  Fixed center frequency, fixed Q, variable amplitude

•  Spaced in octaves (or fraction of octaves, 1/2 octave or 1/3 octave) •  Parametric

•  Variable center frequency, variable Q, variable amplitude •  Typically only 3 or 4 bands

•  Semi-Parametric •  Variable center frequency, fixed Q, variable amplitude

Bandpass Filter #1

Bandpass Filter #2

+

Bandpass Filter #N-1

+

Bandpass Filter #N

+

Bandpass Filter #3

+

… Input

Output Front panel

sliders adjust the gain for each band

Page 37: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Parametric Equalization Response

Time

Freq

uenc

y

Boss Bass Parametric

0 10 20 30 40 500

1000

2000

3000

4000

5000

6000

7000

8000

9000

10000

Boost Cut

Low Band Low Band

To create this spectrogram, the

bands were swept from low to high first with boost, and then

from high to low with cut

Mid High High Mid

Page 38: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Graphic Equalizer Response

Time

Freq

uenc

y

Bass Graphic EQ

0 10 20 30 40 500

1000

2000

3000

4000

5000

6000

7000

8000

9000

10000

To create this spectrogram, sliders of the Bass Graphic

EQ were swept from boost to cut and in frequency from left to right

50Hz 100Hz 200Hz 400Hz 800Hz 1600Hz 3200Hz

Page 39: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Wah Wah •  A Wah Wah pedal is at the core a

band pass filter

•  Named for the �wah� sound made by moving the pedal from low frequencies to high.

•  Physically constructed similarly to a volume pedal with a treadle, pot and rack. As with volume pedals, physical construction and method of control differ with different manufacturers.

•  The center frequency of the filter is controlled via the treadle. Different manufacturers and models differ in the minimum and maximum center frequency and the Q of the filter. Some allow for adjustment of these parameters.

Musical Examples: • Voodoo Child (Slight Return) – Jimi Hendrix • Yankee Rose – David Lee Roth • Still Raining Still Dreaming – Jimi Hendrix • Sweet Child O� Mine – Guns & Roses • (Anesthesia) Pulling Teeth (bass solo) – Metallica • Any Song from the Black Album - Metallica

Treadle Pivots

Base

Pot

Rack

Page 40: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Wah Wah Variables •  Shaping

•  Center Frequency Range •  Min Frequency •  Max Frequency

•  Q •  Non-Linearities

•  Inductors

•  Control •  Potentiometer

•  Oldest Method •  Prone to getting scratchy

•  Optical •  Used by Morley

•  Originally light bulb •  Now LED

•  Capacitive •  Used by DOD FX-17

•  Hall Effect •  Used by Boss V-Wah

Page 41: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Wah Wah responses

Time

Freq

uenc

y

VWah - Crybaby

0 5 10 150

500

1000

1500

2000

2500

3000

Time

Freq

uenc

y

VWah - Vox

0 2 4 6 8 10 12 14 160

500

1000

1500

2000

2500

3000

Time

Freq

uenc

y

VWah - Morley

0 2 4 6 8 10 12 14 16 18 200

500

1000

1500

2000

2500

3000

The V-Wah includes several models as well as a range control. The three spectrograms above show the Dunlop Crybaby, Vox Wah, and Morley Wah models with the same range setting. Notice the difference in minimum and maximum frequency. You can also see a difference in Q for some of the

wahs at higher frequencies.

Page 42: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Envelope Filter •  An envelope filter is a more properly called an envelope

controller filter. (It is also possible to control other things with a envelope controller.)

•  The most basic envelope filters only sweep from low to high. Others include options for high to low and other variants.

•  All envelope filters include a threshold control to determine the amplitude that will make the filter sweep.

Output

Level Detector

Variable Gain Control

Input Variable Freq Filter

Musical Examples: • What I Am – Eddie Brickell and the New Bohemians • Higher Ground – Red Hot Chili Peppers

Page 43: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Envelope Filter Responses

Time

Frequen

cy

Boss Envelope Filter

0 5 10 15 200

200

400

600

800

1000

1200

1400

1600

1800

2000

Up Down Sharp

The envelope filter was fed a noise signal with a 20dB amplitude tremolo signal applied to it. The threshold was set such that only the louder sections of the input waveform would exceed

the threshold and sweep the wah.

Page 44: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Vocoder •  While the wah creates a human-like sound, it only emulates one particular sound.

The vocoder uses a speech input to apply the frequency response of a human voice to the instrument in real time.

•  The voice signal is filtered through multiple filters and the power in each band is determined. This power then modifies the gain for a similar band pass structure applied to the instrument input.

Bandpass Filter #1

Bandpass Filter #2

+

Bandpass Filter #N-1

+

Bandpass Filter #N

+

Bandpass Filter #3

+

… Input

Output

Bandpass Filter #1

Bandpass Filter #2

Bandpass Filter #N-1

Bandpass Filter #N

Bandpass Filter #3

Vocal Input

Power Detector

Power Detector

Power Detector

Power Detector

Power Detector

Page 45: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

.

Talk Box •  Often called the �poor-man�s vocoder�. Analog vocoders required

many parts and were quite expensive. The cheaper alternative was to route the guitar�s signal throughout the mouth of the guitarist. This proved to also be more popular.

Input H.F. Horn

Musical Examples: • Rocky Mountain Way – Joe Walsh • Sweet Emotion – Aerosmith • Pigs (Three different ones) – Pink Floyd • Show Me the Way – Peter Frampton

Output to PA System

Vinyl tube

Page 46: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Phase Shifter

•  Originally created as a real-time simulation of the flanging effect.

•  Typically built as an analog all-pass filter •  Phase-shift filters have a certain amount of phase shift •  Multiple stages of phase shift are concatenated to create an even greater amount of shift. This

allows lower frequencies to be cancelled. •  This phase-shift varies with frequency •  A low frequency oscillator typically modulates the phase-shift stages

•  The all-pass filter has variable phase lag which causes some frequencies to pass and others to be �notched�

•  The flanger is a special case of the phase shifter

•  See handout (http://www.ece.osu.edu/~pavlict/ece209/lab1_intro/lab1_intro_phase_shifter.pdf ) for a circuit description of a single stage. Most Phase Shifters include 4 to 12 stages

Musical Examples: • Ain�t Talkin���Bout Love– Van Halen • No Quarter – Led Zeppelin • You Belong with Me – Taylor Swift Output

Input All-Pass Filter +

Effect Mix

Page 47: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Phase Shifter Response

Time

Freq

uenc

y

Phase Shifter

0 5 10 150

500

1000

1500

2000

2500

3000

3500

4000

Notice the exponential sweeping of the notches. This spectrogram was created using noise as an

input

Page 48: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Matlab Simulation Response

•  2 Stages of phase shift •  4 stages of phase shift

Page 49: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Spinning Speaker •  The Leslie Spinning Speaker is a unique sound that is often copied, but

rarely perfectly.

•  http://en.wikipedia.org/wiki/Leslie_speaker

•  Two Effects in one •  Tremolo •  Vibrato (from the Doppler)

Page 50: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Time Based

•  Delay / Echo •  Digital

•  Analog and Discrete Time

•  Reverberation

•  Chorus

•  Flanging

•  Pitch Shifting / Octave Devices

Page 51: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

�Analog� vs. Digital •  Many guitarists talk about the difference between �analog�

versus digital delay based devices

•  In truth, there are no completely analog circuits (except for tape-echo units). In �analog� delay pedals, the delay unit is a bucket-brigade chip

•  A bucket-brigade chip is an integrated circuit with a large number of capacitors and transmission gate transistors. •  The signal is sampled (into discrete time), and the sampled voltage is

placed on the first capacitor •  The sampled voltage is then passed to the next capacitor at the rate

determined by the sampling rate control. •  If the sampling rate is too low, the voltage on the capacitor will �bleed�

down and distortion will occur. •  This gives the signal a �warm� quality that many appreciate.

•  Some argue that the companding around the bucket brigade delay adds to the sound. Some modern pedals wrap companding with a digital delay

Page 52: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Delay

Output

Input Delay +

Delay Mix

Musical Examples: • And I ran – Flock of Seagulls • Where the Streets have no name – U2 • Run Like Hell – Pink Floyd •  Flight of the Wounded Bumble Bee – Extreme • Even Better Than the Real Thing – U2

•  Adds a delayed copy of the input signal to the output signal

•  By adjusting the delay to match the tempo, a musical effect can achieved where it sounds like more notes are being played

•  Often delays have a feedback path (like shown on a later slide for the echo effect). Typically however, the maximum gain is less than one

•  Short Delays (40-120 mSec) with no feedback are called �slap-back�

•  Delay time is usually adjusted by varying the sampling rate. This allows for pitch shifting effects

Page 53: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

More Delay

Output

Input Delay

Musical Examples: • Most Songs - U2

•  Multi-tap delays include multiple delay elements

Delay

+

Delay

+

Delay

+

Delay

+

+

Input Delay +

•  Ping pong delays alternate the signals between the left and right channels

+ Output 1

Delay + Output 2

Page 54: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Frequency Response

0 20 40 60 80 100 120 140 160 180 200-100

-50

0

50

100

Frequency (Hz)

Phas

e (d

egre

es)

0 20 40 60 80 100 120 140 160 180 200-100

-50

0

50

Frequency (Hz)

Mag

nitu

de (d

B)

480 mSec Delay

While it�s not usually noticeable, simple delays are frequency selective. It should be obvious that a frequency and all its odd harmonics will destructively interfere and cause nulls in the frequency domain

0 20 40 60 80 100 120 140 160 180 200-100

-50

0

50

100

Frequency (Hz)

Phas

e (d

egre

es)

0 20 40 60 80 100 120 140 160 180 200-100

-50

0

50

Frequency (Hz)

Mag

nitu

de (d

B)

40 mSec Delay

Page 55: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Echo

•  Often there is no distinction between delay units and echoes. What usually makes a device more of an echo is how it attempts to simulate a tape echo •  The feedback gain can be increased to be greater than unity. This will cause

the echoes to increase in volume and eventually saturate or oscillate •  The is some times a filter in the feedback loop to simulate the gradual

deterioration of signal quality that would occur with a tape-echo unit. •  Sometimes the delay time is varied slightly to simulate tape warble.

Input Delay +

Delay Mix

+

Feedback Gain - Regeneration

Filter

Page 56: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Tape Echo •  Before bucket-brigade or digital, echo units were built using a variable

speed tape as the memory storage device.

•  Often the playback head was able to be moved to get different delays.

•  Changing the tape speed can get crazy pitch shifting effects

Musical Examples: • Standing In the Rain – James Gang • Quadrant 4 – Billy Cobham

Idler Roller Idler Roller

Pinch Roller

Playback Head Erase Head

Record Head

Feedback Gain

Page 57: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Loopers

•  More recent modifications on Delay pedals have allowed musicians to loop indeterminate length sounds. •  Allows someone to build a bigger and bigger sound •  Allows one to be their own backing track

•  Basic operation isn’t very technically difficult •  Record Button •  Play Button •  Erase

•  Some Loopers have more advanced controls •  Revert •  Reverse •  Scale

Page 58: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Reverb •  Reverb is designed to sound like

the multiple reflections found in a room or a hall.

•  Many analog reverbs were created using a spring and transducers

•  �True-convolution� is the newest trend in reverbs. This uses an impulse response from a real location. The reverb is effected by using a very long FIR filter

•  Can use an FIR filter for early reflections with an IIR filter or the trailing reflections

0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 20

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1Simulated Reverb Signal

Musical Examples: • Domination - Pantera

Page 59: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Flanger

0 1 2 3 4 5 6 7 8 9

x 10-3

0

0.002

0.004

0.006

0.008

0.01

0.012

0.014Delay Time in a Flanger

time

dela

y

•  As was noticed previously, delay elements can create notches in the frequency domain.

•  By changing the delay time continuously (at a sub-sampled value), the notches vary in frequency

•  The delay time is modulated with a low frequency oscillator (LFO).

•  The following parameters determine the sound from a flanger •  Delay - The minimum amount of time the signal is delayed. (1 mSec to 10 mSec). •  Sweep depth (width) - How wide the sweep is in terms of delay time. i.e., the maximum additional delay time

added as the LFO is swept (100 ns to 10 ms) •  Speed – the frequency of the LFO

Input Delay +

Delay Mix

+

Feedback Gain - Regeneration Filter

LFO

Output

Delay

Width

Page 60: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Flanger Response

Time

Frequency

Flanger

0 5 10 150

500

1000

1500

2000

2500

3000

3500

4000

This particular flanger produces a very mild effect. The notches are barely visible. This spectrogram

was created using a noise source as the input.

Musical Examples: • Are You Gonna Go My Way – Lenny Kravitz • Bold as Love – Jimi Hendrix • Barracuda - Heart

Page 61: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Matlab Simulation Response

Page 62: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Chorus •  Named because it makes one instrument sound like many. Fills up the sonic space in

a song

•  A chorus is merely a flanger with longer delay times (and usually no feedback)

•  The following parameters determine the sound from a flanger •  Delay - The minimum amount of time the signal is delayed. (20-30 mSec). •  Sweep depth (width) - How wide the sweep is in terms of delay time. i.e. the maximum

additional delay time added as the LFO is swept (0 to 10 ms) •  Speed – the frequency of the LFO

•  Extreme settings will create a vibrato – pitch warble

•  Vibrato pedals often include the a mix on the clean signal to remove it from the output

Input Delay +

Delay Mix

+

LFO

Musical Examples: • Stranger in a Strange Land – Iron Maiden • I Don’t Know – Ozzy Osbourne • Run to You – Bryan Adams • Good Enough – Van Halen • Come as you are - Nirvana

Page 63: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Chorus Responses

Time

Frequency

Chorus

0 5 10 15 20 25 30 35 400

500

1000

1500

2000

2500

3000

3500

4000

This spectrogram was created using a square wave as the input signal

Effect Off

Thick Chorus

Pitch Warble

All Controls at Max

Page 64: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Modulated Delay

Page 65: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Pitch Shifting

•  The 1990s & 2000s addition to effects

•  Two types •  Dumb

•  Simple mathematic ratios determine new note relative to old note •  Intelligent

•  Key is set (or detected) and harmony is diatonic

•  Available as real time in a pedal or post-processing (Auto-Tune)

•  Simplest method •  Time Scaling and Re-sampling

•  PitchScaleSOLA.m from DAFX •  Phase Vocoder

•  Simulink Example – dsppitchtime.mdl

Input Time Scaling (ratio N2/N1)

Re-sampling (ratio N1/N2)

Output

Page 66: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Multi-Effects

•  Combine multiple processing algorithms into a common hardware platform

•  Can include analog and digital processing as well as tube and digital processing.

•  Use MIDI for patch changes •  Foot controller for remote control

•  Often includes amplifier modeling

Page 67: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

References

1.  http://www.harmony-central.com/Effects/effects-explained.html

2.  O�Connor, K., The Ultimate Tone Vol. 1

3.  http://www.geofex.com/fxtech.htm

4.  http://www.freeinfosociety.com/electronics/schematics/audio/ringmodulator.html

5.  http://www.microwaves101.com/encyclopedia/mixerwaveforms.cfm

1.  Explanation of RF mixers which very similar to one implementation of ring modulators

6.  http://en.wikipedia.org/wiki/Audio_timescale-pitch_modification

7.  http://www.ece.osu.edu/~pavlict/ece209/lab1_intro/lab1_intro_phase_shifter.pdf 1.  Simple Phase Shifter circuit

8.  http://en.wikipedia.org/wiki/All-pass_filter

Page 68: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Additional Slides (to be reworked)

Page 69: Music and Engineering: Effects · 2018. 9. 12. · Inserting a mono 1/4 plug connects the ground circuit and turns on the pedal. Input + ... • Same circuit as the volume control

Fuzz Face

0 200 400 600 800 1000 1200 1400 1600 1800 2000

-0.25

-0.2

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

0.2

0.25

Fuzz Face - Beginning

0 200 400 600 800 1000 1200 1400 1600 1800 2000

-0.25

-0.2

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

0.2

0.25

Fuzz Face - End

Time

Freq

uenc

y

FuzzFace

0 5 10 15 20 25 300

0.5

1

1.5

2

x 104