Safe Haskell | None |
---|---|
Language | Haskell2010 |
- *Note:** The argument format for these is a little rough, and is likely to change in the future
Synopsis
- adsrGen :: (Args '[] '["peakLevel", "bias", "gate", "doneAction"] as, ToSig attackTime (SDBodyArgs as), ToSig decayTime (SDBodyArgs as), ToSig sustainLevel (SDBodyArgs as), ToSig releaseTime (SDBodyArgs as)) => attackTime -> decayTime -> sustainLevel -> releaseTime -> EnvCurve -> as -> SDBody as Signal
- envGate :: Subset '["gate", "fadeSecs"] a => SDBody' a Signal
- envGen :: EnvLiterally a -> DoneAction -> SDBody' a Signal
- envGen_wGate :: (ToSig gate a, ToSig timeScale a) => gate -> timeScale -> EnvLiterally a -> DoneAction -> SDBody' a Signal
- line :: Args '[] '["start", "end", "duration", "doneAction"] a => a -> SDBody a Signal
- linen :: Args '[] '["gate", "attackSecs", "susLevel", "releaseSecs", "doneAction"] a => a -> SDBody a Signal
- percGen :: Args '[] '["attackSecs", "releaseSecs", "level", "curve", "doneAction", "gate", "fadeSecs"] a => a -> SDBody a Signal
- xLine :: Args '[] '["start", "end", "duration", "doneAction"] a => a -> SDBody a Signal
Documentation
adsrGen :: (Args '[] '["peakLevel", "bias", "gate", "doneAction"] as, ToSig attackTime (SDBodyArgs as), ToSig decayTime (SDBodyArgs as), ToSig sustainLevel (SDBodyArgs as), ToSig releaseTime (SDBodyArgs as)) => attackTime -> decayTime -> sustainLevel -> releaseTime -> EnvCurve -> as -> SDBody as Signal Source #
Defaults to AR
envGen :: EnvLiterally a -> DoneAction -> SDBody' a Signal Source #
Defaults to AR
envGen_wGate :: (ToSig gate a, ToSig timeScale a) => gate -> timeScale -> EnvLiterally a -> DoneAction -> SDBody' a Signal Source #
line :: Args '[] '["start", "end", "duration", "doneAction"] a => a -> SDBody a Signal Source #
"Generates a line from the start value to the end value."
Note this won't change after it's created, so if you'd like to e.g. be able to change the "freq" in
line (start_ 0, end_ (V::V "freq"))
you should write
(V::V "freq") ~* line (start_ 0, end_ 1)
instead.
Defaults to KR
linen :: Args '[] '["gate", "attackSecs", "susLevel", "releaseSecs", "doneAction"] a => a -> SDBody a Signal Source #