Packages

object LatoocarfianN extends ProductReader[LatoocarfianN] with Serializable

A non-interpolating sound generator based on a function given in Clifford Pickover's book Chaos In Wonderland, pg 26. The function is:

x[n+1] = sin(b * y[n]) + c * sin(b * x[n])
y[n+1] = sin(a * y[n]) + d * sin(a * x[n])

According to Pickover, parameters a and b should be in the range from -3 to +3, and parameters c and d should be in the range from 0.5 to 1.5. The function can, depending on the parameters given, give continuous chaotic output, converge to a single value (silence) or oscillate in a cycle (tone). NOTE: This UGen is experimental and not optimized currently, so is rather hoggish of CPU.

Examples
// default initial parameters
play { LatoocarfianN.ar(MouseX.kr(20, SampleRate.ir)) * 0.2 }
// randomly modulate all parameters
play {
  LatoocarfianN.ar(
    SampleRate.ir/4,
    LFNoise2.kr(2).mulAdd(1.5, 1.5),
    LFNoise2.kr(2).mulAdd(1.5, 1.5),
    LFNoise2.kr(2).mulAdd(0.5, 1.5),
    LFNoise2.kr(2).mulAdd(0.5, 1.5)
  ) * 0.2
}
See also

LatoocarfianL

LatoocarfianC

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LatoocarfianN
  2. Serializable
  3. ProductReader
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def ar(freq: GE = Nyquist(), a: GE = 1.0f, b: GE = 3.0f, c: GE = 0.5f, d: GE = 0.5f, xi: GE = 0.5f, yi: GE = 0.5f): LatoocarfianN

    freq

    Iteration frequency in Hertz.

    a

    Equation variable

    b

    Equation variable

    c

    Equation variable

    d

    Equation variable

    xi

    Initial value of x

    yi

    Initial value of y

  2. def ar: LatoocarfianN
  3. def read(in: RefMapIn, key: String, arity: Int): LatoocarfianN
    Definition Classes
    LatoocarfianNProductReader