FilteringFiltering Filtering is another name for subtractive synthesis because it subtracts frequencies from a soundFiltering is another name for subtractive.

Slides:



Advertisements
Similar presentations
Signals and Systems Fall 2003 Lecture #7 25 September Fourier Series and LTI Systems 2.Frequency Response and Filtering 3.Examples and Demos.
Advertisements

1 / 13 Fourier, bandwidth, filter. 2 / 13 The important roles of Fourier series and Fourier transforms: –To analysis and synthesis signals in frequency.
Frequency Modulation related to musical vibratorelated to musical vibrato Vibrato - Periodic variation of frequencyVibrato - Periodic variation of frequency.
Nonrecursive Digital Filters
Lecture 23 Filters Hung-yi Lee.
CHAPTER 4: ACTIVE FILTERS.
Basic Electronics Ninth Edition Basic Electronics Ninth Edition ©2002 The McGraw-Hill Companies Grob Schultz.
Data Processing Chapter 3 As a science major, you will all eventually have to deal with data. As a science major, you will all eventually have to deal.
Comb Filters Good model for exponentially decaying echoesGood model for exponentially decaying echoes impulse input: output: (scaling factor =.9)
Electronics Principles & Applications Sixth Edition DSP Audio Examples (Ch. 16 supplement) ©2003 Glencoe/McGraw-Hill Charles A. Schuler.
IIR FILTERS DESIGN BY POLE-ZERO PLACEMENT
Chap 4 Image Enhancement in the Frequency Domain.
Department of Electronics and Communication Engineering, Manipal Institute of Technology, Manipal, INDIA Filters.
ReverbReverb Reverberation is made up of many reflections.Reverberation is made up of many reflections. Reverb simulation is more complex than the filters.Reverb.
Chapter 7 Principles of Analog Synthesis and Voltage Control Contents Understanding Musical Sound Electronic Sound Generation Voltage Control Fundamentals.
Principals of Digital Signal Recording. How do we represent a continuously variable signal digitally? Sampling – Sampling rate – number of measurements.
Additive Synthesis Any periodic waveform can be expressed as the sum of one or more sine wavesAny periodic waveform can be expressed as the sum of one.
Lect22EEE 2021 Passive Filters Dr. Holbert April 21, 2008.
Lecture 231 EEE 302 Electrical Networks II Dr. Keith E. Holbert Summer 2001.
CHAPTER 6: INTRODUCTION TO PASSIVE FILTERS
EEE 194RF_ L121 ELEC 412 RF & Microwave Engineering Fall 2004 Lecture 12.
Equalization Changing the curve. What is an EQ? An Equalizer –Is generally a frequency-specific amplifier –Is made up of filters (passive or active) –Is.
Filtering Separating what you want from what you have.
What is a filter Passive filters Some common filters Lecture 23. Filters I 1.
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.
1 ECE 3336 Introduction to Circuits & Electronics Note Set #12 Frequency Response More About Filters Spring 2015, TUE&TH 5:30-7:00 pm Dr. Wanda Wosik.
Lecture 29 Review: Frequency response Frequency response examples Frequency response plots & signal spectra Filters Related educational materials: –Chapter.
Network Analysis and Synthesis
Introduction to Filters Section Application of Filter Application: Cellphone Center frequency: 900 MHz Bandwidth: 200 KHz Adjacent interference.
Introduction to Frequency Selective Circuits
Chapter 5 Frequency Domain Analysis of Systems. Consider the following CT LTI system: absolutely integrable,Assumption: the impulse response h(t) is absolutely.
Today Course overview and information 09/16/2010 © 2010 NTUST.
EE 311: Junior EE Lab Sallen-Key Filter Design J. Carroll 9/17/02.
POWER SUPPLIES. The Power Supply A station’s power supply (sometimes known as a power supply unit or PSU) is a device or system that supplies electrical.
Electronic Circuit DKT 214
ECE 598: The Speech Chain Lecture 7: Fourier Transform; Speech Sources and Filters.
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.
Subtractive Sound Synthesis. Subtractive Synthesis Involves subtracting frequency components from a complex tone to produce a desired sound Why is it.
Resonance Enhancement of the intensity of a particular frequency component(s) with respect to the intensity of the other components that occurs when its.
Active Filter A. Marzuki. 1 Introduction 2 First- Order Filters 3 Second-Order Filters 4 Other type of Filters 5 Real Filters 6 Conclusion Table of Contents.
Quiz 1 Review. Analog Synthesis Overview Sound is created by controlling electrical current within synthesizer, and amplifying result. Basic components:
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.
Elec and Comp Tech 62B Circuits and Systems
All materials are taken from “Fundamentals of electric circuits”
Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,
ELEC 202 Circuit Analysis II
Analog Lowpass Filter Prototype Design ELEC 423 Prof. Siripong Potisuk.
Op amp 2 Active Filters.
Digital Signal Processing Lecture 6 Frequency Selective Filters
Types of Synthesizers and How They Work
ELECTRIC CIRCUITS EIGHTH EDITION JAMES W. NILSSON & SUSAN A. RIEDEL.
Electronics Technology Fundamentals Chapter 15 Frequency Response and Passive Filters.
1 BIEN425 – Lecture 12 By the end of the lecture, you should be able to: –Design and implement IIR filters using zero-pole placement.
Chapter 5 Active Filter By En. Rosemizi Bin Abd Rahim EMT212 – Analog Electronic II.
Series & Parallel Resonance Passive Filter
Electric Circuits Chapter 7 Network Frequency Characteristics
TOPIC 3: FREQUENCY SELECTIVE CIRCUITS
LINEAR-PHASE FIR FILTERS DESIGN
MA 527 Dr. Park.
Frequency Modulation 2.
Developing a Versatile Audio Synthesizer TJHSST Computer Systems Lab
Introduction to Csound 5.
Richard M. Stern demo January 12, 2009
All-Pass Filters.
Frequency Modulation.
Uses of filters To remove unwanted components in a signal
Introduction to Csound 2.
RC FILTERS Analog Electronics IE2030. FREQUENCY.
Presentation transcript:

