| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
| Extensions |
|
Vivid.Envelopes
Description
Envelopes. **This module is the least mature in vivid and is likely to change a lot in the future!**
- data EnvLiterally args = ToSig initial args => EnvLiterally {}
- envLiterallyToSignals :: EnvLiterally (b :: [Symbol]) -> SDBody' b [Signal]
- env :: Float -> [(Float, Float)] -> EnvCurve -> EnvLiterally a
- data EnvCurve
- data EnvSegment = EnvSegment {}
- shapeNumber :: EnvCurve -> Float
- curveNumber :: EnvCurve -> Float
Documentation
data EnvLiterally args Source #
Constructors
| 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 |
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