2 summary:: Cusp map chaotic generator
3 categories:: UGens>Generators>Chaotic
4 related:: Classes/CuspL
7 A non-interpolating sound generator based on the difference equation:
10 x[n+1] = a - b * sqrt(abs(x[n]))
12 warning:: revise formulae converted to c like code ::
18 Iteration frequency in Hertz
29 { CuspN.ar(MouseX.kr(20, SampleRate.ir), 1.0, 1.99) * 0.3 }.play(s);
31 // mouse-controlled params
32 { CuspN.ar(SampleRate.ir/4, MouseX.kr(0.9,1.1,1), MouseY.kr(1.8,2,1)) * 0.3 }.play(s);
34 // as a frequency control
35 { SinOsc.ar(CuspN.ar(40, MouseX.kr(0.9,1.1,1), MouseY.kr(1.8,2,1))*800+900)*0.4 }.play(s);