CMPT 889: Lecture 9 Wind Instrument Modelling

Similar documents
Scattering. N-port Parallel Scattering Junctions. Physical Variables at the Junction. CMPT 889: Lecture 9 Wind Instrument Modelling

Music 206: Modeling Acoustic Tubes and Wind Instrument Bores/Bells

THE SYRINX: NATURE S HYBRID WIND INSTRUMENT

THE SYRINX: NATURE S HYBRID WIND INSTRUMENT

CMPT 889: Lecture 8 Digital Waveguides

CMPT 889: Lecture 2 Sinusoids, Complex Exponentials, Spectrum Representation

Sinusoids. Amplitude and Magnitude. Phase and Period. CMPT 889: Lecture 2 Sinusoids, Complex Exponentials, Spectrum Representation

Music 206: Digital Waveguides

MUMT 618: Week #9. Figure 1: T section transmission-line representation of the tonehole.

CMPT 889: Lecture 5 Filters

Digital Filters. Linearity and Time Invariance. Linear Time-Invariant (LTI) Filters: CMPT 889: Lecture 5 Filters

Lecture 3: Acoustics

Lecture 2: Acoustics. Acoustics & sound

Sound, acoustics Slides based on: Rossing, The science of sound, 1990, and Pulkki, Karjalainen, Communication acoutics, 2015

Introduction to Acoustics Exercises

Music 420 Lecture Elementary Finite Different Schemes

MUS420 Lecture Mass Striking a String (Simplified Piano Model)

Ideal String Struck by a Mass

PHY 103 Impedance. Segev BenZvi Department of Physics and Astronomy University of Rochester

Mechanical and Acoustical Resonators

ABSTRACT INTRODUCTION

MUMT 618: Week #9. Figure 1: T section transmission-line representation of the tonehole.

Damped Oscillation Solution

Physical Acoustics. Hearing is the result of a complex interaction of physics, physiology, perception and cognition.

Cylinder with Conical Cap

Lecture 18: Reflection and Impedance

Standing waves in air columns flute & clarinet same length, why can a much lower note be played on a clarinet? L. Closed at both ends

kg meter ii) Note the dimensions of ρ τ are kg 2 velocity 2 meter = 1 sec 2 We will interpret this velocity in upcoming slides.

Lecture 4 Notes: 06 / 30. Energy carried by a wave

General Appendix A Transmission Line Resonance due to Reflections (1-D Cavity Resonances)

Some of the different forms of a signal, obtained by transformations, are shown in the figure. jwt e z. jwt z e

PHY 103 Impedance. Segev BenZvi Department of Physics and Astronomy University of Rochester

Oscillations and Waves

Dynamic circuits: Frequency domain analysis

Physical and Biological Properties of Agricultural Products Acoustic, Electrical and Optical Properties and Biochemical Property

Differential Equations

Summary PHY101 ( 2 ) T / Hanadi Al Harbi

Solution The light plates are at the same heights. In balance, the pressure at both plates has to be the same. m g A A A F A = F B.

CMPT 318: Lecture 5 Complex Exponentials, Spectrum Representation

Chapter 12. Recall that when a spring is stretched a distance x, it will pull back with a force given by: F = -kx

CMPT 889: Lecture 3 Fundamentals of Digital Audio, Discrete-Time Signals

Smith, Kuroda, Perng, Van Heusen, Abel CCRMA, Stanford University ASA November 16, Smith, Kuroda, Perng, Van Heusen, Abel ASA / 31

Vibrations of string. Henna Tahvanainen. November 8, ELEC-E5610 Acoustics and the Physics of Sound, Lecture 4

6.003 Homework #6 Solutions

1 f. result from periodic disturbance same period (frequency) as source Longitudinal or Transverse Waves Characterized by

KINEMATICS & DYNAMICS

Mass on a Horizontal Spring

Chapter 14 Periodic Motion

Fundamentals of Fluid Dynamics: Waves in Fluids

ME 563 HOMEWORK # 7 SOLUTIONS Fall 2010

Lecture XXVI. Morris Swartz Dept. of Physics and Astronomy Johns Hopkins University November 5, 2003

