LFTri:
Filter:
Classes | UGens > Generators > Deterministic

LFTri : LFSaw : PureUGen : UGen : AbstractFunction : Object

Triangle oscillator
Source: Osc.sc

Description

A non-band-limited triangle oscillator. Output ranges from -1 to +1.

Class Methods

LFTri.ar(freq: 440.0, iphase: 0.0, mul: 1.0, add: 0.0)

From superclass: LFSaw

LFTri.kr(freq: 440.0, iphase: 0.0, mul: 1.0, add: 0.0)

From superclass: LFSaw

Arguments:

freq

Frequency in Hertz. For efficiency reasons, only positive values result in correct behavior.

iphase

Initial phase offset. For efficiency reasons this is a value ranging from 0 to 4.

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