Input Except Boundaries

If $ y(n)$ is an input (audio) signal between -1 and 1, it will have to be:

Pd's phasor~ is between 0 and 1, so only needs to be scaled by $ \textcolor{blue}{N-1}$.

If index exceeds bounds ( $ 0, ..., N-1$), we may

  1. clip the input by substituting 0 or $ N-1$ for any integer that is $ < 0$, or $ >N-1$, respectively.
  2. wrap the input around to the end if index $ < 0$, or to the beginning if index $ >N-1$, creating a circular wavetable.

Problem remains: values are not integers!


``Music 171: Wavetables and Samplers'' by Tamara Smyth, Department of Music, University of California, San Diego (UCSD).
Download PDF version (wavetables.pdf)
Download compressed PostScript version (wavetables.ps.gz)
Download PDF `4 up' version (wavetables_4up.pdf)
Download compressed PostScript `4 up' version (wavetables_4up.ps.gz)

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