Laplace Transform Analysis of Signals and Systems

Lecture 10 Acoustics of Speech & Hearing HST 714J. Lecture 10: Lumped Acoustic Elements and Acoustic Circuits

Chapter 15. Oscillations

Digital Control & Digital Filters. Lectures 21 & 22

INTRODUCTION TO FLUID MECHANICS June 27, 2013

Source/Filter Model. Markus Flohberger. Acoustic Tube Models Linear Prediction Formant Synthesizer.

Chapter 14 Oscillations

DOING PHYSICS WITH MATLAB WAVE MOTION STANDING WAVES IN AIR COLUMNS

Physical Modeling Synthesis

Exam Question 6/8 (HL/OL): Circular and Simple Harmonic Motion. February 1, Applied Mathematics: Lecture 7. Brendan Williamson.

11/17/10. Chapter 14. Oscillations. Chapter 14. Oscillations Topics: Simple Harmonic Motion. Simple Harmonic Motion

MEASUREMENT OF INPUT IMPEDANCE OF AN ACOUSTIC BORE WITH APPLICATION TO BORE RECONSTRUCTION

Simple Harmonic Motion

An Essential Requirement in CV Based Industrial Appliances.

Chapter 13. Hooke s Law: F = - kx Periodic & Simple Harmonic Motion Springs & Pendula Waves Superposition. Next Week!

Massachusetts Institute of Technology Physics 8.03 Fall 2004 Final Exam Thursday, December 16, 2004

PHYSICS. Chapter 15 Lecture FOR SCIENTISTS AND ENGINEERS A STRATEGIC APPROACH 4/E RANDALL D. KNIGHT Pearson Education, Inc.

Wave Equation in One Dimension: Vibrating Strings and Pressure Waves

Applied Nuclear Physics (Fall 2006) Lecture 19 (11/22/06) Gamma Interactions: Compton Scattering

Chapter 1. Harmonic Oscillator. 1.1 Energy Analysis

Introductory Physics. Week 2015/05/29

Exam tomorrow on Chapter 15, 16, and 17 (Oscilla;ons and Waves 1 &2)

3 THE P HYSICS PHYSICS OF SOUND

Chapter 14. PowerPoint Lectures for University Physics, Thirteenth Edition Hugh D. Young and Roger A. Freedman. Lectures by Wayne Anderson

Lectures Chapter 10 (Cutnell & Johnson, Physics 7 th edition)

The sound power output of a monopole source in a cylindrical pipe containing area discontinuities

Lecture 9 Infinite Impulse Response Filters

Lecture 1 Notes: 06 / 27. The first part of this class will primarily cover oscillating systems (harmonic oscillators and waves).

Game Physics. Game and Media Technology Master Program - Utrecht University. Dr. Nicolas Pronost

Physics General Physics. Lecture 24 Oscillating Systems. Fall 2016 Semester Prof. Matthew Jones

1 2 Models, Theories, and Laws 1.5 Distinguish between models, theories, and laws 2.1 State the origin of significant figures in measurement

CERN Accelerator School. RF Cavities. Erk Jensen CERN BE-RF

TOPIC E: OSCILLATIONS EXAMPLES SPRING Q1. Find general solutions for the following differential equations:

Final Exam Notes 8am WednesdayDecember 16, 2015 Physics 1320 Music & Physics Prof. Tunks & Olness

Oscillatory Motion SHM

Chapter 14 Oscillations. Copyright 2009 Pearson Education, Inc.

Wave Phenomena Physics 15c. Lecture 8 LC Transmission Line Wave Reflection

NDT&E Methods: UT. VJ Technologies CAVITY INSPECTION. Nondestructive Testing & Evaluation TPU Lecture Course 2015/16.

202 Index. failure, 26 field equation, 122 force, 1

Differential Equations and Linear Algebra Exercises. Department of Mathematics, Heriot-Watt University, Edinburgh EH14 4AS

Oscillatory Motion and Wave Motion

INF5490 RF MEMS. LN03: Modeling, design and analysis. Spring 2008, Oddvar Søråsen Department of Informatics, UoO

