synthesizer-core-0.8.4: Audio signal processing coded in Haskell: Low level part
Safe HaskellSafe-Inferred
LanguageHaskell2010

Synthesizer.State.Piece

Description

Synopsis

Documentation

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

run :: C a => T a a (a -> T a) -> T a Source #

step :: T a Source #

linear :: C a => T a Source #

exponential :: C a => a -> T a Source #

cosine :: C a => T a Source #

halfSine :: C a => FlatPosition -> T a Source #

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

cubic :: C a => a -> a -> T a Source #

data FlatPosition Source #

Constructors

FlatLeft 
FlatRight 

Instances

Instances details
Enum FlatPosition Source # 
Instance details

Defined in Synthesizer.Piecewise

Ix FlatPosition Source # 
Instance details

Defined in Synthesizer.Piecewise

Show FlatPosition Source # 
Instance details

Defined in Synthesizer.Piecewise

Eq FlatPosition Source # 
Instance details

Defined in Synthesizer.Piecewise

Ord FlatPosition Source # 
Instance details

Defined in Synthesizer.Piecewise