Sign in

username:

password:



Not a member?

Search Online Books



Search tips

Free Online Books



Chapters

See Also

Embedded SystemsFPGAElectronics
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?

  

Sampled Traveling Waves

To carry the traveling-wave solution into the ``digital domain,'' it is necessary to sample the traveling-wave amplitudes at intervals of $ T$ seconds, corresponding to a sampling rate $ f_s
\isdeftext 1/T$ samples per second. For CD-quality audio, we have $ f_s=44.1$ kHz. The natural choice of spatial sampling interval $ X$ is the distance sound propagates in one temporal sampling interval $ T$, or $ X\isdeftext cT$ meters. In a lossless traveling-wave simulation, the whole wave moves left or right one spatial sample each time sample; hence, lossless simulation requires only digital delay lines. By lumping losses parsimoniously in a real acoustic model, most of the traveling-wave simulation can in fact be lossless even in a practical application.

Formally, sampling is carried out by the change of variables

\begin{displaymath}
\begin{array}{rclcl}
x &\to& x_m&=& mX\nonumber \\
t &\to& t_n&=& nT\nonumber
\end{array}\end{displaymath}

Substituting into the traveling-wave solution of the wave equation gives
$\displaystyle y(t_n,x_m)$ $\displaystyle \,\mathrel{\mathop=}\,$ $\displaystyle y_r(t_n- x_m/c) + y_l(t_n+ x_m/c)$  
  $\displaystyle \,\mathrel{\mathop=}\,$ $\displaystyle y_r(nT- mX/c) + y_l(nT+ mX/c) \nonumber$  
  $\displaystyle \,\mathrel{\mathop=}\,$ $\displaystyle y_r\left[(n-m)T\right]+ y_l\left[(n+m)T\right]
\protect$  

Since $ T$ multiplies all arguments, let's suppress it by defining

$\displaystyle y^{+}(n) \isdef y_r(nT) \qquad\qquad y^{-}(n) \isdef y_l(nT)$ (H.16)

This new notation also introduces a ``$ +$'' superscript to denote a traveling-wave component propagating to the right, and a ``$ -$'' superscript to denote propagation to the left. This notation is similar to that used for acoustic tubes [301].



Subsections

Order a Hardcopy of Physical Audio Signal Processing

Previous: Converting Any String State to Traveling Slope-Wave Components
Next: Digital Waveguide Model

written by Julius Orion Smith III
Julius Smith's background is in electrical engineering (BS Rice 1975, PhD Stanford 1983). He is presently Professor of Music and Associate Professor (by courtesy) of Electrical Engineering at Stanford's Center for Computer Research in Music and Acoustics (CCRMA), teaching courses and pursuing research related to signal processing applied to music and audio systems. See http://ccrma.stanford.edu/~jos/ for details.


Comments


No comments yet for this page


Add a Comment
You need to login before you can post a comment (best way to prevent spam). ( Not a member? )