Classes | UGens > Generators > Stochastic

LFNoise1 : LFNoise0 : UGen : AbstractFunction : Object

Ramp noise
Source: Noise.sc

Description

Generates linearly interpolated random values at a rate given by the nearest integer division of the sample rate by the freq argument.

Class Methods

LFNoise1.ar(freq: 500, mul: 1, add: 0)

From superclass: LFNoise0

LFNoise1.kr(freq: 500, mul: 1, add: 0)

From superclass: LFNoise0

Arguments:

freq

Approximate rate at which to generate random values.

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

{ LFNoise1.ar(1000, 0.25) }.play;

// modulate frequency

{ LFNoise1.ar(XLine.kr(1000, 10000, 10), 0.25) }.play;

// as frequency modulator
(
{ SinOsc.ar(
        LFNoise1.ar(4, 400, 450),
        0, 0.2
    )
}.play;
)

// freq is the rate of starting points
{ var freq = 1000; [LFNoise1.ar(freq), Impulse.ar(freq)] }.plot