dsp-0.2.1: Haskell Digital Signal Processing

Portabilityportable
Stabilityexperimental
Maintainerm.p.donadio@ieee.org

Numeric.Random.Spectrum.Purple

Description

Function for purple noise, which is differentiated white noise

This currently just does a simple first-order difference. This is equivalent to filtering the white noise with h[n] = [1,-1] A better solution would be to use a proper FIR differentiator.

Documentation

purpleSource

Arguments

:: [Double]

noise

-> [Double]

purple noise