synthesizer-dimensional-0.2: Audio signal processing with static physical dimensionsSource codeContentsIndex
Synthesizer.Dimensional.RatePhantom
Portabilityrequires multi-parameter type classes
Stabilityprovisional
Maintainersynthesizer@henning-thielemann.de
Description
Synopsis
newtype T s sig y = Cons {
signal :: sig y
}
fromSignal :: sig y -> T s sig y
toSignal :: T s sig y -> sig y
processSignal :: (sig0 y0 -> sig1 y1) -> T s sig0 y0 -> T s sig1 y1
Documentation
newtype T s sig y Source
Wraps a signal and adds a phantom type that identifies signals of the same sample rate. We provide the phantom type this way in order to flexibly replace it by a material sample rate.
Constructors
Cons
signal :: sig y
show/hide Instances
C (T s)
Functor sig => Functor (T s sig)
C sig => C (T s sig)
(C sig, Show y) => Show (T s sig y)
fromSignal :: sig y -> T s sig ySource
toSignal :: T s sig y -> sig ySource
processSignal :: (sig0 y0 -> sig1 y1) -> T s sig0 y0 -> T s sig1 y1Source
Produced by Haddock version 2.4.2