Next  |  Prev  |  Up  |  Top  |  Index  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search


``Piano hammer in flight''

Suppose we wish to model a situation in which a mass of size $ m$ kilograms is traveling with a constant velocity. This is an appropriate model for a piano hammer after its key has been pressed and before the hammer has reached the string.

Figure N.2 shows the ``wave digital mass'' derived previously. The derivation consisted of inserting an infinitesimal waveguideN.3 having (real) impedance $ m$, solving for the force-wave reflectance of the mass as seen from the waveguide, and then mapping it to the discrete time domain using the bilinear transform.

We now need to attach the other end of the transmission line to a ``force source'' which applies a force of zero Newtons to the mass. In other words, we need to terminate the line in a way that corresponds to zero force.

Let the force-wave components entering and leaving the mass be denoted $ f^{{+}}$ and $ f^{{-}}$, respectively (i.e., we are dropping the subscript `d' in Fig. N.2). The physical force associated with the mass is

$\displaystyle f(n) = f^{{+}}(n) + f^{{-}}(n)
= f^{{+}}(n) - f^{{+}}(n-1)
$

The zero-force case is therefore obtained when $ f^{{+}}(n) = -f^{{-}}(n) =
f^{{+}}(n-1)$. This is illustrated in Fig. N.7.

Figure N.7: Wave digital mass in flight at a constant velocity.
\begin{figure}\input fig/wdhammer.pstex_t
\end{figure}

Figure N.7a (left portion) illustrates what we derived by physical reasoning, and as such, it is most appropriate as a physical model of the constant-velocity mass. However, for actual implementation, Fig. N.7b would be more typical in practice. This is because we can always negate the state variable $ x(n)$ if needed to convert it from $ f^{{+}}(n-1)$ to $ f^{{-}}(n)$. It is very common to see final simplifications like this to maximize efficiency.

Note that Fig. N.7b can be interpreted physically as a wave digital spring displaced by a constant force $ f(n) = 2x(n)$.



Subsections
Next  |  Prev  |  Up  |  Top  |  Index  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

[How to cite and copy this work] 
``Physical Audio Signal Processing for Virtual Musical Instruments and Digital Audio Effects'', by Julius O. Smith III, (December 2005 Edition).
Copyright © 2006-07-01 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA  [Automatic-links disclaimer]