synthesizer-core-0.7.0.2: Audio signal processing coded in Haskell: Low level part
Synthesizer.Plain.Noise
Description
Noise and random processes.
Synopsis
white :: (C y, Random y) => T y
Deterministic white noise, uniformly distributed between -1 and 1. That is, variance is 1/3.
whiteGen :: (C y, Random y, RandomGen g) => g -> T y
whiteQuadraticBSplineGen :: (C y, Random y, RandomGen g) => g -> T y
Approximates normal distribution with variance 1 by a quadratic B-spline distribution.
randomPeeks
Arguments
momentary densities, p means that there is about one peak in the time range of 1/p samples
p
1/p
Every occurence of True represents a peak.
True
randomPeeksGen :: (C y, Random y, RandomGen g) => g -> T y -> T Bool