Chapter 13 Lecture. Essential University Physics Richard Wolfson 2 nd Edition. Oscillatory Motion Pearson Education, Inc.

The Harmonic Oscillator

Sound Transmission in an Extended Tube Resonator

Chapter 14. Oscillations. Oscillations Introductory Terminology Simple Harmonic Motion:

Microwave Phase Shift Using Ferrite Filled Waveguide Below Cutoff

Chapter 13. Simple Harmonic Motion


Transcription:

CMPT 889: Lecture 9 Wind Instrument Modelling Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University November 20, 2006 1

Scattering Scattering is a phenomenon in which the wave is scattered into an infinity of waves propagating in different directions. As we have seen, a discontinuity in the diameter of an acoustic tube will cause traveling waves to be partially reflected and partially transmitted a scattering in two (2) directions. Examples of discontinuities causing scattering: A change of tube diameter A junction with other acoustic elements (tubes, cavities), Tone holes. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 2

N-port Parallel Scattering Junctions All scattering junctions arise from the parallel connection of N physical waveguides. Consider the junction of N lossless acoustic tubes, each with real, positive, scalar wave admittance Γ n = 1 Z n. where Z n is the wave impedance of the n th waveguide. Each port on the junction has both an input and output terminal. The physical pressure and velocity at a port n is equal to the sum of the corresponding incoming and outgoing variables, that is, p n = p + n + p n U n = U + n + U n. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 3

Physical Variables at the Junction The law for conservation of mass and momentum dictate that the pressure at the junction must be continuous. Therefore, for a junction with N ports, the junction pressure p J is given by p J = p n, n = 1... N. By the same law, the volume flow at the N-port junction sums to zero, N U n = 0. n=1 The pressure at the junction is the same for all N waveguides at the junction point, and the velocities from each branch sum to zero. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 4

Junction Pressure Recall that the ratio of pressure to volume velocity is given by the wave impedance Z. Pressure traveling wave components are therefore given by: p + n = Z n U + n, and p n = Z n U n. Using the fact that velocities from each branch sum to zero, we obtain N ( ) N ( ) U + p n + Un + = n p n = 0. Z n Z n n=1 n=1 Because of pressure continuity at the junction, the outgoing pressure on any port n is given by p J = p n = p + n + p n p n = p J p + n. The pressure at the junction p J may be determined by applying this result to the sum of velocities at the CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 5

junction: N n=1 U n = N n=1 N ( ) U + n + Un = 0 n=1 N ( p + n p ) n n=1 Z n ( p + n Z n p J p + n 2 Z n N n=1 N n=1 ) 2p + n Z n = p + n Z n p J = 0 = 0 N n=1 = p J p J Z n N n=1 1 Z n = 2 Γ n p + n Γn where Γ n = 1/Z n is the characteristic admittance of the n th port. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 6

Three Port Parallel Junction In an example of three connecting tubes, the model would require three digital waveguides and a 3-port parallel junction to simulate the point at which they connect. z N z N z N z N 3-port parallel junction z N z N Figure 1: Three digital waveguides meeting at a three-port parallel junction. + U 1 U 3 + - p 1 p 3 - U 2 p 2 + - Figure 2: Three-Port Parallel Junction. The model of the three-port parallel junction will receive an incoming pressure wave, p + n, on each of the three ports, and will return the corresponding outgoing pressure value, p n = p J p + n. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 7

Example uses of the 3-port junction Tone holes in acoustic wind instruments: three connected tubes, with the finger hole being a very short branch off the main bore (Douglas Keefe). The bifurcation at the velum in the human vocal tract: simulating the oral and nasal airways (Perry Cook). The bifurcations of the trachea to the left and right bronchi: simulating the avian syrinx (Tamara Smyth). CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 8

Wall Losses In practical implementations of acoustic tubes using digital waveguide synthesis, it is necessary to account for the losses associated with viscous drag and thermal conduction which take place primarily within a thin boundary layer along the bore walls. Below is a waveguide model of a cylindrical tube with commuted wall loss filters, λ(ω), a reflection filter H R (ω) and a transmission filter H T (λ). Z L λ(ω) H T (ω) 1 λ(ω) Z L H R(ω) Though these losses are distributed over the length of the tube, it is more efficient to lump these effects by commuting a characteristic digital filter to each end of the waveguide. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 9

