SuperCollider CLASSES (extension)

Gbman2DN
ExtensionExtension

gingerbreadman map 2D chaotic generator
Inherits from: UGen : AbstractFunction : Object
Subclasses: Gbman2DC, Gbman2DL

Description

x(n+1) = 1 - y(n) + |x(n)|
y(n+1) = x(n)

Class Methods

*ar (minfreq: 11025, maxfreq: 22050, x0: 1.2, y0: 2.1, mul: 1, add: 0)

*kr (minfreq: 40, maxfreq: 100, x0: 1.2, y0: 2.1, mul: 1, add: 0)

Arguments:

minfreq, maxfreq

iteration frequency in Hertz

x0

initial value of x

y0

initial value of y

Inherited class methods

Instance Methods

Inherited instance methods

Examples

{ Gbman2DN.ar(MouseX.kr(20, SampleRate.ir*0.25), MouseX.kr(80, SampleRate.ir), 0.1) }.play(s);

{ Gbman2DN.ar(11025, 22050, -0.7, -2.7, 0.1) }.play(s);

{ Gbman2DN.ar(2200, 8800, 1.2, 2.0002, 0.1) }.play(s);