     <pre class="src src-lisp">(<span style="color: #8deeee;">dsp!</span> <span style="color: #87cefa;">wt-lookup-test</span> ((buf buffer) freq amp)
  (stereo (osc buf freq amp 0 <span style="color: #b0c4de;">:cubic</span>)))

<span class="prompt">SCRATCH&gt;</span> (wt-lookup-test waveform-1 440 .3)
<span class="prompt">SCRATCH&gt;</span> (free 0)</pre>

      <p>
        <code>GEN:PARTIALS</code> returns a function called to fill a foreign
        array with a composite waveform made up of weighted sums 