Classes (extension) | UGens > Random | UGens > Triggers

TGaussRand : UGen : AbstractFunction : Object
ExtensionExtension

triggered gaussian random distribution
Source: bhobGens.sc

Description

Generates a random float value in gaussian distribution from lo to hi each time the trigger signal changes from nonpositive to positive values.

Class Methods

TGaussRand.ar(lo: 0, hi: 1, trig: 0, mul: 1, add: 0)

TGaussRand.kr(lo: 0, hi: 1, trig: 0, mul: 1, add: 0)

Arguments:

lo

minimum value

hi

maximum value

trig

trigger signal

Inherited class methods

Instance Methods

Inherited instance methods

Examples

(
{
    var trig;
    trig = Dust.kr(10);
    Pan2.ar(SinOsc.ar(
            TGaussRand.kr(300, 3000, trig)
        ),
        TGaussRand.kr(-1, 1, trig),
        0.1
    )
}.play;
)