packages feed

hsc3-0.1: Help/UGen/Filter/shaper.help.lhs

shaper bufnum in

Wave shaper.  Performs waveshaping on the input signal by indexing
into the table.

bufnum - the number of a buffer filled in wavetable format
         containing the transfer function.

in     - the input signal.

> withSC3 (\fd -> do send fd (b_alloc 10 512 1)
>                    wait fd "/done"
>                    send fd (b_gen 10 "cheby" [0, 1, 0, 1, 1, 0, 1])
>                    wait fd "/done")
> audition (out 0 (shaper 10 (sinOsc AR 300 0 * line KR 0 1 6 RemoveSynth) * 0.5))