2 summary:: Henon map chaotic generator
3 categories:: UGens>Generators>Chaotic
4 related:: Classes/HenonL, Classes/HenonC
7 A non-interpolating sound generator based on the difference equation:
10 x[n+2] = 1 - a * pow(x[n+1], 2) + b * x[n]
12 warning:: revise formulae converted to c like code. ::
14 This equation was discovered by French astronomer Michel Hénon while studying the orbits of stars in globular clusters.
19 Iteration frequency in Hertz
31 // default initial params
32 { HenonN.ar(MouseX.kr(20, SampleRate.ir)) * 0.2 }.play(s);
34 // mouse-control of params
35 { HenonN.ar(SampleRate.ir/4, MouseX.kr(1,1.4), MouseY.kr(0,0.3)) * 0.2 }.play(s);
37 // randomly modulate params
41 LFNoise2.kr(1, 0.2, 1.2),
42 LFNoise2.kr(1, 0.15, 0.15)
46 // as a frequency control
47 { SinOsc.ar(HenonN.ar(40, MouseX.kr(1,1.4), MouseY.kr(0,0.3))*800+900)*0.4 }.play(s);