2 summary:: Feedback sine with chaotic phase indexing
3 categories:: UGens>Generators>Chaotic
4 related:: Classes/FBSineL, Classes/FBSineC
7 A non-interpolating sound generator based on the difference equations:
10 x[n+1] = sin(im * y[n] + fb * x[n])
11 y[n+1] = (a * y[n] + c) % 2pi
13 warning:: reviser formulae conversion to c like code. ::
15 This uses a linear congruential function to drive the phase indexing of a sine wave. For code:: im = 1 ::, code:: fb = 0 ::, and code:: a = 1 :: a normal sinewave results.
20 Iteration frequency in Hertz
22 Index multiplier amount
26 Phase multiplier amount
28 Phase increment amount
36 // default initial params
37 { FBSineN.ar(SampleRate.ir/4) * 0.2 }.play(s);
42 { FBSineN.ar(SampleRate.ir, 1, Line.kr(0.01, 4, 10), 1, 0.1) * 0.2 }.play(s);
46 // increase phase multiplier
47 { FBSineN.ar(SampleRate.ir, 1, 0, XLine.kr(1, 2, 10), 0.1) * 0.2 }.play(s);
51 // modulate frequency and index multiplier
52 { FBSineN.ar(LFNoise2.kr(1, 1e4, 1e4), LFNoise2.kr(1,16,17), 1, 1.005, 0.7) * 0.2 }.play(s);
56 // randomly modulate params
59 LFNoise2.kr(1, 1e4, 1e4),
60 LFNoise2.kr(1, 32, 33),
62 LFNoise2.kr(1, 0.05, 1.05),
63 LFNoise2.kr(1, 0.3, 0.3)