| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
| Extensions | 
 | 
Vivid.Envelopes
Description
Envelopes. **This module is the least mature in vivid and is likely to change a lot in the future!**
Synopsis
- data EnvLiterally (args :: [Symbol]) = forall initial.ToSig initial args => EnvLiterally {}
- envLiterallyToSignals :: EnvLiterally (b :: [Symbol]) -> SDBody' b [Signal]
- env :: Float -> [(Float, Float)] -> EnvCurve -> EnvLiterally args
- data EnvCurve
- data EnvSegment = EnvSegment {}
- shapeNumber :: EnvCurve -> Float
- curveNumber :: EnvCurve -> Float
Documentation
data EnvLiterally (args :: [Symbol]) Source #
Constructors
| forall initial.ToSig initial args => EnvLiterally | |
| Fields | |
envLiterallyToSignals :: EnvLiterally (b :: [Symbol]) -> SDBody' b [Signal] Source #
Constructors
| Curve_Step | |
| Curve_Linear | |
| Curve_Lin | |
| Curve_Exponential | |
| Curve_Exp | |
| Curve_Sine | |
| Curve_Sin | |
| Curve_Welch | |
| Curve_Wel | |
| Curve_Squared | |
| Curve_Sqr | |
| Curve_Cubed | |
| Curve_Cub | |
| Curve_Curve Float | 0 is linear, positive curves up, negative curves down | 
data EnvSegment Source #
Constructors
| EnvSegment | |
Instances
| Show EnvSegment Source # | |
| Defined in Vivid.Envelopes Methods showsPrec :: Int -> EnvSegment -> ShowS # show :: EnvSegment -> String # showList :: [EnvSegment] -> ShowS # | |
| Eq EnvSegment Source # | |
| Defined in Vivid.Envelopes | |
shapeNumber :: EnvCurve -> Float Source #
Same as "Env.shapeNumber" in SC.
This is useful if you want to set a the env shape of a running synth
curveNumber :: EnvCurve -> Float Source #
"shapeNumber" with a name I like better