Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 23:Physical Modeling III/ambience Ken Greenebaum.

Slides:



Advertisements
Similar presentations
Acoustic-Structural Interaction in a Tuning Fork
Advertisements

Closed end: displacement zero (node), pressure max (antinode)
ISNS Phenomena of Nature Intensity decreases with increasing distance from the source. the wave is spreading out over a circular (2 dimensions)
Musical Instruments and Sound Simple Harmonic Motion Envelope of sound NIHL report AUD202 Audio and Acoustics Theory.
Waves_03 1 Two sine waves travelling in opposite directions  standing wave Some animations courtesy of Dr. Dan Russell, Kettering University TRANSVERSE.
SOUND WAVES Sound is a longitudinal wave produced by a vibration that travels away from the source through solids, liquids, or gases, but not through a.
Sound waves and Perception of sound Lecture 8 Pre-reading : §16.3.
9.2 Musical Instruments. New Ideas for today Sound and waves Pitch String and wind instruments.
Duffing’s Equation as an Excitation Mechanism for Plucked String Instrument Models by Justo A. Gutierrez Master’s Research Project Music Engineering Technology.
Comments, Quiz # 1. So far: Historical overview of speech technology - basic components/goals for systems Quick overview of pattern recognition basics.
PHY132 Introduction to Physics II Class 3 – Outline: Ch. 21, sections The Principle of Superposition Standing Waves Nodes and Antinodes Musical.
Chapter 16: Sound 16-3 Intensity of Sound: Decibels
PH 105 Dr. Cecilia Vogel Lecture 6. OUTLINE  Natural or Normal Modes  Driving force  Resonance  Helmholtz resonator  Standing Waves  Strings and.
EE2F2 - Music Technology 11. Physical Modelling Introduction Some ‘expressive instruments don’t sound very convincing when sampled Examples: wind or.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Sound Synthesis With Digital Waveguides Jeff Feasel Comp 259 March
7/5/20141FCI. Prof. Nabila M. Hassan Faculty of Computer and Information Fayoum University 2013/2014 7/5/20142FCI.
Standing Waves Time to read Chapter 3 of Berg & Stork.
Physics of Musical Instruments. Strings viola da gamba cello guitar harpsichord piano electric guitar.
1 If we try to produce a traveling harmonic wave on a rope, repeated reflections from the end produces a wave traveling in the opposite direction - with.
Computer Sound Synthesis 2 MUS_TECH 335 Selected Topics.
Waves and Sound Ch
Computer Sound Synthesis 2
Chapter 14 Superposition and Standing Waves 2 Waves vs. Particles Particles have zero sizeWaves have a characteristic size – their wavelength Multiple.
Maximization of Flow through Intake & Exhaust Systems
PHY132 Introduction to Physics II Class 3 – Outline: Ch. 21, sections The Principle of Superposition Standing Waves Nodes and Antinodes Musical.
L 23 – Vibrations and Waves [3] resonance  clocks – pendulum  springs  harmonic motion  mechanical waves  sound waves  golden rule for waves Wave.
L 22 – Vibrations and Waves [3] resonance  clocks – pendulum  springs  harmonic motion  mechanical waves  sound waves  golden rule for waves Wave.
L 23 – Vibrations and Waves [3]  resonance   clocks – pendulum   springs   harmonic motion   mechanical waves   sound waves  golden rule for.
Standing waves on a string (review) n=1,2,3... Different boundary conditions: Both ends fixed (see above) Both ends free (similar to both ends fixed )
Chapter 18 Superposition and Standing Waves. Waves vs. Particles Waves are very different from particles. Particles have zero size.Waves have a characteristic.
L 23a – Vibrations and Waves [4]  resonance   clocks – pendulum   springs   harmonic motion   mechanical waves   sound waves   golden rule.
Musical Instruments Chapter 9 part C. Observations about Musical Instruments They can produce different notes They can produce different notes They.
Musical Instruments. Standing Waves  Waves that reflect back and forth interfere.  Some points are always at rest – standing waves.
A “physical phenomenon that stimulates the sense of hearing.”
Chapter 13 - Sound 13.1 Sound Waves.
Physics 1251 The Science and Technology of Musical Sound Unit 3 Session 30 MWF The Timbre of Wind Instruments Unit 3 Session 30 MWF The Timbre of Wind.
Chapter 17 Sound Waves: part one. Introduction to Sound Waves Sound waves are longitudinal waves They travel through any material medium The speed of.
Natural Frequency & Resonance
RESONANCE MUSICAL ACOUSTICS Science of Sound Chapter 4.
What about the rubber bands determines pitch? Musical Instruments - Strings  The pitch or frequency of a string is determined by the string’s velocity.
Computer Sound Synthesis 2
L 23 – Vibrations and Waves [3]  resonance   clocks – pendulum   springs   harmonic motion   mechanical waves   sound waves  golden rule for.
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 20:Spectral Filtering Ken Greenebaum.
SoundSection 3 What do you think? A violin, a trumpet, and a clarinet all play the same note, a concert A. However, they all sound different. What is the.
Dr. Andrew Tomasch 2405 Randall Lab
Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 22:Physical Modeling II Ken Greenebaum.
Superposition and Standing Waves
Percussion Instruments
L 22 – Vibrations and Waves [3]
L 23 – Vibrations and Waves [3]  resonance   clocks – pendulum   springs   harmonic motion   mechanical waves   sound waves  golden rule for.
1 L 23 – Vibrations and Waves [3]  resonance  clocks – pendulum  springs  harmonic motion  mechanical waves  sound waves  golden rule for waves.
5. Interference Interference – combination of waves (an interaction of two or more waves arriving at the same place) Principle of superposition: (a) If.
DHC 161 2/28/12 Energy input strategies Interaction between source and standing wave.
15.1 Properties and Detection of Sound Interference of sound waves.
FCI. Faculty of Computer and Information Fayoum University FCI.
Sound Part II  Music What is the study of sound called?  Acoustics.
Wave Action Theory for Turning of Intake & Exhaust Manifold
Chapter 16: Sound 16-5 Quality of Sound, and Noise; Superposition 16-6 Interference of Sound Waves; Beats 16-7 Doppler Effect HW problems: Chapter 16:
Lecture 11 WAVE.
L 22 – Vibrations and Waves [3]
Review – Standing Waves
Musical Instruments.
Sources of Sound To produce sound, we have to make air molecules move back and forth; we can do this either with acoustic vibrations in an enclosed space.
Chapter 16: Sound HW problems: Chapter 16: Pb.2, Pb.18, Pb.24, Pb.35, Pb.40, Pb.62: Due Wed., Jan. 17.
Lecture 7 Ch 16 Standing waves
Chapter 16: Sound HW2: Chapter 16: Pb.2, Pb 18, Pb.24, Pb 35, Pb.40, Pb.62 Due on Wednesday 24.
5. Interference Interference – combination of waves
Announcements Final exam
14-7 Superposition and Interference
Closed end: displacement zero (node), pressure max (antinode)
Presentation transcript:

