QuadL general quadratic map chaotic generator
QuadL.ar(freq, a, b, c, xi, mul, add)
freq - iteration frequency in Hertz
a, b, c - equation variables
xi - initial value of x
A linear-interpolating sound generator based on the difference equation:
xn+1 = axn2 + bxn + c
// default params
{ QuadL.ar(SampleRate.ir/4) * 0.2 }.play(s);
// logistic map
// equation: x1 = -r*x0^2 + r*x0
(
{ var r;
r = MouseX.kr(3.5441, 4); // stable range
QuadL.ar(SampleRate.ir/2, r.neg, r, 0, 0.1) * 0.4;
}.play(s);
)
// logistic map as frequency control
(
{ var r;
r = MouseX.kr(3.5441, 4); // stable range
SinOsc.ar(QuadL.ar(40, r.neg, r, 0, 0.1, 800, 900)) * 0.4;
}.play(s);
)