Scene.t is the (lowest-level) description of the initial state of th sequencer.
This module wraps.Scene_format_t which is the “types” output of atdgen
.
The submodule Json wraps functions from Scene_format_j.
module Midi_event : sig ... end
Midi_event.t is a description of a MIDI event (in the Jack Audio Connection Kit sense).
module Id : sig ... end
module Ticked_action : sig ... end
Tracks are sets of actions with timestamps (in “ticks”) within the track.
type t
= Scene_format_t.scene
=
{
active : Id.t list; | |
handlers : Action.event_handler list; | |
bpm : int; | |
ppqn : int; | (** Pulses Per Quarter Note. *) |
tracks : Track.t list; |
}
The toplevel type of the description of a music scene for the sequencer.
val make : ?active:Id.t list ‑> ?handlers:Action.event_handler list ‑> ?bpm:int ‑> ?ppqn:int ‑> Track.t list ‑> t
val empty : t