Simple Wall Loss It is possible to account for attenuation due to wall losses simply by multiplying delay line outputs by a single coefficient β. For a tube of length L and radius a, with observation points at the ends of the upper and lower delay lines, the constant β has the following approximate value: β 1 2αL, α 2 10 5 ω 1 2/a, where ω is the radian frequency. This approximation is valid for tubes sufficiently short that β is near one. Since losses are frequency dependent however, this approximation may not be satisfactory for all tubes (large and small). CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 10

Wall Loss and Pipe Radius The walls contribute a viscous drag dependent on the ratio of the pipe radius a, given by the parameter r v. Losses due to thermal conduction are also dependent on the pipe radius and are given by the parameter r t. The effects of the viscous and thermal losses lead to an attenuation in the waves propagating down the length of the pipe. The propagation constant is given by Γ(ω) = α(ω) + j ω v(ω), where ω is the radian frequency and α(ω) the attenuation coefficient, v(ω) the phase velocity The attenuation coefficient α(ω) is a function of r v and the phase velocity v(ω) is a function of r t. Both therefore, are dependent on the tube radius. 1 1 See A Simple, Accurate wall loss filter for acoustic tubes, by Jonthan Abel and Tamara Smyth, DAFX 2003, for details. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 11

Frequency Response The propagation constant Γ(ω) gives the per unit length attenuation of waves propagating along an infinitely long tube. The frequency response approximating the attenuation and phase delay over a tube of length L is given by e Γ(ω)L = e α(ω)l j(ω/v(ω))l. Removing a pure delay of duration L/c, we have the desired wall loss filter frequency response λ(ω), given by λ(ω) = e α(ω)l j(ω/v(ω) ω/c)l. The wall loss filter λ(ω) is seen to have a gentle low-pass characteristic, which is more pronounced with decreasing tube radius a or increasing tube length L. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 12

0 Wall Attenuation Magnitudes for a 20cm Long Tube with Different Radii 1 2 r = 0.5cm r = 0.4cm Gain (db) 3 4 5 r = 0.3cm r = 0.2cm 6 7 8 10 1 10 0 10 1 Frequency (khz) r = 0.1cm Figure 3: Wall loss filter magnitude for increasing radii. 0 Wall Attenuation Magnitudes for a 0.2cm Diameter Tube with Different Lengths 1 2 L = 5cm Gain (db) 3 4 5 6 L = 10cm L = 15cm 7 8 L = 20cm 9 L = 25cm 10 10 1 10 0 10 1 Frequency (khz) Figure 4: Wall loss filter magnitude for increasing lengths. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 13

Shelf Filter 1 H σ T ω T π ω Figure 5: First-order shelf filter where H(ω) = 0 at ω = π and H(ω) = 1 at ω = 0. The cutoff frequency is given by ω T and H(ω T ) is given by σ T. The first-order shelf is characterized by 1. Unity gain at DC 2. A band edge gain g π > 0 3. A gain g π at the transition frequency f t. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 14

First Order Shelf Filter Design The transfer function for the first-order shelf filter is given by σ(z; f t, g π ) = b 0 + b 1 z 1 1 + a 1 z 1. The coefficients are given by b 0 = β 0 + ρβ 1 1 + ρα 1, b 1 = β 1 + ρβ 0 1 + ρα 1, a 1 = ρ + α 1 1 + ρα 1, where and α 1 = β 0 = (1 + g π) + (1 g π )α 1 2 β 1 = (1 g π) + (1 + g π )α 1, 2 0, g π = 1 η sign(η)(η 2 1) 1 2, g π 1. To form the coefficients of a prototype shelf filter with a transition frequency of π/2 η = (g π + 1) (g π 1), g π 1. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 15