FilteringFiltering Filtering is another name for subtractive synthesis because it subtracts frequencies from a soundFiltering is another name for subtractive synthesis because it subtracts frequencies from a sound Filtering is the opposite approach of additive synthesis:Filtering is the opposite approach of additive synthesis: Additive synthesis builds a complex sound out of sine waves.Additive synthesis builds a complex sound out of sine waves. Subtractive synthesis starts with a complex source sound and removes some of the frequency components.Subtractive synthesis starts with a complex source sound and removes some of the frequency components.

Sound Examples Atlantic Brass QuintetAtlantic Brass Quintet Praetorius, "Introduction" from Terpsichore:Praetorius, "Introduction" from Terpsichore: 2 trumpets (high)2 trumpets (high) horn and trombone (medium)horn and trombone (medium) tuba (low)tuba (low) [iv:10] original[iv:10] original [iv:11] low-pass filtered[iv:11] low-pass filtered [iv:12] high-pass filtered[iv:12] high-pass filtered [iv:13] band-pass filtered[iv:13] band-pass filtered [iv:14] notch (band-stop) filtered[iv:14] notch (band-stop) filtered [iv:10] original[iv:10] original

Csound Filters Four Main Filter Types:Four Main Filter Types: Low-pass — toneLow-pass — tone High-pass — atoneHigh-pass — atone Band-pass — resonBand-pass — reson Notch (Band-stop) — aresonNotch (Band-stop) — areson

Low-Pass Filter Very common, probably about 50% of filters used in computer music are low-pass.Very common, probably about 50% of filters used in computer music are low-pass. Frequency Response Curve power = amp 2 ; amp = sqrt(power)power = amp 2 ; amp = sqrt(power) 1/2 power = sqrt(2)/2 amp = ~71% amp1/2 power = sqrt(2)/2 amp = ~71% amp

Csound Low-Pass Filter (tone) synthesized oboesynthesized oboe [iv:15] original tone Hertz [iv:16] low-pass filter at Hz

Csound Low-Pass Filter (tone) synthesized oboe with low-pass filtersynthesized oboe with low-pass filter ;p2p3p4p5p6p7p8 ;startdurampfreqattkdecfiltfr i ;ifiltfr=cps of response afilt toneasig, ifiltfr;curve's half amp point afilt2 toneafilt, ifiltfr;2nd filter = ;steeper rolloff abal balance afilt2, asig;balance amplitude

