Ooscili

INSTRUMENT design -- wavetable and function-table interpolating oscillator object

The Ooscili object is an interpolating wavetable and function table unit generator used in RTcmix instrument design. What the heck does this mean? It's an oscillator. It oscillates. The thing that it oscillates is the wavetable or function table array.

It can replace the older oscili function used in previous incarnations of RTcmix/cmix. It can also partially replace the tablei array/table function used for generating longer-span control envelopes. This cute trick is accomplished by creating an Ooscili object with the frequency set to 1.0/dur where dur is the time-span of the control function.

The values returned by the Ooscili::next() method will be interpolated between points in the original wavetable/function table array. The wavetable/function table array will be access cyclically at a rate determined by the frequency set for the Ooscili object.



Constructors


Access Methods



Examples

used as an oscillator:
used as an envelope or control signal generator: