SuperCollider CLASSES (extension)

LorenzTrig
ExtensionExtension

lorenz chaotic trigger generator
Inherits from: UGen : AbstractFunction : Object

Description

x' = s(y - x)
y' = x(r - z) - y
z' = xy - bz

Class Methods

*ar (minfreq: 11025, maxfreq: 22050, s: 10, r: 28, b: 2.6666667, h: 0.02, x0: 0.090879182417163, y0: 2.97077458055, z0: 24.282041054363, mul: 1, add: 0)

*kr (minfreq: 40, maxfreq: 100, s: 10, r: 28, b: 2.6666667, h: 0.02, x0: 0.090879182417163, y0: 2.97077458055, z0: 24.282041054363, mul: 1, add: 0)

Arguments:

minfreq

minimum frequency in Hertz

maxfreq

maximum frequency in Hertz

s, r, b

equation variables

h

integration time step

x0

initial value of x

y0

initial value of y

z0

initial value of z

Inherited class methods

Instance Methods

Inherited instance methods

Examples

{ LorenzTrig.ar(11025, 44100) }.play(s);

// randomly modulate params
(
{ LorenzTrig.ar(
    11025, 44100,
    LFNoise0.kr(1, 2, 10),
    20,
    LFNoise0.kr(1, 1.5, 2),
    0.02
) * 0.2 }.play(s);
)

// as a frequency control
{ SinOsc.ar(Decay.ar(LorenzTrig.ar(1, 8, h:0.02))*800+900)*0.4 }.play(s);