synthesizer-0.0.3: Audio signal processing coded in HaskellSource codeContentsIndex
Synthesizer.Plain.Noise
Description
Noise and random processes.
Synopsis
white :: (C y, Random y) => T y
whiteGen :: (C y, Random y, RandomGen g) => g -> T y
whiteQuadraticBSplineGen :: (C y, Random y, RandomGen g) => g -> T y
randomPeeks :: (C y, Random y) => T y -> T Bool
randomPeeksGen :: (C y, Random y, RandomGen g) => g -> T y -> T Bool
Documentation
white :: (C y, Random y) => T ySource
Deterministic white noise, uniformly distributed between -1 and 1. That is, variance is 1/3.
whiteGen :: (C y, Random y, RandomGen g) => g -> T ySource
whiteQuadraticBSplineGen :: (C y, Random y, RandomGen g) => g -> T ySource
Approximates normal distribution with variance 1 by a quadratic B-spline distribution.
randomPeeksSource
:: (C y, Random y)
=> T ymomentary densities, p means that there is about one peak in the time range of 1/p samples
-> T BoolEvery occurence of True represents a peak.
randomPeeksGen :: (C y, Random y, RandomGen g) => g -> T y -> T BoolSource
Produced by Haddock version 2.3.0