High-Pass Filter Passes high frequencies, attenuates lows.Passes high frequencies, attenuates lows. Used to brighten a signalUsed to brighten a signal be careful, can also increase noisebe careful, can also increase noise About 20% of filters used in computer music are high-pass.About 20% of filters used in computer music are high-pass. Frequency Response Curve

Csound High-Pass Filter (atone) synthesized oboesynthesized oboe [iv:15] original tone Hertz [iv:19] high-pass filter at Hz

Csound High-Pass Filter (atone) synthesized oboe with high-pass filtersynthesized oboe with high-pass filter ;p2p3p4p5p6p7p8 ;startdurampfreqattkdecfiltfr i ;ifiltfr=cps of response afilt atone asig, ifiltfr;curve's half amp point afilt2 atone afilt, ifiltfr;2nd filter = ;steeper rolloff abal balance afilt2, asig;balance amplitude

Band-Pass Filter Passes band of frequencies, attenuates those above and below band.Passes band of frequencies, attenuates those above and below band. Most common in implementations of discrete Fourier transform to separate out harmonics.Most common in implementations of discrete Fourier transform to separate out harmonics. About 20% of filters used in computer music are band-pass.About 20% of filters used in computer music are band-pass. Frequency Response Curve

Csound Band-Pass Filter (reson) Defined by center frequency f 0, and bandwidth of pass-band = f highcutoff - f lowcutoffDefined by center frequency f 0, and bandwidth of pass-band = f highcutoff - f lowcutoff synthesized oboesynthesized oboe [iv:15] original tone Hertz [iv:18] b-pass filter at Hz/10 bw

Csound Band-Pass Filter (reson) synthesized oboesynthesized oboe [iv:19] b-p filter at Hz/100 bw [iv:20] b-p filter at Hz/500 bw

Csound Band-Pass Filter (reson) synthesized oboe with band-pass filtersynthesized oboe with band-pass filter ;p2p3p4p5p6p7p8 p9 ;startdurampfreqattkdecfiltfr bw i i i ;ifiltfr=center freq of afilt reson asig,ifiltfr,ibw,0;the passband afilt2 reson afilt,ifiltfr,ibw,0;steeper rolloff abal balance afilt2, asig;balance amplitude

Band-Stop (Notch) Filter Stops band of frequencies, passes those above and below band.Stops band of frequencies, passes those above and below band. Most common in removing electric hum (50 Hertz A/C).Most common in removing electric hum (50 Hertz A/C). About 10% of filters used in computer music are band-stop.About 10% of filters used in computer music are band-stop. Frequency Response Curve

Csound Notch Filter (areson) Defined by center frequency f 0, and bandwidth of stop-band = f highcutoff - f lowcutoffDefined by center frequency f 0, and bandwidth of stop-band = f highcutoff - f lowcutoff pulse wavepulse wave [iv:21] original tone Hertz [iv:22] notch filter at Hz 100 bw

Csound Notch Filter (areson) synthesized oboe with notch filtersynthesized oboe with notch filter ;p2p3p4p5p6p7p8 p9 ;startdurampfreqattkdecfiltfr bw i ;ifiltfr=center freq of afilt areson asig,ifiltfr,ibw,1;the stopband afilt2 areson afilt,ifiltfr,ibw,1;steeper rolloff abal balance afilt2, asig;balance amplitude NOTE: The fourth argument in areson is scaling — it must be 1 (0 default in Csound manual doesn't work)NOTE: The fourth argument in areson is scaling — it must be 1 (0 default in Csound manual doesn't work)

LP Filter original synthesized oboe tone Hertzoriginal synthesized oboe tone Hertz [iv:15] 0. unfiltered tone [iv:26] 1. low-pass filter Hz

HP and BP Filter original synthesized oboe tone Hertzoriginal synthesized oboe tone Hertz [iv:27] 2. high-pass Hz [iv:28] 3. band-pass Hz

Dynamically Changing the Center Frequency and Bandwidth original synthesized bassoon tone 69 Hzoriginal synthesized bassoon tone 69 Hz b-pass filter — freq from fundamental to harmonic 15b-pass filter — freq from fundamental to harmonic 15 [iv:23] bassoon at 69 Hz[iv:24] bp filter Hz/bw 15 ; p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 ; st dur amp frq attk dec flt1 flt2 bw1 bw2 wai gls i

