hsc3-0.19.1: Haskell SuperCollider
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.SC3.Common.Math.Noise

Description

Noise generating functions.

Synopsis

Documentation

cusp_f :: Floating t => t -> t -> t -> t Source #

x(n+1) = a - b * sqrt(|x(n)|)

fbSine_f :: (Floating t, RealFrac t) => t -> t -> t -> t -> (t, t) -> (t, t) Source #

x(n+1) = sin(im * y(n) + fb * x(n)) y(n+1) = (a * y(n) + c) % 2pi

henon_f :: Floating t => t -> t -> (t, t) -> (t, t) Source #

x(n+2) = 1 - a * x(n+1)^2 + b * x(n)

latoocarfian_f :: Floating t => t -> t -> t -> t -> (t, t) -> (t, t) Source #

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

linCong_f :: RealFrac t => t -> t -> t -> t -> t Source #

x(n+1) = (a * x(n) + c) % m

logistic_f :: Num t => t -> t -> t Source #

x(n+1) = a * x * (1.0 - x)

lorenz_f :: Num t => t -> t -> t -> (t, t, t) -> (t, t, t) Source #

x' = s * (y - x) y' = x * (r - z) - y z' = x * y - b * z

quad_f :: Floating t => t -> t -> t -> t -> t Source #

x(n+1) = a * x(n)^2 + b * x(n) + c

standard_f :: (RealFrac t, Floating t) => t -> (t, t) -> (t, t) Source #

x(n+1) = (x(n) + y(n+1)) % 2pi y(n+1) = (y(n) + k * sin(x(n))) % 2pi