Linear interpolating wavetable lookup oscillator with frequency and phase modulation inputs.
This oscillator requires a buffer to be filled with a wavetable format signal. This preprocesses the Signal into a form which can be used efficiently by the Oscillator. The buffer size must be a power of 2.
This can be achieved by creating a Buffer object and sending it one of the "b_gen" messages ( Buffer: -sine1, Buffer: -sine2, Buffer: -sine3 ) with the wavetable flag set to true.
This can also be achieved by creating a Signal object and sending it the 'asWavetable' message, thereby creating a Wavetable object in the required format. Then, the wavetable data may be transmitted to the server using the Buffer: *sendCollection or Buffer: *loadCollection methods.
bufnum |
Buffer index. |
freq |
Frequency in Hertz. |
phase |
Phase offset or modulator in radians. (Note: phase values should be within the range +-8pi. If your phase values are larger then simply use |
mul |
Output will be multiplied by this value. |
add |
This value will be added to the output. |