In a finite difference setting, continuously variable functions of
, such as
, are approximated by time series, often indexed by integer
. For instance, the time series
represents an approximation to
, where
, for a time step
. In audio applications, the sampling frequency
is defined as
| (2.1) |
Before introducing difference operators and examining discretization issues, it is worth making two comments which relate specifically to audio. First, consider a function
which appears as the solution to an ODE, such as that defined by the simple harmonic oscillator. If some difference approximation to the ODE is derived, which generates a solution time series
, it is important to be aware that
is not simply a sampled version of the true solution. Though obvious, it is especially important for those with an electrical or audio engineering background (i.e., those accustomed to dealing with sampled data systems) to be conscious of this so as to avoid arriving at false conclusions based on familiar results such as, e.g., the Shannon sampling theorem. In fact, one can indeed incorporate such results into the simulation setting, but in a manner which may be counterintuitive (see §#a#>
and thus the time step
are generally set before run time, and are not varied; in audio, in fact, one nearly always takes
. This, in contrast to the first comment above, is intuitive for audio engineers, but not for those involved with numerical simulation in other areas, who often are interested in developing numerical schemes which allow a larger time step with little degradation in accuracy. Though the benefits of such schemes may be interpreted in terms of numerical dispersion, in an audio synthesis application, there is no point in developing a scheme which runs with increased efficiency at a larger time step (i.e., at a lower sampling rate), as such a scheme will be incapable of producing potentially audible frequencies in the upper range of human hearing.