OscN:
Filter:
Classes | UGens > Generators > Deterministic

OscN : PureUGen : UGen : AbstractFunction : Object

Noninterpolating wavetable oscillator.
Source: Osc.sc

Description

Noninterpolating wavetable lookup oscillator with frequency and phase modulation inputs. It is usually better to use the interpolating oscillator Osc .

Class Methods

OscN.ar(bufnum, freq: 440.0, phase: 0.0, mul: 1.0, add: 0.0)

OscN.kr(bufnum, freq: 440.0, phase: 0.0, mul: 1.0, add: 0.0)

Arguments:

bufnum

Buffer index. the buffer size must be a power of 2. The buffer should NOT be filled using Wavetable format (b_gen commands should set wavetable flag to false. Raw signals (not converted with asWavetable) can be saved to disk and loaded into the buffer.

freq

Frequency in Hertz.

phase

Phase offset or modulator in radians.

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