Dynamically Changing the Center Frequency and Bandwidth original synthesized bassoon tone 69 Hzoriginal synthesized bassoon tone 69 Hz band-pass filter — bw moving from 10 to 500band-pass filter — bw moving from 10 to 500 [iv:25] bp filter 276 Hz/bw same — first 3 harmonics ; p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 ; st dur amp frq attk dec flt1 flt2 bw1 bw2 wai gls i

Dynamically Changing the Center Frequency and Bandwidth In the Csound manual:In the Csound manual: artoneasig, khp[,istor];l-pass aratoneasig, khp[,istor];h-pass arresonasig, kcf,kbw[,iscale,istor];b-pass araresonasig, kcf,kbw[iscale,istor];notch Default is 0 for iscale and istorDefault is 0 for iscale and istor NOTE: Make sure that iscale is 1 if using the areson notch filter, as Csound doesn't work properly with the 0 defaultNOTE: Make sure that iscale is 1 if using the areson notch filter, as Csound doesn't work properly with the 0 default

Dynamically Changing the Center Frequency and Bandwidth We can change the half-power, the center frequency and the bandwidth at the k-rate using linseg statementsWe can change the half-power, the center frequency and the bandwidth at the k-rate using linseg statements original synthesized bassoon tone 69 Hzoriginal synthesized bassoon tone 69 Hz b-pass filter — freq from fundamental to harmonic 15b-pass filter — freq from fundamental to harmonic 15 kflfr linseg 69, idur, 1035 ;linseg for center afilt reson asig,kflfr,ibw,0 ;freq of the passband band-pass filter — bandwidth moving from 10 to 500band-pass filter — bandwidth moving from 10 to 500 kbw linseg 10, idur, 500 ; linseg for bandwidth afilt reson asig,iflfr,kbw,0 ; of the passband

Dynamically Changing the Center Frequency and Bandwidth a musical example: oboe, Bach, Fugue #2 in C Minora musical example: oboe, Bach, Fugue #2 in C Minor [iv:29] no filter[iv:29] no filter [iv:30] lp filter, 55 -> 160 Hertz[iv:30] lp filter, 55 -> 160 Hertz [iv:31] bp filter, 220 -> 7040 Hertz, bw 1[iv:31] bp filter, 220 -> 7040 Hertz, bw 1 [iv:32] bp filter, 220 -> 7040 Hertz, bw 1 -> 100[iv:32] bp filter, 220 -> 7040 Hertz, bw 1 -> 100

[iv:33] Hiss and Hum compare with [iv:34] 60 Hertz sine wave hisshiss high frequency noise you hear on cassette tapeshigh frequency noise you hear on cassette tapes unfocused — not just a single frequencyunfocused — not just a single frequency which kind of filter can you use to get rid of it?which kind of filter can you use to get rid of it? humhum the noise you hear from machinery (such as lights and computers)the noise you hear from machinery (such as lights and computers) focused frequency, same as the local electrical powerfocused frequency, same as the local electrical power which kind of filter can you use to get rid of it?which kind of filter can you use to get rid of it?

Filtered Noise with Band-Pass Filters [iv:35] noise with bp filter at Hz/bw 1% of filter freq ;p2p3p4p5 p6 p7 p8 ;startdurampfreq attk decbw i

Filtered Noise with Band-Pass Filters [iv:36] a musical example: Ayers, Companion of Strange Intimacies[iv:36] a musical example: Ayers, Companion of Strange Intimacies

Filtered Noise with Band-Pass Filters ;noiseflt.orc instr 16; noise filter idur = p3 iamp = p4 ifilfr = p5;filter frequency iattack = p6 idecay = p7 ibw = p8 * ifreq;max bandwidth for filter isus = idur - iattack - idecay

kenv linseg 0,iattack,1,isus,1,idecay,0,1,0 ;ampenv knenv = kenv * iamp ;env for noise source anoise rand knenv ;noise source ;filter the noise source at ifreq afilt reson anoise,ifreq,ibw*kenv,0,0 abal balance afilt, anoise;balance amplitude out abal;OUTPUT asig here endin Filtered Noise with Band-Pass Filters