VarShapeOsc:
Filter:
Classes (extension) | UGens > Oscillator

VarShapeOsc : UGen : AbstractFunction : Object
ExtensionExtension

Variable Waveshape Oscillator

Description

Original code by E. Gillet. Revisted by Ben Sergentanis for the DaisySP DSP library. Ported to SuperCollider by Mads Kjeldgaard.

Class Methods

VarShapeOsc.ar(freq: 100, pw: 0.5, waveshape: 0.5, sync: 1, syncfreq: 105)

VarShapeOsc.kr(freq: 100, pw: 0.5, waveshape: 0.5, sync: 1, syncfreq: 105)

Arguments:

freq

Main frequency in hz

pw

Pulse width when shape is square. Saw, ramp, tri otherwise. 0.0 to 1.0.

waveshape

Blend between waveshapes. 0.0 is saw/ramp/tri and 1.0 is square.

sync

Whether or not to sync oscillator. 1.0 turns sync on. 0.0 is off.

syncfreq

Sync oscillator frequency in herz.

Inherited class methods

Instance Methods

Inherited instance methods

Examples