Safe Haskell | None |
---|---|
Language | Haskell2010 |
Extensions |
|
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 #
forall initial.ToSig initial args => EnvLiterally | |
envLiterallyToSignals :: EnvLiterally (b :: [Symbol]) -> SDBody' b [Signal] Source #
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 #
Instances
Eq EnvSegment Source # | |
Defined in Vivid.Envelopes (==) :: EnvSegment -> EnvSegment -> Bool # (/=) :: EnvSegment -> EnvSegment -> Bool # | |
Show EnvSegment Source # | |
Defined in Vivid.Envelopes showsPrec :: Int -> EnvSegment -> ShowS # show :: EnvSegment -> String # showList :: [EnvSegment] -> ShowS # |
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