Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Can be used as amplitude value for enumeration types
such as Bool
and Ordering
and other types, where a numeric amplitude makes no sense.
It is essential in T
.
It would be a bad idea to omit the Abstract
parameter
in dimensional causal processes
since the correspondence between amplitude type and sample type would be lost.
Numeric amp |
type Dimensional v y = Numeric (T v y) Source #
Flat y
is quite the same as Dimensional Dim.Scalar y
but in some cases it allows a little more efficient processing.
It should not be mixed up with Abstract
.
Flat y
is reserved for numeric amplitudes.
This class is used to make mapAmplitude
both flexible and a bit safe.
Its instances are dimensional numbers Numeric
and Abstract
.
It should not be necessary to add more instances.
Instances
C Abstract Source # | |
Defined in Synthesizer.Dimensional.Amplitude | |
C AllpassCascadeGlobal Source # | |
C AllpassPhaserGlobal Source # | |
C FirstOrderGlobal Source # | |
C MoogLowpassGlobal Source # | |
C SecondOrderCascadeGlobal Source # | |
C UniversalGlobal Source # | |
C (Flat y) Source # | |
Defined in Synthesizer.Dimensional.Amplitude | |
C (Numeric amp) Source # | |
Defined in Synthesizer.Dimensional.Amplitude |
class Primitive amp where Source #
This class is used for append
and map
that expect that the amplitude value
does carry not more information than that expressed by the type.
It should not be necessary to add more instances.