Sign in

username:

password:



Not a member?

Search Online Books



Search tips

Free Online Books



Chapters

Chapter Contents:

Search Physical Audio Signal Processing

  

Book Index | Global Index


Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?

  

Exciting the Digitar String

A new ``pluck'' is obtained in the digitar algorithm by writing new random numbers into the waveform memory (the delay line in Fig.D.1). The fundamental frequency $ F_0$ is approximately given by the sampling rate $ f_s$ divided by the memory length $ N$, or $ F_0\approx f_s/N$. This relation is not exact because the two-point average adds a half-sample phase delay [460] A more accurate formula is therefore

$\displaystyle F_0 = \frac{f_s}{N+\frac{1}{2}}. \protect$ (D.1)

This formula can be used as exact for practical purposes, but it is not exact in theory due to the slight decay per period caused by the two-point average.D.4

Figure D.2 lists a Faust program implementing the digitar algorithm (adapted from the programming example karplus.dsp distributed with Faust), and Fig.D.3 shows the block diagram generated by faust for the resonator definition in Fig.D.2 (using the -svg command-line option, as discussed in the Faust intro [464