The parameter ρ = sin(πf t/2 π/4) sin(πf t /2 + π/4) is the coefficient of the first-order allpass transformation warping the prototype filter to the proper transition frequency. An efficient way to model the frequency response is to use a cascade of minimum-phase first-order shelf filters σ i (z), ˆλ(z) = N σ i (z; f t (i), g π (i)). i=1 Unlike with other methods, the shelf filter coefficients are easily computed in real time. Since the shelf filters are first order, they have real poles and zeros, and are relatively free of artifacts when made time varying. In designing the prototype filters for different orders it was discovered that a cascade of shelf filters with band-edge gains (in units of amplitude) and transition CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 16

frequencies (in radians/π) given by { } [(i 1 2 g π (i) = exp )/N]1 2 N k=1 [(k ln λ(2πf 1 s /2), 2 )/N]1 2 f t (i) = [(i 1 2 )/N]3, has a transfer function which is an excellent approximation to λ(ω) for a wide range of filter orders N, tube lengths L, tube radii a, and sampling rates f s. 0 Wall Attenuation Magnitudes, [order, L] = [5, 20cm] 1 2 3 Gain (db) 4 5 6 7 8 10 1 10 0 10 1 Frequency (khz) Figure 6: Computed and shelf filter cascade wall loss filter magnitude at various tube radii. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 17

0 Wall Attenuation Magnitudes, [a, order] = [0.1cm, 5] 1 2 3 Gain (db) 4 5 6 7 8 10 1 10 0 10 1 Frequency (khz) Figure 7: Computed and shelf filter cascade wall loss filter magnitude at various tube lengths. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 18

Pressure Controlled Valves Many sounds are produced by coupling the mechanical vibrations of a source to the resonance of an acoustic tube: In vocal systems, air pressure from the lungs controls the oscillation of a membrane (or vocal fold), creating a variable constriction through which air flows. Similarly, blowing into the mouthpiece of a clarinet will cause the reed to vibrate, narrowing and widening the airflow aperture to the bore. Sound sources of this kind are referred to as pressure-controlled valves and they have been simulated in various ways to create musical synthesis models of woodwind and brass instruments as well as animal vocal systems. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 19

Classifying Pressure-Controlled Valves In physical modeling synthesis, the method used for simulating the reed typically depends on whether an additional upstream or downstream pressure causes the corresponding side of the valve to open or close further. The couplet (σ 1, σ 2 ) may be used describe the upstream and downstream valve behaviour, respectively, where a value of +1 indicates an opening of the valve, and a value of -1 indicates a closing of the value, in response to a pressure increase. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 20

Three simple configurations of PC valves 1) (, +) p 1 p 2 U 2) (+, ) p 1 p 2 U 3) (+, +) p 1 p 2 U Figure 8: Simplified models of three common configurations of pressure-controlled valves. 1. (, +): the valve is blown closed (as in woodwind instruments or reed-pipes of the pipe organ). 2. (+, ): the valve is blown open (as in the simple lip-reed models for brass instruments, the human larynx, harmonicas and harmoniums). 3. (+, +): the transverse (symmetric) model where the Bernoulli pressure causes the valve to close perpendicular to the direction of airflow. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 21

Mechanical Vibrations: Mass-spring System The simplest oscillator is the mass-spring system which consists of a horizontal spring fixed at one end with a mass connected at the other end. K m x Figure 9: An ideal mass-spring system. The motion of an object can be describe in terms of its 1. displacement x(t) 2. velocity v(t) = dx dt 3. acceleration a(t) = dv dt = d2 x dt 2 CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 22

Equation of Motion The force on an object may be determined using Newton s second law of motion F = ma. There is an elastic force restoring the mass to its equilibrium position, given by Hooke s law F = Kx, where K is a constant describing the stiffness of the spring. Since Newton s third law of motion states that for every action there is an equal and opposite reaction, these forces are equal, yielding m d2 x dt 2 = Kx d2 x dt 2 + ω2 0x = 0, where ω 0 = K/m. Recall that x = A cos(ω 0 t + φ) is a solution to this equation. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 23

Damping Any real vibrating system tends to lose mechanical energy as a result of friction and other loss mechanisms. Damping of an oscillating system corresponds to a loss of energy or equivalently, a decrease in the amplitude of vibration. K m x Figure 10: A mass-spring-damper system. The drag force F r is proportional to the velocity and is given by F r = Rv F r = R dx dt where R is the mechanical resistance. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 24

