2 summary:: Gingerbreadman map chaotic generator
3 categories:: UGens>Generators>Chaotic
4 related:: Classes/GbmanL
7 A non-interpolating sound generator based on the difference equations:
10 x[n+1] = 1 - y[n] + abs(x[n])
13 warning:: reviser formulae converted to c like code ::
15 The behavior of the system is only dependent on its initial conditions.
17 Reference: emphasis:: Devaney, R. L. "The Gingerbreadman." Algorithm 3, 15-16, Jan. 1992. ::
22 Iteration frequency in Hertz
32 // default initial params
33 { GbmanN.ar(MouseX.kr(20, SampleRate.ir)) * 0.1 }.play(s);
35 // change initial params
36 { GbmanN.ar(MouseX.kr(20, SampleRate.ir), -0.7, -2.7) * 0.1 }.play(s);
39 { GbmanN.ar(MouseX.kr(20, SampleRate.ir), 1.2, 2.0002) * 0.1 }.play(s);
41 // as a frequency control
42 { SinOsc.ar(GbmanN.ar(40)*400+500)*0.4 }.play(s);