Computer Sound Synthesis 2 MUS_TECH 335 Selected Topics.

Slides:



Advertisements
Similar presentations
Design of Digital IIR Filter
Advertisements

DCSP-17 Jianfeng Feng Department of Computer Science Warwick Univ., UK
An Introduction. Any number of the form x + iy where x,y are Real and i=-1, i.e., i 2 = -1 is called a complex number. For example, 7 + i10, -5 -4i are.
Transition between real sinusoidal signals (“time domain”)
Nonrecursive Digital Filters
Signal and System IIR Filter Filbert H. Juwono
IIR FILTERS DESIGN BY POLE-ZERO PLACEMENT
AMI 4622 Digital Signal Processing
DCSP-15 Jianfeng Feng Department of Computer Science Warwick Univ., UK
MM3FC Mathematical Modeling 3 LECTURE 7 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
IIR Filters and Equalizers R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Frequency Response of Discrete-time LTI Systems Prof. Siripong Potisuk.
EE313 Linear Systems and Signals Fall 2010 Initial conversion of content to PowerPoint by Dr. Wade C. Schwartzkopf Prof. Brian L. Evans Dept. of Electrical.
COMPLEX NUMBER SYSTEM 1. COMPLEX NUMBER NUMBER OF THE FORM C= a+Jb a = real part of C b = imaginary part. 2.
Complex Numbers i.
EC 2314 Digital Signal Processing By Dr. K. Udhayakumar.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
UNIT - 4 ANALYSIS OF DISCRETE TIME SIGNALS. Sampling Frequency Harry Nyquist, working at Bell Labs developed what has become known as the Nyquist Sampling.
Copyright © Cengage Learning. All rights reserved. Quadratic Equations, Quadratic Functions, and Complex Numbers 9.
Copyright © Cengage Learning. All rights reserved. 2 Polynomial and Rational Functions.
Copyright © Cengage Learning. All rights reserved.
Chapter 3 Section 3.4 The Fundamental Theorem of Algebra.
5.4 Complex Numbers Algebra 2. Learning Target I can simplify radicals containing negative radicands I can multiply pure imaginary numbers, and I can.
1 Copyright © Cengage Learning. All rights reserved. 4 Complex Numbers.
Complex Numbers Introduction.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
Sinusoids & Phasors. A sinusoidal current is usually referred to as alternating current (ac). Circuits driven by sinusoidal current or voltage sources.
Applied Symbolic Computation1 Applied Symbolic Computation (CS 300) Review of Complex Numbers Jeremy R. Johnson.
Chapter 6 Digital Filter Structures
Prof. Nizamettin AYDIN Digital Signal Processing 1.
Copyright © 2011 by Denny Lin1 Computer Music Synthesis Chapter 6 Based on “Excerpt from Designing Sound” by Andy Farnell Slides by Denny Lin.
DeMoivre’s Theorem The Complex Plane. Complex Number A complex number z = x + yi can be interpreted geometrically as the point (x, y) in the complex plane.
1 Z-Transform. CHAPTER 5 School of Electrical System Engineering, UniMAP School of Electrical System Engineering, UniMAP NORSHAFINASH BT SAUDIN
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
Nov'04CS3291 DSP Sectn 51 University of Manchester Department of Computer Science CS 3291 : Digital Signal Processing Section 5: z-transforms & IIR-type.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Z TRANSFORM AND DFT Z Transform
Quiz 1 Review. Analog Synthesis Overview Sound is created by controlling electrical current within synthesizer, and amplifying result. Basic components:
INC 341PT & BP INC341 Frequency Response Method Lecture 11.
1 Today's lecture −Cascade Systems −Frequency Response −Zeros of H(z) −Significance of zeros of H(z) −Poles of H(z) −Nulling Filters.
Digital Signal Processing
Signal and Systems Prof. H. Sameti Chapter 10: Introduction to the z-Transform Properties of the ROC of the z-Transform Inverse z-Transform Examples Properties.
8.2 Trigonometric (Polar) Form of Complex Numbers.
Feedback Filters n A feedback filter processes past output samples, as well as current input samples: n Feedback filters create peaks (poles or resonances)
Computer Sound Synthesis 2
Z Transform The z-transform of a digital signal x[n] is defined as:
Drill #81: Solve each equation or inequality
Introduction The product of two complex numbers is found using the same method for multiplying two binomials. As when multiplying binomials, both terms.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
The Geometry of Complex Numbers Section 9.1. Remember this?
Digital Signal Processing Lecture 6 Frequency Selective Filters
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
Application of digital filter in engineering
Graphing Complex Numbers AND Finding the Absolute Value
COMPLEX NUMBERS and PHASORS
Discrete-time Systems
ECE 1304 Introduction to Electrical and Computer Engineering
ECE 3301 General Electrical Engineering
Introduction to Complex Numbers
The imaginary unit i is defined as
Complex Numbers Dave Saha 15 Jan 99.
Polynomial and Rational Functions
Z TRANSFORM AND DFT Z Transform
Applied Symbolic Computation (CS 300) Review of Complex Numbers
Applied Symbolic Computation (CS 567) Review of Complex Numbers
Introduction The product of two complex numbers is found using the same method for multiplying two binomials. As when multiplying binomials, both terms.
Signal Processing First
10.0 Z-Transform 10.1 General Principles of Z-Transform Z-Transform
Lecture 24 Time-Domain Response for IIR Systems
Lecture 21 Zeros of H(z) and the Frequency Domain
Presentation transcript:

