Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data T amp yv = Cons amp yv
- cons :: C amp => amp -> yv -> T amp yv
- type Dimensional v y yv = T (Dimensional v y) yv
- type Numeric amp yv = T (Numeric amp) yv
- type Flat y = T (Flat y) y
- type Abstract y = T Abstract y
- type family Amplitude sample
- type family Displacement sample
- class Build sample where
- class Inspect sample where
Documentation
The constructor is only needed for arr
,
which is a kind of a hack.
Cons amp yv |
C q yv => C AllpassCascadeGlobal (Parameter q) (T amp yv) (T amp yv) Source # | |
C q yv => C MoogLowpassGlobal (Parameter q) (T amp yv) (T amp yv) Source # | |
C q yv => C UniversalGlobal (Parameter q) (T amp yv) (T amp (Result yv)) Source # | |
(Storable q, Storable yv, C q yv) => C SecondOrderCascadeGlobal (Parameter q) (T amp yv) (T amp yv) Source # | |
C q yv => C FirstOrderGlobal (Parameter q) (T amp yv) (T amp (Result yv)) Source # | |
C q yv => C AllpassPhaserGlobal (q, Parameter q) (T amp yv) (T amp yv) Source # | |
Inspect (T amp yv) Source # | |
Build (T amp yv) Source # | |
type Displacement (T amp yv) Source # | |
type Amplitude (T amp yv) Source # | |
type Dimensional v y yv = T (Dimensional v y) yv Source #
type family Amplitude sample Source #
When you define additional instances, take care that displacements and amplitudes cannot be brought out of order!
type family Displacement sample Source #
type Displacement (sample0, sample1) Source # | |
type Displacement (T amp yv) Source # | |
type Displacement (sample0, sample1, sample2) Source # | |
class Build sample where Source #
build :: Amplitude sample -> Displacement sample -> sample Source #