III Digital Audio III.3 (M Oct 09) Complex Fourier representation (preliminaries to FFT)

Slides:



Advertisements
Similar presentations
Guerino Mazzola (Fall 2014 © ): Introduction to Music Technology IIIDigital Audio III.3 (Fr Oct 10) Complex Fourier representation (preliminaries to FFT)
Advertisements

Leo Lam © Signals and Systems EE235 Leo Lam.
Fourier Transform – Chapter 13. Image space Cameras (regardless of wave lengths) create images in the spatial domain Pixels represent features (intensity,
Math Review with Matlab:
DREAM PLAN IDEA IMPLEMENTATION Introduction to Image Processing Dr. Kourosh Kiani
Chapter 5 Orthogonality
Image Enhancement in the Frequency Domain Part I Image Enhancement in the Frequency Domain Part I Dr. Samir H. Abdul-Jauwad Electrical Engineering Department.
Transforms: Basis to Basis Normal Basis Hadamard Basis Basis functions Method to find coefficients (“Transform”) Inverse Transform.
Dirac Notation and Spectral decomposition
University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2006 Don Fussell Fourier Transforms.
Discrete Time Periodic Signals A discrete time signal x[n] is periodic with period N if and only if for all n. Definition: Meaning: a periodic signal keeps.
Chapter 15 Fourier Series and Fourier Transform
Quantum One: Lecture 8. Continuously Indexed Basis Sets.
University of Texas at Austin CS395T - Advanced Image Synthesis Spring 2006 Don Fussell Orthogonal Functions and Fourier Series.
Complex Numbers Complex numbers are written a + bi –a and b are real numbers –i (or j) satisfies the equation: Characteristics of Complex Numbers –Extend.
Fourier Analysis Fourier Series: A Fourier series is a representation of a function using a series of sinusoidal functions of different “frequencies”.
FOURIER SERIES §Jean-Baptiste Fourier (France, ) proved that almost any period function can be represented as the sum of sinusoids with integrally.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Orthogonal Functions and Fourier Series.
AN ORTHOGONAL PROJECTION
Elementary Linear Algebra Anton & Rorres, 9th Edition
Fourier series: Eigenfunction Approach
Fourier Analysis of Discrete Time Signals
Chapter 10 Real Inner Products and Least-Square
VECTORS (Ch. 12) Vectors in the plane Definition: A vector v in the Cartesian plane is an ordered pair of real numbers:  a,b . We write v =  a,b  and.
Section 5.1 Length and Dot Product in ℝ n. Let v = ‹v 1­­, v 2, v 3,..., v n › and w = ‹w 1­­, w 2, w 3,..., w n › be vectors in ℝ n. The dot product.
Guerino Mazzola (Fall 2015 © ): Introduction to Music Technology IIIDigital Audio III.2 (M Oct 12) Finite Fourier Theory.
Motivation: Wavelets are building blocks that can quickly decorrelate data 2. each signal written as (possibly infinite) sum 1. what type of data? 3. new.
AGC DSP AGC DSP Professor A G Constantinides©1 Signal Spaces The purpose of this part of the course is to introduce the basic concepts behind generalised.
Math Review Towards Fourier Transform
Guerino Mazzola (Fall 2015 © ): Introduction to Music Technology IIIDigital Audio III.4 (We Oct 28) Fast Fourier Transform (FFT)
Class 24: Question 1 Which of the following set of vectors is not an orthogonal set?
Determining 3D Structure and Motion of Man-made Objects from Corners.
MA4229 Lectures 13, 14 Week 12 Nov 1, Chapter 13 Approximation to periodic functions.
DSP First, 2/e Lecture 7 Fourier Series Analysis.
Hülya Yalçın ©1 Fourier Series. Hülya Yalçın ©2 3.
DSP-First, 2/e LECTURE #3 Complex Exponentials and Complex Numbers.
Fourier Analysis Patrice Koehl Department of Biological Sciences National University of Singapore
References Jain (a text book?; IP per se; available)
Differential Equations
Spaces.
III Digital Audio III.2 (M Oct 02) Finite Fourier Theory.
Introduction to Transforms
Discrete Fourier Transform (DFT)
Fourier Series Prof. Brian L. Evans
III Digital Audio III.4 (Mo Oct 16) Fast Fourier Transform (FFT)
LECTURE #3 Complex Exponentials & Complex Numbers
III Digital Audio III.9 (Wed Oct 25) Phase vocoder for tempo and pitch changes.
Lecture 4: Imaging Theory (2/6) – One-dimensional Fourier transforms
Continuous-Time Signal Analysis
Fourier Analyses Time series Sampling interval Total period
(MTH 250) Calculus Lecture 22.
Lecture 03: Linear Algebra
Quantum One.
Introduction to Digital Signal Processing
Sinusoids: continuous time
Math Review CS474/674 – Prof. Bebis.
III Digital Audio III.9 (Wed Oct 24) Phase vocoder for tempo and pitch changes.
Discrete-Time Complex
Notes Assignments Tutorial problems
Warm-up: Find sin(195o) HW : pg. 501(1 – 18).
Quantum One.
III Digital Audio III.2 (F Oct 05) Finite Fourier Theory.
Linear Algebra Lecture 39.
The Fourier Series for Continuous-Time Periodic Signals
14.4 Arc Length and Curvature
Elementary Linear Algebra Anton & Rorres, 9th Edition
Quantum Foundations Lecture 3
Vector Spaces, Subspaces
Fourier Transforms University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell.
Linear Vector Space and Matrix Mechanics
Presentation transcript:

III Digital Audio III.3 (M Oct 09) Complex Fourier representation (preliminaries to FFT)

Have made calculations of this type in finite Fourier theory for the Nyquist theorem w(t) = A0 + A1 sin(2.ft+Ph1) + A2 sin(2.2ft+Ph2) + A3 sin(2.3ft+Ph3) +... Amsin(2.mft+Phm) = amcos(2.mft) + bmsin(2.mft) w(t) = A0 + a1cos(2.ft) + b1sin(2.ft)+ a2cos(2.2ft) + b2sin(2.2ft)+... For complex calculations, the calculus with sinusoidal functions are usless, need more elegant approach!

¬ = plane of complex numbers Recall the circle representation of sinusoidal functions: ¬ = plane of complex numbers cos(x) + i.sin(x) sin(x) i = √-1 1 cos(x) Have the famous Euler formula: cos(x) + i.sin(x) = eix cos(x+y) + i.sin(x+y) = ei(x+y) = eix . eiy = [cos(x) + i.sin(x)] . [cos(y) + i.sin(y)] = [cos(x).cos(y) - sin(x).sin(y)] + i[sin(x).cos(y) +cos(x).sin(y)]

w(t) = ∑n = 0, ±1, ±2, ±3, ... cn e i2.nft cos(x) = (eix + e−ix)/2 Translate Fourier’s formula into the complex number representation: cos(x) + i.sin(x) = eix cos(-x) + i.sin(-x) = e−ix = cos(x) − i.sin(x) cos(x) + i.sin(x) = eix + cos(x) − i.sin(x) = e−ix = 2cos(x) = eix +e−ix cos(x) = (eix + e−ix)/2 sin(x) = (eix − e−ix)/2i w(t) = = a0 + a1cos(2.ft) + b1sin(2.ft)+ a2cos(2.2ft) + b2sin(2.2ft)+... = c0 + c1 e i2.ft + c−1 e−i2.ft + c2 e i2.2ft + c−2 e−i2.2ft + c3 e i2.3ft + c−3 e−i2.3ft +... w(t) = ∑n = 0, ±1, ±2, ±3, ... cn e i2.nft a0 = c0 n > 0: an = cn + c−n bn = i(cn− c−n)

wr = w(rΔ) = w(r/N) = ∑m = 0, 1, 2, 3, ... N-1 cm e i2.mr/N Translate the finite Fourier’s formula into the complex number representation: w(rΔ) = a0 + ∑m = 1,2,3,...n-1 amcos(2.mf. rΔ) + bmsin(2.mf. rΔ) + bnsin(2.nft. rΔ) We only consider a special case, which is easy to write down, but it shows the general situation! Namely: a sound sample from t = 0 to t = 1, period P = 1 sec, i.e. fundamental frequency f = 1 Hz whence Δ = 1/N = 1/2n and rΔ =r/N, r = 0,1,2,... N-1 We may then write: wr = w(rΔ) = w(r/N) = ∑m = 0, 1, 2, 3, ... N-1 cm e i2.mr/N Why no negative indices? In fact, we have them, but they are somewhat hidden: e i2.mr/N . e i2.m(N-r)/N = e i2.mr/N +i2.m(N-r)/N = e0 = 1, so e i2.m(N-r)/N = e i2.-mr/N −m = negative Also, cN-m = complex conjugate to cm since the am, bm are all real numbers. Therefore we have a total of N/2 independent complex coefficients, i.e. N real coefficients as required from the original formula.

wr = w(rΔ) = w(r/N) = ∑m = 0, 1, 2, 3, ... N-1 cm e i2.mr/N The representation wr = w(rΔ) = w(r/N) = ∑m = 0, 1, 2, 3, ... N-1 cm e i2.mr/N identifies the sequence w = (w0,w1,w2,…,wN-1) as a vector in the N-dimensional complex space ¬N. So our samples of fundamental frequency f = 1 are identified with the vectors w ∈ ¬N. On this space, we have a scalar product — similar to the highschool formula (u,v) = |u|.|v|.cos(u,v): u v = complex conjugate Have N exponential functions e0, e1, e2,... eN-1 that are represented as vectors in ¬N em = (em(r) = ei2.mr/N)r = 0,1,2,...N-1 〈em, em〉 = 1, 〈em, eq〉 = 0 m ≠ q = orthogonality relations mentioned above! The e0, e1, e2,... eN-1 = orthonormal basis like for normal 3 space! (ortho ~ perpendicular, normal ~ length 1) They replace the sinusoidal functions! 90o em el eq

Every sound sample vector w = (w0,w1,w2,…,wN-1) in ¬N can be written as a linear combination w = ∑m = 0, 1, 2, 3, ... N-1 cm em of the exponential functions, and the (uniquely determined) coefficients cm are calculated via cm = 〈w, em〉 =(1/N). ∑r = 0, 1, 2, 3, ... N-1 wr e-i2.mr/N 90o em el eq