A cubic-interpolating sound generator based on the difference equation:
x(n+1) = a * x(n)^2 + b * x(n) + c
sclang code translation:
freq |
Iteration frequency in Hertz |
a |
Equation variable |
b |
Equation variable |
c |
Equation variable |
xi |
Initial value of x |