synthesizer-dimensional-0.2: Audio signal processing with static physical dimensionsSource codeContentsIndex
Synthesizer.Dimensional.Cyclic.Signal
Portabilityrequires multi-parameter type classes
Stabilityprovisional
Maintainersynthesizer@henning-thielemann.de
Description
Signals equipped with a phantom type parameter that reflects the sample rate.
Synopsis
newtype T seq yv = Cons {
samples :: seq yv
}
type R s yv = T s (T T) yv
fromPeriod :: T yv -> R s yv
fromPeriodList :: [yv] -> R s yv
toPeriod :: R s yv -> T yv
fromSignal :: C yv => Int -> R s yv -> R s yv
toSignal :: C yv => R s yv -> R s yv
Documentation
newtype T seq yv Source
Constructors
Cons
samples :: seq yvthe sampled values
show/hide Instances
Functor seq => Functor (T seq)
C seq => C (T seq)
(C seq, Show y) => Show (T seq y)
type R s yv = T s (T T) yvSource
fromPeriod :: T yv -> R s yvSource
fromPeriodList :: [yv] -> R s yvSource
toPeriod :: R s yv -> T yvSource
fromSignal :: C yv => Int -> R s yv -> R s yvSource
Periodization of a straight signal.
toSignal :: C yv => R s yv -> R s yvSource
Convert a cyclic signal to a straight signal containing a loop.
Produced by Haddock version 2.4.2