synthesizer-0.2.0.1: Audio signal processing coded in HaskellSource codeContentsIndex
Synthesizer.Dimensional.Abstraction.HomogeneousGen
Portabilityrequires multi-parameter type classes
Stabilityprovisional
Maintainersynthesizer@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
plainWrap :: (amp, storage y) -> signal y
plainUnwrap :: signal y -> (amp, storage y)
Documentation
processSamples :: (C amp storage0 signal0, C amp storage1 signal1) => (storage0 y0 -> storage1 y1) -> T s signal0 y0 -> T s signal1 y1Source
plainProcessSamples :: (C amp storage0 signal0, C amp storage1 signal1) => (storage0 y0 -> storage1 y1) -> signal0 y0 -> signal1 y1Source
wrap :: C amp storage signal => (amp, storage y) -> T s signal ySource
unwrap :: C amp storage signal => T s signal y -> (amp, storage y)Source
class C amp storage signal | signal -> amp storage whereSource
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 ySource
plainUnwrap :: signal y -> (amp, storage y)Source
show/hide Instances
C Flat T T
C Flat T T
C Flat T T
C Flat T T
C Flat sig (T sig)
C Flat sig (T sig)
C amp => C amp sig (T amp (T sig))
C Flat (T t) (T t)
C Flat (T t) (T t)
C Flat (T t) (T t)
C Flat (T t) (T t)
C amp => C amp (T t) (T amp (T t))
C amp => C amp (T t) (T amp (T t))
C amp => C amp (T t) (T amp (T t))
C amp => C amp (T t) (T amp (T t))
Produced by Haddock version 2.4.2