You can search for identifiers within the package.
in-package search v0.2.0
tiny_libs.audio_instruments
Sampler
type sample = {
data : Signal.t;
root : int;
}
type direction =
| Forward
| Backward
type loop =
| Forever
| Until_release
| Off
type settings = {
start : float;
loop_start : float;
loop_end : float;
end_ : float;
direction : direction;
tune : float;
crossfade : float;
gain : float;
loop : loop;
release : float option;
val default : settings
val voice : sample -> settings -> key:int -> velocity:float -> Polyphony.voice
val seconds : sample -> settings -> int -> float
type play =
| Key
| Oneshot
| Mute_group
| Loop
type pad = {
sample : sample;
settings : settings;
play : play;
pan : float;
val pad : ?settings:settings -> ?play:play -> ?pan:float -> sample -> pad
type kit
val kit : ?base:int -> pad array -> kit
val press : kit -> int -> float -> unit
val release : kit -> int -> unit
val fill : kit -> Signal.stereo -> unit
val sounding : kit -> int