Copyright | (c) Henning Thielemann 2008-2011 |
---|---|
License | GPL |
Maintainer | synthesizer@henning-thielemann.de |
Stability | provisional |
Portability | requires multi-parameter type classes |
Safe Haskell | None |
Language | Haskell2010 |
Treat a signal as period of a cyclic signal.
ToDo: In principle this module does no longer belong to dimensional package but could be moved to synthesizer-core.
- newtype T period = Cons {
- toPeriod :: period
- processPeriod :: (body0 -> body1) -> T body0 -> T body1
- fromPeriod :: body -> T body
- fromSignal :: (C yv, Write sig yv) => Int -> sig yv -> T (sig yv)
- toSignal :: Monoid sig => T sig -> sig
Documentation
processPeriod :: (body0 -> body1) -> T body0 -> T body1 Source #
fromPeriod :: body -> T body Source #