Copyright 2004 Ken Greenebaum Introduction to Interactive Sound Synthesis Lecture 23:Physical Modeling III/ambience Ken Greenebaum

Copyright 2004 Ken Greenebaum And then there were 3 Three Classes left! Three Classes left! Wrap-up physical modeling Wrap-up physical modeling Discuss ambience/spatialization Discuss ambience/spatialization Final Review/Discussion Final Review/Discussion

Copyright 2004 Ken Greenebaum Readings Audio Anecdotes: Audio Anecdotes: Listening to Nature Listening to Nature Optional Optional Using FLAVOR Bitstream Representation Using FLAVOR Bitstream Representation

Copyright 2004 Ken Greenebaum Physical modeled string: Example 1 How does this sound? How does this sound?

Copyright 2004 Ken Greenebaum Physical modeled string: Example 1 Not thrilling? Not thrilling? Why? Why?

Copyright 2004 Ken Greenebaum Physical modeled string: Example 2 Sound more realistic? Sound more realistic? Why? Why?

Copyright 2004 Ken Greenebaum Example 2 Similar model but: Similar model but: Have two strings for each note Have two strings for each note ‘Pluck’ strings with a sawtooth plus ‘Pluck’ strings with a sawtooth plus Delay lines initialized with random noise for brightness and variety Delay lines initialized with random noise for brightness and variety Low-pass filter used to Low-pass filter used to model hi-freq losses model hi-freq losses Resonant filter used to Resonant filter used to model body of instrument model body of instrument

Copyright 2004 Ken Greenebaum Violin Expand this model to include Expand this model to include Model of bow friction Model of bow friction To model (simple) violin To model (simple) violin

Copyright 2004 Ken Greenebaum Standing Waves in Tubes Acoustic tubes can be modeled Acoustic tubes can be modeled in a similar way using standing waves in a similar way using standing waves Displacement is replaced by pressure Displacement is replaced by pressure

Copyright 2004 Ken Greenebaum Tube example Slap end of this tube Slap end of this tube Sound like a plucked string? Sound like a plucked string?

