synthesizer-core-0.8.2: Audio signal processing coded in Haskell: Low level part

Safe HaskellNone
LanguageHaskell2010

Synthesizer.Generic.Noise

Description

Noise and random processes.

Synopsis

Documentation

white :: (C y, Random y, Write sig y) => LazySize -> sig y Source #

Deterministic white noise, uniformly distributed between -1 and 1. That is, variance is 1/3.

whiteGen :: (C y, Random y, RandomGen g, Write sig y) => LazySize -> g -> sig y Source #

whiteQuadraticBSplineGen :: (C y, Random y, RandomGen g, Write sig y) => LazySize -> g -> sig y Source #

Approximates normal distribution with variance 1 by a quadratic B-spline distribution.

randomPeeks Source #

Arguments

:: (C y, Random y, Transform sig y, Transform sig Bool) 
=> sig y

momentary densities, p means that there is about one peak in the time range of 1/p samples

-> sig Bool

Every occurence of True represents a peak.

randomPeeksGen :: (C y, Random y, RandomGen g, Transform sig y, Transform sig Bool) => g -> sig y -> sig Bool Source #