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

Sampled Traveling Waves in a String

For discrete-time simulation, we must sample the traveling waves

For a vibrating string with length $ L$ and fundamental frequency $ f_0$,

$\displaystyle c = f_0 \cdot 2L
\quad\quad
\left(\frac{\hbox{meters}}{\hbox{se...
...{\hbox{periods}}{\hbox{sec}}
\cdot \frac{\hbox{meters}}{\hbox{period}} \right)
$

so that

$\displaystyle X= cT = (f_0 2L)/f_s= L [ f_0 / (f_s/2) ]
$

Thus, the number of spatial samples along the string is

$\displaystyle L/X= (f_s/2) / f_0
$

or

$\displaystyle \hbox{Number of spatial samples} = \hbox{Number of string harmonics}
$

Examples:


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

Download SimpleStrings.pdf
Download SimpleStrings_2up.pdf
Download SimpleStrings_4up.pdf

``Elementary Digital Waveguide Models for Vibrating Strings'', by Julius O. Smith III, (From Lecture Overheads, Music 420).
Copyright © 2008-02-20 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA  [Automatic-links disclaimer]