Digital Filters. Filters Filters shape the frequency spectrum of a sound signal. –Filters generally do not add frequency components to a signal that are.

Slides:



Advertisements
Similar presentations
Design of Digital IIR Filter
Advertisements

| Page Angelo Farina UNIPR | All Rights Reserved | Confidential Digital sound processing Convolution Digital Filters FFT.
Advanced Lecture.  Equalization, or EQ is the process of using passive or active electronic elements or digital algorithms for the purpose of altering.
Nonrecursive Digital Filters
EE513 Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
FILTERS Presented by: Mohammed Alani Supervised By: Dr. Nazila Safavi
Signal and System IIR Filter Filbert H. Juwono
Digital Filters. Filters Filters shape the frequency spectrum of a sound signal. Filters shape the frequency spectrum of a sound signal. –Filters generally.
ELEN 5346/4304 DSP and Filter Design Fall Lecture 8: LTI filter types Instructor: Dr. Gleb V. Tcheslavski Contact:
Filtering Filtering is one of the most widely used complex signal processing operations The system implementing this operation is called a filter A filter.
So far We have introduced the Z transform
Digital signal processing -G Ravi kishore. INTRODUCTION The goal of DSP is usually to measure, filter and/or compress continuous real-world analog signals.
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
Principals of Digital Signal Recording. How do we represent a continuously variable signal digitally? Sampling – Sampling rate – number of measurements.
Sound Synthesis CE 476 Music & Computers. Additive Synthesis We add together different soundwaves sample-by-sample to create a new sound, see Applet 4.3.
MM3FC Mathematical Modeling 3 LECTURE 4 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
FILTERING GG313 Lecture 27 December 1, A FILTER is a device or function that allows certain material to pass through it while not others. In electronics.
Joshua “Rock Star” Jenkins Jeff “Tremolo” Smith Jairo “the boss” Rojas
Measurement and Instrumentation Dr. Tayab Din Memon Assistant Professor Dept of Electronic Engineering, MUET, Jamshoro. ACTIVE FILTERS and its applications.
Circuits II EE221 Unit 5 Instructor: Kevin D. Donohue Passive Filters, low-Pass and Band-Pass filters.
Low-Pass Filter & High Pass Filter
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.
Systems: Definition Filter
Lecture 29 Review: Frequency response Frequency response examples Frequency response plots & signal spectra Filters Related educational materials: –Chapter.
Introduction to Frequency Selective Circuits
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 6: Filters - Introduction 1.Simple Filters 2.Ideal Filters 3.Linear Phase and FIR filter.
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
Speech Signal Processing I Edmilson Morais and Prof. Greg. Dogil October, 25, 2001.
Digital Signals and Systems
Filters and the Bode Plot
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Formatting and Baseband Modulation
Discrete-Time and System (A Review)
Chapter 5 Frequency Domain Analysis of Systems. Consider the following CT LTI system: absolutely integrable,Assumption: the impulse response h(t) is absolutely.
Chapter 2. Signals Husheng Li The University of Tennessee.
Electronic Circuit DKT 214
Chapter 6 Digital Filter Structures
EE Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
UNIT-5 Filter Designing. INTRODUCTION The Digital filters are discrete time systems used mainly for filtering of arrays. The array or sequence are obtained.
Chapter 5 Frequency Domain Analysis of Systems. Consider the following CT LTI system: absolutely integrable,Assumption: the impulse response h(t) is absolutely.
Filtering. What Is Filtering? n Filtering is spectral shaping. n A filter changes the spectrum of a signal by emphasizing or de-emphasizing certain frequency.
Copyright © 2011 by Denny Lin1 Computer Music Synthesis Chapter 6 Based on “Excerpt from Designing Sound” by Andy Farnell Slides by Denny Lin.
If you speak one word at the microphone at a level of 80 dB and the loudspeaker returns that word to the microphone at 80 dB, then you can go home. The.
EMT212 - ANALOGUE ELECTRONIC II
Quiz 1 Review. Analog Synthesis Overview Sound is created by controlling electrical current within synthesizer, and amplifying result. Basic components:
Digital filters Honza Černocký, ÚPGM. Aliases Numerical filters Discrete systems Discrete-time systems etc. 2.
EEE 503 Digital Signal Processing Lecture #2 : EEE 503 Digital Signal Processing Lecture #2 : Discrete-Time Signals & Systems Dr. Panuthat Boonpramuk Department.
Measurements & Electrical Analog Devices (Part 2).
1 Conditions for Distortionless Transmission Transmission is said to be distortion less if the input and output have identical wave shapes within a multiplicative.
Which one? You have a vector, a[ ], of random integers, which can modern CPUs do faster and why? //find max of vector of random ints max=0; for (inda=0;
1 Digital Signal Processing. 2 Digital Signal Processing Topic 6: Filters-Introduction 1. Simple Filters 2. Ideal Filters 3. Linear Phase and FIR filter.
Passive filters A frequency selective circuit, or filter, enables signals at certain frequencies to reach the output, and it attenuates (weaken or lessen.
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
15. Fourier analysis techniques
Nov '03csDSP61 CS3291: Section 6 IIR discrete time filter design Introduction: Many design techniques for IIR discrete time filters have adopted ideas.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
Op amp 2 Active Filters.
Digital Signal Processing Lecture 6 Frequency Selective Filters
What is filter ? A filter is a circuit that passes certain frequencies and rejects all others. The passband is the range of frequencies allowed through.
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
Eeng Chapter4 Bandpass Signalling  Bandpass Filtering and Linear Distortion  Bandpass Sampling Theorem  Bandpass Dimensionality Theorem  Amplifiers.
ELECTRIC CIRCUITS EIGHTH EDITION JAMES W. NILSSON & SUSAN A. RIEDEL.
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
Signal Processing First
FIR vs. IIR one wall one-shot delay feedforward two walls
Filters What is a filter Spectral response Impulse response
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Frequency Response Transfer Function Introduction to Filters.
Uses of filters To remove unwanted components in a signal
Lecture 22 IIR Filters: Feedback and H(z)
Presentation transcript:

Digital Filters

Filters Filters shape the frequency spectrum of a sound signal. –Filters generally do not add frequency components to a signal that are not there to begin with. –Boost or attenuate selected frequency regions

Which of the Following is not a Filter? Graphic Equalizer on a stereo system Tone control on a stereo system Microphone Mixing Board Loudspeaker Vocal Tract Ear

Definition A filter is any operation on a signal (From Rabiner et al, “Terminology in Digital Signal Processing.” Commonly, we limit the term filter to devices (hardware or software) that were designed specifically to boost or attenuate regions of a sound spectrum.

The Basic on Filters Filters work by using one or both of the following methods: –Delay a copy of the input signal (by x number of samples), and combine the delayed input signal with the new input signal. (Finite Impulse Response, FIR, or feedforward filter) –Delay a copy of the output signal (by x number of samples), and combine it with the new input signal. (Infinite Impulse Response, IIR, feedback filter)

The Impulse In computer music, an impulse is a very short pulse— a waveform that has significant amplitude only for a very short time. (usually unipolar) For filters, we use a one-sample pulse, or unit impulse. The response of the filter to the unit impulse is the filter’s Impulse Response (IR).

Filter Terms (that you should already know) Types: lowpass, highpass, bandpass, bandreject (notch) cutoff frequency, center frequency, bandwidth, Q, slope, gain. Slope is an important, but often overlooked, concept.

The Math First, how we label things: –x is the input signal –y is the output signal –n is the sample index (all samples are numbered, or indexed) x[0] is the first sample of input; y[0] is the first sample of output. x[n] is the current sample; x[n - 1] is the previous sample.

FIR Math [0] Simple Lowpass Filter (averaging): –output = half_of_current_input + half_of_previous_input –y[n] = (0.5 x x[n]) + (0.5 x x[n - 1]) Simple Highpass Filter (difference): –output = half_of_current input - half_of_previous_input –y[n] = (0.5 x x[n]) — (0.5 x x[n - 1])

FIR Math[1] Filters generally use more than one sample delay, with independently determined coefficients. a i is the last coefficient in the series, and x[n - i] is the last delayed sample The Order of the filter is equal to the number of samples you look back. Generally, the higher the order—the more samples you look back to take an average or difference—the more attenuation of frequencies.

IIR Math[0] The feedback loop introduced creates the possibility of an infinite impulse (delayed sample). The simple averaging filter becomes an Exponential Time Averaging Filter (ETA Filter), equivalent to an infinitely long FIR filter.

Care and Handling Care has to be taken with any feedback system. –Feedback coefficients have to remain below 1.0, or the filter becomes unstable. IIR filters are computationally less expensive than FIR filters for greater shaping potential. –drawbacks: phase distortion and ringing. FIR filters are always stable, and prevent phase distortion. –drawbacks: more computation than an IIR with similar effect.

Complicated Filters More complicated filters can generally be built by using combinations of second-order IIR filters, or combinations of FIR and IIR filters. (p. 412 of Roads) –feedforward paths (FIR) usually contribute notches to the frequency spectrum. –feedback paths (IIR) usually contribute peaks.

Homework: Explore Read the documentation (in the MSP2.pdf file) for the following objects in Max/MSP: –reson~ –biquad~ –lores~ –onepole~ In particular, examine the equation for the filter output, and what you as the user must specify as arguments or input to the filter. How are the filters related? Which filters are more musically intuitive?