VOsc3:
Filter:
Classes | UGens > Generators > Deterministic

VOsc3 : PureUGen : UGen : AbstractFunction : Object

Three variable wavetable oscillators.
Source: Osc.sc

Description

A wavetable lookup oscillator which can be swept smoothly across wavetables. Fractional values of table will interpolate between two adjacent tables. While VOsc cycles through its wavetable at one frequency, this unit generator contains three oscillators at different frequencies, mixed together.

This oscillator requires at least two buffers to be filled with a wavetable format signal. This preprocesses the signal into a form which can be used efficiently by the oscillator. All the wavetables must be allocated to the same size, and the size must be a power of two.

Setting your tables with Buffers

The wavetable can be generated by filling a buffer via the Buffer: Buffer Fill Commands (e.g. Buffer: -sine1). Set wavetable: true to ensure the proper data formatting.

Identically, you can create a Buffer object by sending one of the \b_gen messages \sine1, \sine2, \sine3 (see Server Command Reference: Wave Fill Commands and examples below), again remembering to enable the wavetable format.

You can use Buffer: *allocConsecutive to ensure a contiguous buffers numbers to be interpolated.

Setting your tables with Signals

This can also be achieved by creating a Signal object and sending it the Signal: -asWavetable message, saving it to disk, and having the server load it from there.

Class Methods

VOsc3.ar(bufpos, freq1: 110.0, freq2: 220.0, freq3: 440.0, mul: 1.0, add: 0.0)

VOsc3.kr(bufpos, freq1: 110.0, freq2: 220.0, freq3: 440.0, mul: 1.0, add: 0.0)

Arguments:

bufpos

Buffer index. Can be swept continuously among adjacent wavetable buffers of the same size.

freq1

Frequency in Hertz of the 1st oscillator. (non-interpolated control-rate)

freq2

Frequency in Hertz of the 2nd oscillator. (non-interpolated control-rate)

freq3

Frequency in Hertz of the 3rd oscillator. (non-interpolated control-rate)

mul

Output will be multiplied by this value.

add

This value will be added to the output.

Inherited class methods

Instance Methods

Inherited instance methods

Examples