2 summary:: Linear congruential chaotic generator
3 categories:: UGens>Generators>Chaotic
4 related:: Classes/LinCongL, Classes/LinCongC
7 A non-interpolating sound generator based on the difference equation:
10 x[n+1] = (a * x[n] + c) % m
12 warning:: revise formulae converted to c like code ::
14 The output signal is automatically scaled to a range of [-1, 1].
19 Iteration frequency in Hertz
33 // default initial params
34 { LinCongN.ar(MouseX.kr(20, SampleRate.ir)) * 0.2 }.play(s);
38 // randomly modulate params
41 LFNoise2.kr(1, 1e4, 1e4),
42 LFNoise2.kr(0.1, 0.5, 1.4),
43 LFNoise2.kr(0.1, 0.1, 0.1),
50 // as frequency control...
56 LFNoise2.kr(0.1, 0.1, 1),
57 LFNoise2.kr(0.1, 0.1, 0.1),