VSinOsc:
Filter:
Scintillator/Classes (extension) | Quarks > Scintillator > VGens > Video Oscillators

VSinOsc
ExtensionExtension

Multidimensional sinusoidal video oscillator

Description

VSinOsc, just like the audio UGen SinOsc UGen, is a sinusoidal oscillator. It can process inputs of one to four dimensions and produces an output in the same dimension. The arguments parallel the arguments used by SinOsc, with the only difference being that the default mul and add argument values are modified to support producing a sin output range within [0, 1] instead of the audio range [-1, 1].

Supported Rates: frame, shape, pixel

Class Methods

.fr

.sr

.pr

Make a VSinOsc VGen at requested rate.

Arguments:

freq

Oscillator frequency in cycles per second or Hz.

phase

Oscillator phase in radians.

mul

Multiplier to apply to oscillator output.

add

Value to add to oscillator output after multiply.

Dimensions

inputoutput
1, 1, 1, 11
2, 2, 2, 22
3, 3, 3, 33
4, 4, 4, 44

Examples