|
Synthesizer.Dimensional.Abstraction.HomogeneousGen | Portability | requires multi-parameter type classes | Stability | provisional | Maintainer | synthesizer@henning-thielemann.de |
|
|
|
Description |
Class similar to Synthesizer.Dimensional.Abstraction.Homogeneous
but it can be used for different storage types.
|
|
Synopsis |
|
processSamples :: (C amp storage0 signal0, C amp storage1 signal1) => (storage0 y0 -> storage1 y1) -> T s signal0 y0 -> T s signal1 y1 | | plainProcessSamples :: (C amp storage0 signal0, C amp storage1 signal1) => (storage0 y0 -> storage1 y1) -> signal0 y0 -> signal1 y1 | | wrap :: C amp storage signal => (amp, storage y) -> T s signal y | | unwrap :: C amp storage signal => T s signal y -> (amp, storage y) | | class C amp storage signal | signal -> amp storage where | |
|
|
Documentation |
|
processSamples :: (C amp storage0 signal0, C amp storage1 signal1) => (storage0 y0 -> storage1 y1) -> T s signal0 y0 -> T s signal1 y1 | Source |
|
|
plainProcessSamples :: (C amp storage0 signal0, C amp storage1 signal1) => (storage0 y0 -> storage1 y1) -> signal0 y0 -> signal1 y1 | Source |
|
|
wrap :: C amp storage signal => (amp, storage y) -> T s signal y | Source |
|
|
unwrap :: C amp storage signal => T s signal y -> (amp, storage y) | Source |
|
|
class C amp storage signal | signal -> amp storage where | Source |
|
Functions using this class might define their own class with functional dependencies,
that allow to infer automatically, say,
that an amplitude input signal requires an amplitude output signal.
| | Methods | plainWrap :: (amp, storage y) -> signal y | Source |
| | plainUnwrap :: signal y -> (amp, storage y) | Source |
|
| | Instances | |
|
|
Produced by Haddock version 2.4.2 |