1class:: Standard2DC
2summary:: standard map 2D chaotic generator
3related:: Classes/Standard2DN, Classes/Standard2DC
4categories:: UGens>Generators>Stochastic
5
6
7Description::
8
9code::
10x(n+1) = (x(n) + y(n+1)) % 2pi
11y(n+1) = (y(n) + ksin(x(n))) % 2pi
12::
13
14classmethods::
15
16method::ar, kr
17
18argument::minfreq, maxfreq
19iteration frequency in Hertz
20
21argument::k
22perturbation amount
23
24argument::x0
25initial value of x
26
27argument::y0
28initial value of y
29
30
31Examples::
32
33code::
34{ Standard2DC.ar(220, 11025, mul:0.3) }.play(s);
35
36// mouse-controlled param
37{ Standard2DC.ar(8000, 20000, MouseX.kr(0.9,4), mul:0.3) }.play(s);
38
39// as a frequency control
40{ SinOsc.ar(Standard2DC.ar(10, 20, MouseX.kr(0.9,4))*800+900)*0.4 }.play(s);
41::
42