GbmanN

object GbmanN extends ProductReader[GbmanN]

A non-interpolating sound generator based on the difference equations:

x[n+1] = 1 - y[n] + abs(x[n])
y[n+1] = x[n]

The behavior of the system is only dependent on its initial conditions. Reference: Devaney, R. L. "The Gingerbreadman." Algorithm 3, 15-16, Jan. 1992.

===Examples===

// default initial parameters
play { GbmanN.ar(MouseX.kr(20, SampleRate.ir)) * 0.1 }
// change initial parameters
play { GbmanN.ar(MouseX.kr(20, SampleRate.ir), -0.7, -2.7) * 0.1 }
// wait for it...
play { GbmanN.ar(MouseX.kr(20, SampleRate.ir), 1.2, 2.0002) * 0.1 }
// as a frequency control
play { SinOsc.ar(GbmanN.ar(40) * 400 + 500) * 0.4 }
See also
Companion
class
trait Product
trait Mirror
trait ProductReader[GbmanN]
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def ar: GbmanN
def ar(freq: GE, xi: GE, yi: GE): GbmanN
Value Params
freq

Iteration frequency in Hertz

yi

Initial value of y

def read(in: RefMapIn, key: String, arity: Int): GbmanN