2 summary:: Linear congruential chaotic generator
3 categories:: UGens>Generators>Chaotic
4 related:: Classes/LinCongN, Classes/LinCongL
7 A cubic-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
31 // default initial params
32 { LinCongC.ar(MouseX.kr(20, SampleRate.ir)) * 0.2 }.play(s);
36 // randomly modulate params
39 LFNoise2.kr(1, 1e4, 1e4),
40 LFNoise2.kr(0.1, 0.5, 1.4),
41 LFNoise2.kr(0.1, 0.1, 0.1),
48 // as frequency control...
54 LFNoise2.kr(0.1, 0.1, 1),
55 LFNoise2.kr(0.1, 0.1, 0.1),