Title: Fourier
1Fouriers Theorem
2Fouriers Theorem
- any periodic (or regularly repeating) wave,
however complicated, can be described in terms of
an infinite number of sine waves (of various
amplitudes and phases) added together
3Fouriers Equation
the sine and cosine parts deal with phases of
partials
coefficients (give energies of partials)
represents the fundamental frequency of the
waveform
represents time
number of the harmonic
add all harmonics from n1 to n infinity
4Angular Frequency
- ?1 angular frequency (in radians)
means the same as
- but only works for sine waves
- (one cycle of a sine wave in radians 2p)
5Analysis and Synthesis
- Fourier analysis involves taking a wave and
breaking it up into its constituent components - Fourier synthesis involves constructing a wave by
adding up sine waves
6Fourier Analysis/Synthesis
- Fourier analysis and synthesis are used a lot in
D.S.P. - For example, to apply effects to digital audio
7Fourier Synthesis Examples
8Creating a Square Wave
9Coefficient Values for a Square Wave
10Insert Coefficients
insert these co-efficients
into Fouriers equation
to get
11Calculate Terms at Each Time (t)
e.g. at t T1/4
when n1 sin ?1t sin (2?/T1 T1/4) sin
2?/4 sin ?/2 sin 90 1
when n3 1/3 sin (3?1t) 1/3 sin (3 2?/T1
T1/4) 1/3 sin 6?/4 1/3 sin 3?/2 1/3
sin 270 1/3 -1 -1/3
when n5 1/5 sin (5?1t) 1/5 sin (5 2?/T1
T1/4) 1/5 sin 10?/4 1/5 sin 5?/2 1/5
sin 450 1/5 1 1/5
12Calculating Terms Cont
- according to the formula multiply each value by
4/? - this makes
- first term (n 1) 14/? 1.273 (at t T1/4)
- second term (n3) -1/3 4/? -0.424 (at t
T1/4) - third term (n 5) 1/5 4/? 0.255 (at t
T1/4)
13Plot Values
A plot of the first 5 terms (all t values).
14Add Waves Together
A plot of the first five terms all added together.
15Add More Terms
A plot of the first twenty terms all added
together.
16Square Wave Freq. Domain Plot
17Practicalities
- practical synthesis does not require an infinite
number of sine waves - DiscoDSPs Vertigo has 256 partials
- VirSins Cube has 512
18Sawtooth Wave
19Sawtooth - Freq. Domain Plot
20Triangle Wave
21Triangle Freq. Domain Plot
Coefficients