A non-interpolating sound generator based on the difference equations:
x(n+1) = 1 - y(n) + |x(n)| y(n+1) = x(n)
The behavior of the system is only dependent on its initial conditions.
sclang code translation:
Reference: Devaney, R. L. "The Gingerbreadman." Algorithm 3, 15-16, Jan. 1992.
Iteration frequency in Hertz
Initial value of x
Initial value of y