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

Safe HaskellNone
LanguageHaskell2010

Synthesizer.Generic.Piece

Description

These are pieces that can be assembled to a control curve. This was formerly part of the Control module but because of the overlap with immediate control curve generators I created a new module.

Synopsis

Documentation

type T sig a = Piece a a (LazySize -> a -> sig a) Source #

run :: (C a, Transform (sig a)) => LazySize -> T a a (LazySize -> a -> sig a) -> sig a Source #

step :: Write sig a => T sig a Source #

linear :: (C a, Write sig a) => T sig a Source #

exponential :: (C a, Write sig a) => a -> T sig a Source #

cosine :: (C a, Write sig a) => T sig a Source #

halfSine :: (C a, Write sig a) => FlatPosition -> T sig a Source #

Graphics.Gnuplot.Simple.plotList [] $ Sig.toList $ run $ 1 |# (10.9, halfSine FlatRight) #| 2

cubic :: (C a, Write sig a) => a -> a -> T sig a Source #

data FlatPosition Source #

Constructors

FlatLeft 
FlatRight