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

Arguments

 :: [Double] noise -> [Double] purple noise