Linear Interpolation

Rather than rounding values of $ x(t)$ to nearest integers, it is more accurate to interpolate between two neighboring values of the wavetable.

If $ x=6.5$, we could take values from table $ w(x)$ at index 6 and 7, and ``construct a line between them'', i.e., take the value halfway between its neighbours.

At $ x = 6.9749$, we would give greater weight to the $ 7^{\mbox{th}}$ element.


Figure 2: Linear interpolation.
\scalebox{0.5}{\includegraphics{eps/interpEd.eps}}


``Music 270a: Waveshaping Synthesis'' by Tamara Smyth, Department of Music, University of California, San Diego (UCSD).
Download PDF version (waveshaping.pdf)
Download compressed PostScript version (waveshaping.ps.gz)
Download PDF `4 up' version (waveshaping_4up.pdf)
Download compressed PostScript `4 up' version (waveshaping_4up.ps.gz)

Copyright © 2019-03-03 by Tamara Smyth.
Please email errata, comments, and suggestions to Tamara Smyth<trsmyth@ucsd.edu>