LFPulse:
Filter:
Classes | UGens > Generators > Deterministic

LFPulse : PureUGen : UGen : AbstractFunction : Object

pulse oscillator
Source: Osc.sc

Description

A non-band-limited pulse oscillator. Outputs a high value of one and a low value of zero.

Class Methods

LFPulse.ar(freq: 440.0, iphase: 0.0, width: 0.5, mul: 1.0, add: 0.0)

LFPulse.kr(freq: 440.0, iphase: 0.0, width: 0.5, mul: 1.0, add: 0.0)

Arguments:

freq

frequency in Hertz

iphase

initial phase offset in cycles (0..1)

width

pulse width duty cycle from zero to one.

mul
add

Inherited class methods

Instance Methods

Inherited instance methods

Examples

a plot:

50 Hz wave:

modulating frequency:

amplitude modulation:

used as both Oscillator and LFO:

scope:

compare with band limited Pulse UGen: