Next: An Exact Solution Up: Loss Previous: Finite Difference Scheme   Contents   Index

## Numerical Decay Time

Like frequency, loss is an extremely important perceptual characteristic of a musical system, in that it determines a characteristic decay time; as has been shown in the case of the SHO, frequency can be altered through numerical approximation, and, as one might expect, so can the decay time. It is thus worth spending a few moments here in determining just how much distortion will be introduced through finite difference approximations.

First consider the solution (3.65) to the SHO with loss, under normal (low-loss) conditions. Clearly the solution is damped by a decaying exponential, and the 60 dB decay time (in amplitude) may be defined as

 (3.87)

Considering now the simple difference scheme (3.76), if the stability condition (3.80) is respected, and again under low-loss conditions, the roots of the characteristic polynomial (3.78) will be complex conjugates, of magnitude

 (3.88)

Here, is the loss parameter for the model system (3.61), and is that corresponding to the finite difference scheme. One can then define a numerical 60 dB decay time by

 (3.89)

For scheme (3.84), for instance, which uses a non-centered approximation to the loss term, the magnitudes of the solutions to the characteristic polynomial (3.85) will be, again under low loss conditions,

 (3.90)

implying that

 (3.91)

It is useful to plot the relative decay time for the schemes mentioned above-see Figure 3.4.

For scheme (3.76), the numerical decay time is closer than 99 of the true decay time for . For a sample rate of 44.1 kHz (implying ), this implies that for decay times greater than s, the numerical decay time will not be noticeably different than that of the model system. For scheme (3.76), the 99 threshold is met for s. These decay times are quite short by musical standards, and so it may be concluded that numerical distortion of decay time is not of major perceptual relevance, at least at reasonably high sample rates.

Although in the two examples of numerical schemes above, the numerical decay time is independent of (as it is for the model system), this is not necessarily always the case. See Problem 3.8.

Next: An Exact Solution Up: Loss Previous: Finite Difference Scheme   Contents   Index
Stefan Bilbao 2006-11-15