Copyright 2004 Ken Greenebaum Ideal Tube Moving piston in tube Moving piston in tube Acts much like displacement of spring Acts much like displacement of spring Air pressure in tube: Air pressure in tube: Same as string displacement… Same as string displacement… P (x,t ) = P l (t +x /c )+P r (t –x /c) P (x,t ) = P l (t +x /c )+P r (t –x /c)

Copyright 2004 Ken Greenebaum Jug’a’lug Air filled containers have strong resonances Air filled containers have strong resonances Bottles, Jugs, etc. Bottles, Jugs, etc. Called Helmholtz resonators Called Helmholtz resonators

Copyright 2004 Ken Greenebaum Helmholtz resonator Intuitively resonant Frequency Decreases with: Intuitively resonant Frequency Decreases with: Smaller opening Smaller opening Longer neck Longer neck Larger volume Larger volume Consider: Consider: Wine bottle Wine bottle Musical instruments Musical instruments

Copyright 2004 Ken Greenebaum Helmholtz resonator We can model this system as: We can model this system as: Piston Piston Moving in a pipe Moving in a pipe Connected to a air reservoir Connected to a air reservoir Provided no standing waves (small reservoir) Provided no standing waves (small reservoir) Which is our spring model Which is our spring model Spring force replaced by Spring force replaced by Pressure * change in volume Pressure * change in volume Cross section of piston * length of displacement Cross section of piston * length of displacement

Copyright 2004 Ken Greenebaum Helmholtz resonator Where Where f : Resonant frequency of vessel f : Resonant frequency of vessel V : Volume of the vessel V : Volume of the vessel L : Length of pipe (neck) L : Length of pipe (neck) r : Radius of pipe (neck) r : Radius of pipe (neck)

Copyright 2004 Ken Greenebaum Ubiquitous model Many instruments may be modeled as: Many instruments may be modeled as: Linear resonator Linear resonator Modeled by filters Modeled by filters all-pole resonators (waveguides) all-pole resonators (waveguides) Driven by Driven by Single point, nonlinear oscillator Single point, nonlinear oscillator

Copyright 2004 Ken Greenebaum Nonlinear oscillator Models: Models: Reed of clarinet Reed of clarinet Lips of trumpet player Lips of trumpet player Jet of the flute Jet of the flute Bow-string friction of violin Bow-string friction of violin

Copyright 2004 Ken Greenebaum Example 3 Wind Instrument Clarinet block diagram: Clarinet block diagram:

Copyright 2004 Ken Greenebaum Problem: Stiffness For stiff systems For stiff systems Metal Bar Metal Bar Propagation speed varies with frequency Propagation speed varies with frequency Simple constant c Simple constant c Replaced with frequency dependent fn Replaced with frequency dependent fn c (f ) c (f )

Copyright 2004 Ken Greenebaum Piano Piano strings have weak stiffness Piano strings have weak stiffness All-pass filter added to waveguide to model freq. dependent speed of sound All-pass filter added to waveguide to model freq. dependent speed of sound All-pass filter designed to have: All-pass filter designed to have: No change in gain No change in gain Frequency dependent phase delay Frequency dependent phase delay

Copyright 2004 Ken Greenebaum Rigid Bars Such as in a xylophone Such as in a xylophone Can’t efficiently be modeled with single waveguide & all-pass filter Can’t efficiently be modeled with single waveguide & all-pass filter Instead banded waveguides are used Instead banded waveguides are used Waveguides models speed of sound near each significant vibration mode Waveguides models speed of sound near each significant vibration mode

Copyright 2004 Ken Greenebaum Dimensional models Our models thus far are 1 dimensional Our models thus far are 1 dimensional Multi-dimensional models required to model Multi-dimensional models required to model Membranes Membranes Plates Plates

Copyright 2004 Ken Greenebaum Consider 2-dimensional mass- spring model Modeled at each point: Modeled at each point: Density (mass per unit area) Density (mass per unit area) Tension Tension Thickness Thickness Displacement Displacement Sum of bidirectional X and Y traveling waves Sum of bidirectional X and Y traveling waves

Copyright 2004 Ken Greenebaum 2D Mass Spring Model Pretty expensive to calculate for: Pretty expensive to calculate for: High resolution High resolution Large area Large area

Copyright 2004 Ken Greenebaum 2D Mass Spring Model Benefits: Benefits: Accurately model actual object Accurately model actual object Vibration modes modeled Vibration modes modeled Important for: Important for: Inhomogeneous media Inhomogeneous media Media with unusual boundary Media with unusual boundary Jagged edge Jagged edge Unusual shape Unusual shape

