2 summary::sampled audio buffer in wavetable format
3 related::Classes/Signal
7 A Wavetable is a FloatArray in a special format used by SuperCollider's interpolating oscillators. Wavetables cannot be created by strong::new::.
12 Fill a Wavetable of the given size with a sum of sines at the given amplitudes and phases. The Wavetable will be normalized.
14 Wavetable.sineFill(512, 1.0/[1, 2, 3, 4, 5, 6]).plot;
19 an Array of amplitudes for each harmonic beginning with the fundamental.
21 an Array of phases in radians for each harmonic beginning with the fundamental.
24 Fill a Wavetable of the given size with a sum of Chebyshev polynomials at the given amplitudes for use in waveshaping by the link::Classes/Shaper:: ugen. The Wavetable will be normalized.
26 Wavetable.chebyFill(513, [1]).plot;
27 Wavetable.chebyFill(513, [0, 1]).plot;
28 Wavetable.chebyFill(513, [0, 0, 1]).plot;
29 Wavetable.chebyFill(513, [0.3, -0.8, 1.1]).plot;
32 must be a power of 2 plus 1, eventual wavetable is next power of two size up.
34 an Array of amplitudes for each Chebyshev polynomial beginning with order 1.
39 Plot the Wavetable in a window. The arguments are not required and if not given defaults will be used.
41 Wavetable.sineFill(512, [0.5]).plot;
42 Wavetable.sineFill(512, [1]).plot("Table 1", Rect(50, 50, 150, 450));
45 a String, the name of the window.
47 a Rect giving the bounds of the window.
49 the minimum value in the plot. Defaults to the highest value in the data.
51 the maximum value in the plot. Defaults to the lowest value in the data.
53 a window to place the plot in. If nil, one will be created for you.
56 Convert the Wavetable into a Signal.
58 Wavetable.sineFill(512, [1]).asSignal.plot;