Comb Filters Good model for exponentially decaying echoesGood model for exponentially decaying echoes impulse input: output: (scaling factor =.9)

Slides:



Advertisements
Similar presentations
Simple FM Instruments John Chowning's FM Designs as shown in Dodge, Computer MusicJohn Chowning's FM Designs as shown in Dodge, Computer Music brass-like.
Advertisements

The Csound Score a group of function tables and list of note statementsa group of function tables and list of note statements combining score with orchestra.
HasSound: Generating Musical Instrument Sounds in Haskell Paul Hudak Yale University Department of Computer Science Joint work with: Matt Zamec (Yale ‘00)
IntroductionIntroduction Most musical sounds are periodic, and are composed of a collection of harmonic sine waves.Most musical sounds are periodic, and.
MUSIC NOTES Noise Versus Music  What is the difference between noise and music?  Answer: The appearance of the waveform.  What is the difference between.
Frequency Modulation related to musical vibratorelated to musical vibrato Vibrato - Periodic variation of frequencyVibrato - Periodic variation of frequency.
Modulation: CHORUS AND FLANGE  Just as a chorus is a group of singers, the chorus effect can make a single instrument sound like there are actually.
What makes a musical sound? Pitch n Hz * 2 = n + an octave n Hz * ( …) = n + a semitone The 12-note equal-tempered chromatic scale is customary,
Lock-in amplifiers Signals and noise Frequency dependence of noise Low frequency ~ 1 / f –example: temperature (0.1 Hz), pressure.
Synthesis. What is synthesis? Broad definition: the combining of separate elements or substances to form a coherent whole. (
Harmonic Series and Spectrograms 220 Hz (A3) Why do they sound different? Instrument 1 Instrument 2Sine Wave.
Electronics Principles & Applications Sixth Edition DSP Audio Examples (Ch. 16 supplement) ©2003 Glencoe/McGraw-Hill Charles A. Schuler.
FilteringFiltering Filtering is another name for subtractive synthesis because it subtracts frequencies from a soundFiltering is another name for subtractive.
Digital Filters. Filters Filters shape the frequency spectrum of a sound signal. Filters shape the frequency spectrum of a sound signal. –Filters generally.
ReverbReverb Reverberation is made up of many reflections.Reverberation is made up of many reflections. Reverb simulation is more complex than the filters.Reverb.
3-D Sound and Spatial Audio MUS_TECH 348. Environmental Acoustics and Computational Simulation.
Chapter 7 Principles of Analog Synthesis and Voltage Control Contents Understanding Musical Sound Electronic Sound Generation Voltage Control Fundamentals.
The Csound Orchestra semi-colon begins a commentsemi-colon begins a comment Csound ignoresCsound ignores everything on the line after the semi-coloneverything.
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.
Parameter (p) Variables contain the score parameter values for each notecontain the score parameter values for each note allow score to control orchestraallow.
Harmonics and Overtones Waveforms / Wave Interaction Phase Concepts / Comb Filtering Beat Frequencies / Noise AUD202 Audio and Acoustics Theory.
EE2F2 - Music Technology 8. Subtractive Synthesis.
PH 105 Dr. Cecilia Vogel Lecture 12. OUTLINE  Timbre review  Spectrum  Fourier Synthesis  harmonics and periodicity  Fourier Analysis  Timbre and.
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.
Human Psychoacoustics shows ‘tuning’ for frequencies of speech If a tree falls in the forest and no one is there to hear it, will it make a sound?
Advanced Lecture. Audio Distortion  Distortion is the name given to anything that alters a pure input signal in any way other than changing its magnitude.
Joshua “Rock Star” Jenkins Jeff “Tremolo” Smith Jairo “the boss” Rojas
DSP Term Project By: Ashley Downs And Jeff Malen By: Ashley Downs And Jeff Malen.
Lock-in amplifiers
Where we’re going Speed, Storage Issues Frequency Space.
GG 313 Lecture 26 11/29/05 Sampling Theorem Transfer Functions.
Harmonic Series and Spectrograms
Physics 1251 The Science and Technology of Musical Sound Unit 4 Session 37 MWF Synthesizers Unit 4 Session 37 MWF Synthesizers.
Vibrating Strings and Resonance in Air Columns. String Instruments  In many musical instruments, the source sets a string into vibration  Standing waves.
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 11: Modulation Ken Greenebaum.
Digital Filters. Filters Filters shape the frequency spectrum of a sound signal. –Filters generally do not add frequency components to a signal that are.
Subtractive Sound Synthesis. Subtractive Synthesis Involves subtracting frequency components from a complex tone to produce a desired sound Why is it.
Vocab. Power Point Randall York. Additive Synthesis A synthesis technique that creates a periodic signal by adding sinusoids together.
EE 113D Fall 2008 Patrick Lundquist Ryan Wong
The Physics of Musical Instruments
Harmonic Series and Spectrograms BY JORDAN KEARNS (W&L ‘14) & JON ERICKSON (STILL HERE )
CHAPTER 4 COMPLEX STIMULI. Types of Sounds So far we’ve talked a lot about sine waves =periodic =energy at one frequency But, not all sounds are like.
Effects. Effects in Music n All music that is recorded or amplified relies on effects to enhance certain characteristics of the sound. n Guitarists typically.
Electronics Principles & Applications Eighth Edition DSP Audio Examples (Ch. 16 supplement) Charles A. Schuler McGraw-Hill©2013 by The McGraw-Hill Companies,
Computer Sound Synthesis 2 MUS_TECH 335 Selected Topics.
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 MUS_TECH 335 Selected Topics.
ICASSP Multimedia file Title : Periodic Signal Extraction with Global Amplitude and Phase Modulation for Music Signal Decomposition Title : Periodic Signal.
TE4201-Communication Electronics 1 9. SSB Demodulation and Receivers SSB demodulation SSB demodulationSSB demodulationSSB demodulation BFO drift effect.
SymbolMeaning Frequency of the Input Signal Frequency of the Lock-in Reference Frequency of the Additional Sinusoidal Input Signal (or Coherent Noise)
12-3 Harmonics.
Intro to Fourier Series BY JORDAN KEARNS (W&L ‘14) & JON ERICKSON (STILL HERE )
Measurement and Instrumentation
SOUND
Alternating voltages and currents
Lock-in amplifiers
For a periodic complex sound
Intro to Fourier Series
Frequency Modulation 2.
Developing a Versatile Audio Synthesizer TJHSST Computer Systems Lab
Introduction to Csound 5.
Wavetable Synthesis.
The Production of Speech
All-Pass Filters.
Open and Closed Pipes Sound.
Frequency Modulation.
Uses of filters To remove unwanted components in a signal
Sampling.
Lecture 7: Spectral Representation
Introduction to Csound 2.
Presentation transcript:

Comb Filters

Good model for exponentially decaying echoesGood model for exponentially decaying echoes impulse input: output: (scaling factor =.9)

Comb Filters Applying a comb filter to a sine wave at the fundamental frequency produces a sharper rolloff, but doesn't change the fundamental.Applying a comb filter to a sine wave at the fundamental frequency produces a sharper rolloff, but doesn't change the fundamental. [iv:37] sine wave, Hz [iv:38] with comb filter at Hz

Comb Filters Combing a sine wave produces only the fundamental frequency, no matter what the comb frequency, because the comb does not produce its own frequency.Combing a sine wave produces only the fundamental frequency, no matter what the comb frequency, because the comb does not produce its own frequency. However, it can change the amplitude and quality of the sound by giving a "metallic" ring.However, it can change the amplitude and quality of the sound by giving a "metallic" ring.

Comb Filters Applying a comb filter to an oboe spectrum at the fundamental frequency produces a rich spectrum with amplitude peaks similar to the teeth of a comb.Applying a comb filter to an oboe spectrum at the fundamental frequency produces a rich spectrum with amplitude peaks similar to the teeth of a comb. [iv:15] oboe at Hz[iv:39] with comb filter at Hz

Comb Filters At four times the fundamental frequency, the comb filter gives a metallic ring, and gives only three frequencies at harmonic intervals from itself.At four times the fundamental frequency, the comb filter gives a metallic ring, and gives only three frequencies at harmonic intervals from itself. The filter frequency is the loudest of these.The filter frequency is the loudest of these. [iv:40] with comb filter at Hz

Musical Examples Bach, Fugue #2 in C MinorBach, Fugue #2 in C Minor [iv:41] with comb filter at 880 Hz[iv:41] with comb filter at 880 Hz [iv:42] with comb filter at 880 Hz, then lowpass filter frequency changing from 220 to 7040[iv:42] with comb filter at 880 Hz, then lowpass filter frequency changing from 220 to 7040 [iv:43] with a flickering bank of comb filters at 10 harmonic frequencies from 246.9[iv:43] with a flickering bank of comb filters at 10 harmonic frequencies from 246.9

Comb Filter score filescore file ;comb.sco - use with comb.orc ;startdur i ; note list ; comb percent ;st dur amp freq attk dec ring comb ;i i

Comb Filter ;comb.orc - use with comb.sco gacombinit 0; initialize gacomb ; instr 2; regular instrument... ; add the signal for this note to the global signal gacomb=gacomb + asig outasig; don't output asig here endin ;

Comb Filter instr 94; global comb filter idur= p3 iamp= p4 icombfreq= p5; comb filter frequency iattack= p6; modulator frequency idecay= p7 isus= idur - iattack - idecay ring time for comb filter iring= p8; ring time for comb filter icomb= p9; percent for combed signal ; make sure the values are between 0 and 1: icomb= (icomb <= 0 ?.01 : icomb) icomb= (icomb >= 1 ?.99 : icomb) rest of signal is acoustic iacoustic= 1 - icomb; rest of signal is acoustic lengthen p3 p3= p3 + iring +.1; lengthen p3 loop time iloop= 1/icombfreq; loop time normalize the tone inorm= 39.7; normalize the tone

Comb Filter ; comb arguments: signal, ring time, loop time acomb comb gacomb, iring, iloop aenv linseg 0,iattack,iamp,isus,iamp,idecay,0,1,0 acomb = acomb * aenv ; mix signal (percent acoustic and percent combed) asig = (iacoustic * gacomb) + (icomb * acomb) out asig; output signal gacomb = 0; reset gacomb to prevent feedback endin