Computer Sound Synthesis 2 MUS_TECH 335 Selected Topics

Filters continued

Complex Numbers Complex Plane y x imaginary real x + yi Cartesian coordinates

Im Re  A = x 2 + y 2   = arctan( ) yxyx A polar form A 

Re  x = A cos  y = A sin  A Im Relationship of polar form to Cartesian form.

Complex Numbers Addition (a+bi) + (c+di) = (a+c) + (b+d)i Multiplication A 1  1 A 2  2 = A 1 A 2  (  1 +  2 ) (a+bi)(c+di) = ac + adi + bci + bdi 2 = (ac - bd) + (ad + bc)i.

Meaning of i? i represents a 90 degree rotational shift i i = i 2 = -1 represents a 180 degree rotational shift.

imaginary real z-plane unit circle 0-1/2 SR-3/2 SR3/2 SR1/2 SR Nyquist frequency

Geometric Interpretation of Magnitude Response img real |Z 1 | |P 1 | |H| proportional to |Z 1 | | Z 2 | |P 1 | |P 2 | = zero = pole z-plane

|Z | f a SR/2 = zero high-pass low-pass 0 a = 1 a = -1 z-plane f a SR/2 0 First-order Non-recursive Filter

|P | f a SR/2 = pole high-pass low-pass 0 b =.9 Z-plane f a SR/2 0 b = -.9 First-order Recursive Filter

Take a look at Movie Demonstrations

2 nd -order Filters z -1 k b1b1 ka2a2 a1a1 b2b2 non-recursive recursive 2-zero filter 2-pole filter

f a SR/2 2-pole band-pass 2-zero band-reject 0 f a SR/2 0 (x+yi) (x-yi) (x + yi)(x - yi) = x 2 - xyi + xyi - y 2 i 2 = x 2 + y 2

f low Q Q = freq BW * * * r  Q freq RQ = 1 = Used in SuperCollider: high Q Q increases as pole approaches the unit circle

Visit Pole-Zero Filter Design Applet

two-pole filter z -1 k -b 1 z -1 -b 2 difference equation: x(n) y(n) y(n) = k x(n) - b 1 y(n-1) - b 2 y(n-2) b 1 = 2r cos  b 2 = -r 2 The coefficients depend on the position of the poles, here expressed in polar form,  and r.

Programming Implementation z -1 -b 1 z -1 -b 2 input output k old1old2 feedback loop Program Flow output = k input - b 1 old1 - b 2 old2; old2 = old1; old1 = output; ***

Biquad Filter z -1 k b1b1 b2b2 1 a1a1 a2a2 out combined IIR/FIR 2 nd -order