|
Synthesizer.Dimensional.RateWrapper | Portability | requires multi-parameter type classes | Stability | provisional | Maintainer | synthesizer@henning-thielemann.de |
|
|
|
Description |
Signals equipped with a sample rate information that carry a physical dimension.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Constructors | Cons | | sampleRate :: T (Recip u) t | number of samples per unit
| signal :: sig y | the embedded signal
|
|
| Instances | |
|
|
fromProcess :: C u => T s u t (T s sig yv -> T u t sig yv) | Source |
|
|
runProcess :: C u => T (Recip u) t -> (forall s. T s u t (T s sig yv)) -> T u t sig yv | Source |
|
Render a signal generated by a signal processor
at the given sample rate,
and leave the sample rate context.
If you want to render multiple signals,
then convert them with fromProcess
and move them out of the sample rate context
all at once using run.
|
|
runProcessOn :: C u => (forall s. T s u t (T s sig0 yv0 -> T s sig1 yv1)) -> T u t sig0 yv0 -> T u t sig1 yv1 | Source |
|
|
toProcess :: C u => (T u t sig yv -> a) -> T s u t (T s sig yv -> a) | Source |
|
|
fromSignal :: C u => T s u t -> T s sig yv -> T u t sig yv | Source |
|
internal function
|
|
toSignal :: C u => T u t sig yv -> (T s u t, T s sig yv) | Source |
|
|
processSignal :: (sig0 yv0 -> sig1 yv1) -> T u t sig0 yv0 -> T u t sig1 yv1 | Source |
|
|
Produced by Haddock version 2.4.2 |