SuperCollider CLASSES (extension)

Standard2DN
ExtensionExtension

standard map 2D chaotic generator
Inherits from: UGen : AbstractFunction : Object

Description

x(n+1) = (x(n) + y(n+1)) % 2pi
y(n+1) = (y(n) + ksin(x(n))) % 2pi

Class Methods

*ar (minfreq: 11025, maxfreq: 22050, k: 1.4, x0: 4.9789799812499, y0: 5.7473416156381, mul: 1, add: 0)

*kr (minfreq: 40, maxfreq: 100, k: 1.4, x0: 4.9789799812499, y0: 5.7473416156381, mul: 1, add: 0)

Arguments:

minfreq, maxfreq

iteration frequency in Hertz

k

perturbation amount

x0

initial value of x

y0

initial value of y

Inherited class methods

Instance Methods

Inherited instance methods

Examples

{ Standard2DN.ar(220, 11025, mul:0.3) }.play(s);

// mouse-controlled param
{ Standard2DN.ar(SampleRate.ir/2, SampleRate.ir, MouseX.kr(0.9,4), mul:0.3) }.play(s);

// as a frequency control
{ SinOsc.ar(Standard2DN.ar(10, 20, MouseX.kr(0.9,4))*800+900)*0.4 }.play(s);