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