## The Mass-Spring-Damper Solution

• As previously indicated, the flow through the reed channel is approximated quasi-statically'' using the Bernoulli equation and given by
 (32)

where w is the reed channel width, x is the time-varying reed position, calculated from Eq. (30), and H is the equilibrium tip opening.

• For single-reed geometries, the pressure and flow in the reed channel can be approximated as equivalent to the pressure and flow at the entrance to the instrument air column. This approximation is based on continuity and detachment of volume flow at the end of the reed channel such that pressure is not recovered in the mouthpiece.

• Thus, the acoustic interaction at the interface of the reed and air column can be solved using Eqs. (30) and (32), together with a description of the input impedance of the attached air column.

• For a cylindrical pipe, we can compute the impedance using the digital waveguide structure of Fig. 16.

• From Fig. 16, it is clear that

 p0 = 2 p0- + Zc u0, (33)

where p0- is the traveling-wave pressure entering the reed junction from the downstream air column.

• Because of mutual dependencies, however, an explicit solution of these equations can be problematic. In a discrete-time computational context, these mutual dependencies can be understood to result in delay-free loops.

• In Guillemain et al. (2005), the reed system is discretized using a centered finite difference approximation that avoids a direct feedforward path through the reed transfer function. The resulting system equations can then be expressed in terms of a second-order polynomial equation and an explicit solution found.

• The centered finite-difference approximation of Eq. (30) results in a digital filter structure of the form
 (34)

where fs is the computational sample rate.

• As noted in Guillemain (2004), however, this filter structure is only stable for , limiting its use at low sample rates and/or with high reed resonance frequencies.

• A direct application of the bilinear transform to the system of Eq. (30) results in a digital filter structure given by
 (35)

where and is the bilinear transform constant that controls frequency warping.

• Note that we can achieve an exact continuous- to discrete-time frequency match at the resonance frequency of the reed by setting .

• In this case, the use of the bilinear transform guarantees a stable digital filter at any sample rate. The presence of the direct feedforward path in Eq. (35), however, prohibits the explicit reed interface solution mentioned above.

• We therefore seek an alternative form of Eq. (35) that preserves stability and avoids an undelayed feedforward coefficient in the transfer function numerator.

• By default, the bilinear transform substitution produces a system with zeroes'' at (or at frequencies of 0 and fs/2 Hz). While this result is often desirable for digital resonators, we can modify the numerator terms without affecting the essential behavior and stability of the resonator.

• In fact, it is the numerator terms that control the phase offset of the decaying oscillation. Thus, we can modify and renormalize the numerator to produce a filter structure of the form
 (36)

• The frequency- and time-domain responses of the centered finite-difference and modified'' bilinear transform filter structures are shown in Fig. 17 for a reed resonance frequency fr = 2500 Hz and fs = 22050 Hz.

• The complete clarinet model involves the calculation of the reed displacement using this stable reed model, the volume flow through the reed channel as given by Eq. (32), and the relationship between flow and pressure at the entrance to the air column as given by Eq. (33).

• Because the reed displacement given by Eq. (36) does not have an immediate dependence on , it is possible to explicitly solve Eqs. (33) and (22), as noted in Guillemain et al. (2005), by an expression of the form
 (37)

where A = pm - 2 p0- and can be determined at the beginning of each iteration from constant and past known values.

• Whenever the reed channel height x+H < 0, u0 is set to zero and p0 = 2 p0-.

• In Fig. 18, the normalized pressure response of the complete DW synthesis model is plotted using both reed models with fr = 2500 Hz and fs = 22050 Hz.

• The behaviors are indistinguishable for these system parameters, though as indicated above it is possible to run the modified bilinear transform model at significantly lower sample rates (and with higher reed resonance frequencies).