Copyright 2004 Ken Greenebaum 3D Models An extension of 2D models An extension of 2D models Computationally expensive: Computationally expensive: Assuming: Assuming: 44.1K samples/s 44.1K samples/s Sound traveling at 1100’/s Sound traveling at 1100’/s Spatial sampling requires 0.3” resolution Spatial sampling requires 0.3” resolution 3D wave junction requires 12 adds and a multiply 3D wave junction requires 12 adds and a multiply Perry’s 3 gallon jug would take: Perry’s 3 gallon jug would take: 800 in 3 jug requires 30,000 3D wave junctions 800 in 3 jug requires 30,000 3D wave junctions

Copyright 2004 Ken Greenebaum Modal Synthesis 3D modeling is required for 3D modeling is required for Unusual shapes Unusual shapes Utmost accuracy/correctness Utmost accuracy/correctness Fortunately this is not always required Fortunately this is not always required Sometimes we just want to ‘rich’ responses and can use Modal Synthesis Sometimes we just want to ‘rich’ responses and can use Modal Synthesis

Copyright 2004 Ken Greenebaum Modal Synthesis May be used for May be used for Solid objects such as Solid objects such as Bottles, swords, crowbars Bottles, swords, crowbars Excited by Excited by Tapping, scraping Tapping, scraping

Copyright 2004 Ken Greenebaum Modal Synthesis Replaces N-dimensional model with Replaces N-dimensional model with Small number of damped harmonic oscillators Small number of damped harmonic oscillators Model the vibration modes of the actual object Model the vibration modes of the actual object

Copyright 2004 Ken Greenebaum Determining the modes A modal for any object A modal for any object May be defined as having May be defined as having N modes N modes At K locations At K locations The hard part is determining these! The hard part is determining these!

Copyright 2004 Ken Greenebaum 3 ways to determine the Model Care to guess? Care to guess?

Copyright 2004 Ken Greenebaum Building a Model Computationally Can model the object mathematically Can model the object mathematically Solve for the modes Solve for the modes

Copyright 2004 Ken Greenebaum Building a Model Experimentally Systematically bang on physical object Systematically bang on physical object At sampled locations At sampled locations With discrete forces With discrete forces Determine modes with spectral analysis Determine modes with spectral analysis

Copyright 2004 Ken Greenebaum Building a model Creatively Tune parameters to suite tastes Tune parameters to suite tastes

Copyright 2004 Ken Greenebaum Exciting a Modal Model Once a Modal Model exists Once a Modal Model exists Any function can be used to excite it: Any function can be used to excite it: Impulse Impulse Collision Collision Noise model Noise model Scraping/Rolling Scraping/Rolling Actual Signals! Actual Signals! Kees & Pai used a microphone Kees & Pai used a microphone

Copyright 2004 Ken Greenebaum Modal Modeled Engine Can model an auto engine Can model an auto engine Resonant object Resonant object Models everything that is vibrating Models everything that is vibrating Explosions Explosions Reciprocating parts Reciprocating parts Resonant exhaust Resonant exhaust Model excited with 4-part sound Model excited with 4-part sound Models strokes of internal combustion engine: Models strokes of internal combustion engine: Intake, Compression, Combustion, Exhaust Intake, Compression, Combustion, Exhaust

Copyright 2004 Ken Greenebaum Modal Modeled Engine Intake: sound of aspiration (on carbureted engine) Intake: sound of aspiration (on carbureted engine) Enveloped white noise Enveloped white noise Compression: compression of gas/fuel mixture Compression: compression of gas/fuel mixture Silent Silent Combustion: Explosion inside of metal (low pass filter) Combustion: Explosion inside of metal (low pass filter) Enveloped burst of 1/f noise Enveloped burst of 1/f noise Exhaust: Rapid expansion of gas Exhaust: Rapid expansion of gas White noise enveloped to decay quickly White noise enveloped to decay quickly

Copyright 2004 Ken Greenebaum Modal Engine Model N cylinder engine modeled by N cylinder engine modeled by Adding modeled output Adding modeled output 2pi/n degrees out of phase 2pi/n degrees out of phase

Copyright 2004 Ken Greenebaum Modal Engine Speed Excitation rate proportional to RPM Excitation rate proportional to RPM Resonances vary depending on load Resonances vary depending on load Can make engine ‘miss’ occasionally Can make engine ‘miss’ occasionally Replace a cylinder’s combustion stroke w/silence randomly Replace a cylinder’s combustion stroke w/silence randomly