Damped Equation of Motion The equation of motion for the damped system is obtained by adding the drag force into the equation of motion: m d2 x dt + Rdx + Kx = 0, 2 dt or alternatively d 2 x dt 2 + 2αdx dt + ω2 0x = 0, where α = R/2m and ω 2 0 = K/m. The damping in a system is often measured by the quantity τ, which is the time for the amplitude to decrease to 1/e: τ = 1 α = 2m R. When a simple oscillator is driven by an external force F (t), the equation of motion becomes m d2 x dt + Rdx 2 dt + Kx = F (t). CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 25

Valve Displacement S 1 S 2 p 1 S 3 S 3 x U p 2 S 1 S 2 Figure 11: S 1, S 2, S 3. Geometry of a blown open pressure-controlled valve showing effective areas Consider the double reed in a blown open configuration. Surface S 1 sees an upstream pressure p 1, surface S 2 sees the downstream pressure p 2 (after flow separation), and surface S 3 sees the flow at the interior of the valve channel and the resulting Bernoulli pressure. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 26

Valve Driving Force With these areas and the corresponding geometric couplet defined, the motion of the valve opening x(t) is governed by m d2 x dt +2mγdx 2 dt +k(x x 0) = σ 1 p 1 (S 1 +S 3 )+σ 2 p 2 S 2, where γ is the damping coefficient, x 0 the equilibrium position of the valve opening in the absence of flow, K the valve stiffness, and m the reed mass. The couplet therefore, is very useful when evaluating the force driving a mode of the vibrating valve. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 27

How to Discretize? The one-sided Laplace transform of a signal x(t) is defined by X(s) = L s {x} = 0 x(t)e st dt where t is real and s = σ + jω is a complex variable. The differentiation theorem for Laplace transforms states that d x(t) sx(s) dt where x(t) is any differentiable function that approaches zero as t goes to infinity. The transfer function of an ideal differentiator is H(s) = s, which can be viewed as the Laplace transform of the operator d/dt. Taking the Laplace Transform of the valve displacement, we have ms 2 X(s) + mgsx(s) + KX(s) Kx 0 = F (s). CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 28

Finite Difference The finite difference approximation (FDA) amounts to replacing derivatives by finite differences, or d dt x(t) x(t) x(t δ) = lim δ 0 δ x(nt ) x[(n 1)T ]. T The z transform of the first-order difference operator is (1 z 1 )/T. Thus, in the frequency domain, the finite-difference approximation may be performed by making the substitution s 1 z 1 T The first-order difference is first-order error accurate in T. Better performance can be obtained using the bilinear transform, defined by the substitution ( ) 1 z 1 s c where c = 2 1 + z 1 T. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 29

Valve Transfer Function Using the Bilinear Transform, the transfer function becomes where X(z) F (z) + kx 0 = 1 + 2z 1 + z 2 a 0 + a 1 z 1 + a 2 z 2, a 0 = mc 2 + mgc + k, a 1 = 2(mc 2 k), a 2 = mc 2 mgc + k. The corresponding difference equation is x(n) = 1 a 0 [F k (n) + 2F k (n 1) + F k (n 2)) a 1 x(n 1) a 2 x(n 2)], where F k (n) = F (n) + kx 0. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 30

Volume Flow x p m U p b Bore y λ Lip Reed Figure 12: The clarinet Reed. The steady flow through a valve is determined based on input pressure p 1 and the resulting output pressure p 2. The difference between these two pressure is denoted p an dis related to volume tflow via the stationary Bernoulli equation U = A 2 p ρ, where A is the cross section area of the air column (and dependent on the opening x). CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 31

400 350 Volume Flow as a Function of Pressure Difference threshold of oscillation 300 250 U (cm 3 / s) 200 150 100 reed closed 50 0 0 10 20 30 40 50 60 70 80 90 100 p 0 p 1 (hpa) Figure 13: The reed table. CMPT 889: Computational Modelling for Sound Synthesis: Lecture 9 32