A non-interpolating sound generator based on the difference equation:
x(n+2) = 1 - a * x(n+1)^2 + b * x(n)
This equation was discovered by French astronomer Michel Hénon while studying the orbits of stars in globular clusters.
sclang code translation:
| freq |
Iteration frequency in Hertz |
| a |
Equation variable |
| b |
Equation variable |
| x0 |
Initial value of x |
| x1 |
Second value of x |
| mul | |
| add |