QuadN

object QuadN extends ProductReader[QuadN]

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

x[n+1] = a * pow(x[n], 2) + b * x[n] + c

===Examples===

// default parameters
play { QuadN.ar(SampleRate.ir/4) * 0.2 }
// logistic map
play {
 // equation: x1 = -r*x0^2 + r*x0
 val r = MouseX.kr(3.5441, 4)    // stable range
 QuadN.ar(SampleRate.ir/4, -r, r, 0, 0.1) * 0.4
}
// logistic map as frequency control
play {
 val r = MouseX.kr(3.5441, 4)    // stable range
 SinOsc.ar(QuadN.ar(40, -r, r, 0, 0.1).mulAdd(800, 900)) * 0.4
}
See also
Companion
class
trait Product
trait Mirror
trait ProductReader[QuadN]
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: QuadN
def ar(freq: GE, a: GE, b: GE, c: GE, xi: GE): QuadN
Value Params
a

Equation variable

b

Equation variable

c

Equation variable

freq

Iteration frequency in Hertz

xi

Initial value of x

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