pre-class music keith kothman, interludes video by john fillwalk

9
Pre-Class Music Keith Kothman, Interludes video by John Fillwalk

Upload: abraham-goodman

Post on 04-Jan-2016

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Pre-Class Music Keith Kothman, Interludes video by John Fillwalk

Pre-Class Music

Keith Kothman,

Interludes

video by John Fillwalk

Page 2: Pre-Class Music Keith Kothman, Interludes video by John Fillwalk

Convolution

Page 3: Pre-Class Music Keith Kothman, Interludes video by John Fillwalk

Convolution Background

Fundamental operation in digital audio processing.

Even if you don’t specifically know it, you know its effects (through filtering, modulation, reverberation, cross synthesis). A filter convolves its IR with the input signal to

produce filtered output.

Page 4: Pre-Class Music Keith Kothman, Interludes video by John Fillwalk

Uses of Convolution

Reverberation obtain the IR of a room, and convolve it

with an arbitrary signal to make it sound as if the arbitrary signal has been played in that room.

Filtering arbitrary signals to model the characteristics of an audio

system, such as a microphone or guitar amp.

Page 5: Pre-Class Music Keith Kothman, Interludes video by John Fillwalk

The Math of Convolution

The equation (the * denotes convolution)

for every sample in the arbitrary signal a, multiply it by every sample in the IR b, and sum the results (offset by each sample in a)

length(output) = length(a) + length(b) - 1 in samples

a[n]∗b[n] = output[k] = a[n]×b[k − n]n=0

N−1

Page 6: Pre-Class Music Keith Kothman, Interludes video by John Fillwalk

Convolution is not Multiplication

Multiplication of two audio signals is amplitude modulation for each point in time, one sample is

multiplied by another sample.Convolution of two audio signals is a

series of multiplications, and a summation of those results. every sample in one signal is multiplied by

the entire set of samples in the second signal.

Page 7: Pre-Class Music Keith Kothman, Interludes video by John Fillwalk

The Law of Convolution

Convolution in the time domain is equal to multiplication in the frequency domain, and vice versa. (btw, that’s an important concept—it will

be on the test.) convolution does not distinguish between

samples and spectra. Both are series of discrete values.

Page 8: Pre-Class Music Keith Kothman, Interludes video by John Fillwalk

Implementation of Convolution

Direct Convolution of amplitude samples is computationally intensive.

Fast Convolution is preferred. an FFT is performed on each audio signal,

and their corresponding spectra are multiplied.

an inverse FFT is applied to the result.

Page 9: Pre-Class Music Keith Kothman, Interludes video by John Fillwalk

Musical Uses of Convolution

Filtering: frequencies present with high amplitude levels in both signals are reinforced; frequencies only present in one signal are eliminated.

Reverberation: convolution has time domain results, including echo and time smearing, which can be used to recreate natural or artificial reverb, or to otherwise distort and blur the original source material.