synthesizer-core-0.8.1.2: Audio signal processing coded in Haskell: Low level part
Synthesizer.State.Piece
Description
See Synthesizer.Generic.Piece.
Synopsis
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
Instances
Methods
succ :: FlatPosition -> FlatPosition #
pred :: FlatPosition -> FlatPosition #
toEnum :: Int -> FlatPosition #
fromEnum :: FlatPosition -> Int #
enumFrom :: FlatPosition -> [FlatPosition] #
enumFromThen :: FlatPosition -> FlatPosition -> [FlatPosition] #
enumFromTo :: FlatPosition -> FlatPosition -> [FlatPosition] #
enumFromThenTo :: FlatPosition -> FlatPosition -> FlatPosition -> [FlatPosition] #
(==) :: FlatPosition -> FlatPosition -> Bool #
(/=) :: FlatPosition -> FlatPosition -> Bool #
compare :: FlatPosition -> FlatPosition -> Ordering #
(<) :: FlatPosition -> FlatPosition -> Bool #
(<=) :: FlatPosition -> FlatPosition -> Bool #
(>) :: FlatPosition -> FlatPosition -> Bool #
(>=) :: FlatPosition -> FlatPosition -> Bool #
max :: FlatPosition -> FlatPosition -> FlatPosition #
min :: FlatPosition -> FlatPosition -> FlatPosition #
showsPrec :: Int -> FlatPosition -> ShowS #
show :: FlatPosition -> String #
showList :: [FlatPosition] -> ShowS #
range :: (FlatPosition, FlatPosition) -> [FlatPosition] #
index :: (FlatPosition, FlatPosition) -> FlatPosition -> Int #
unsafeIndex :: (FlatPosition, FlatPosition) -> FlatPosition -> Int
inRange :: (FlatPosition, FlatPosition) -> FlatPosition -> Bool #
rangeSize :: (FlatPosition, FlatPosition) -> Int #
unsafeRangeSize :: (FlatPosition, FlatPosition) -> Int