You can search for identifiers within the package.
in-package search v0.2.0
tiny_libs.audio_synthesis
Envelope
type t = {
attack : float;
decay : float;
sustain : float;
release : float;
}
val percussive : attack:float -> decay:float -> t
val level : t -> held:float -> float -> float
val duration : t -> held:float -> float
val apply : t -> held:float -> Signal.t -> Signal.t
type curve =
| Linear
| Exponential
type stage =
| Idle
| Attack
| Decay
| Sustain
| Release
type running
val start : unit -> running
val gate_on : running -> unit
val gate_off : running -> unit
val fill : curve -> t -> running -> Signal.t -> unit
val stage : running -> stage
val current : running -> float