synthesizer-core-0.8.2.1: Audio signal processing coded in Haskell: Low level part

Safe HaskellNone
LanguageHaskell2010

Synthesizer.Basic.Distortion

Description

The distortion functions have slope 1 at zero, if they are differentiable at that point, at all. This ensures that signals with low amplitude are only slightly altered. Non-differentiable distortions try to have an overall slope of 1.

Synopsis

Documentation

clip :: C a => a -> a Source #

limit, fuzz booster

logit :: C a => a -> a Source #

logit, tanh

zigZag :: C a => a -> a Source #

zig-zag

sine :: C a => a -> a Source #

sine

oddChebyshev :: C a => C a => Int -> a -> a Source #

Odd Chebyshev polynomial

oddChebyshev n is an appropriately scaled Chebyshev polynomial of order 2*n+1. The argument n must be non-negative.

Graphics.Gnuplot.Simple.plotFuncs [Graphics.Gnuplot.Simple.YRange (-1,1)] (Graphics.Gnuplot.Simple.linearScale 1000 (-7,7::Double)) (List.map oddChebyshev [0..5])

quantize :: C a => a -> a Source #

powerSigned :: (C a, C a) => a -> a -> a Source #

Power function. Roughly the map p x -> x**p but retains the sign of x.