System Failure - Supercollider

un mix di 5 SinOsc pannati random e modulati da LFO sinusoidali

Array.fill(5, // not too many values, could crash
{, rrand(0, 6.0), 200, 500)),

var trig, out, delay;
trig =; // trigger rate
out =, 72, trig).midicps, // range, in midi, of pitches, 12, trig), // range of timbre
max(0,, 0.4, trig)) // amplitudes
out =,, 1.0, trig));
out = out*, 1), trig);
out ={out}.dup(6))*0.2;
delay =, 2.0, 4/6, 6);
out + delay

Blip            band limited impulse oscillator, numharm, mul, add)

TRand           triggered random number generator, hi, trig), hi, trig)

Generates a random float value in uniform distribution from lo to hi
each time the trig signal changes from nonpositive to positive values

EnvGen              envelope generator

Inherits from: Object : AbstractFunction : UGen

Plays back break point envelopes. The envelopes are instances of the Env class. See the Env for more info. The arguments for levelScale, levelBias, and timeScale are polled when the EnvGen is triggered and remain constant for the duration of the envelope.
*ar(envelope, gate, levelScale, levelBias, timeScale, doneAction)
*kr(envelope, gate, levelScale, levelBias, timeScale, doneAction)

*perc(attackTime, releaseTime, peakLevel, curve)

    Creates a new envelope specification which (usually) has a percussive shape.
    attackTime - the duration of the attack portion.
    releaseTime - the duration of the release portion.
    peakLevel - the peak level of the envelope.
    curve - the curvature of the envelope.
        Env.perc(0.05, 1, 1, -4).test.plot;
        Env.perc(0.001, 1, 1, -4).test.plot;    // sharper attack
        Env.perc(0.001, 1, 1, -8).test.plot;    // change curvature
        Env.perc(1, 0.01, 1, 4).test.plot;  // reverse envelope

Categories: Share

Leave a Reply