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.
- type T sig a = Piece a a (LazySize -> a -> sig a)
- run :: (C a, Transform (sig a)) => LazySize -> T a a (LazySize -> a -> sig a) -> sig a
- step :: Write sig a => T sig a
- linear :: (C a, Write sig a) => T sig a
- exponential :: (C a, Write sig a) => a -> T sig a
- cosine :: (C a, Write sig a) => T sig a
- halfSine :: (C a, Write sig a) => FlatPosition -> T sig a
- cubic :: (C a, Write sig a) => a -> a -> T sig a
- data FlatPosition