package vecosek-scene

  1. Overview
  2. Docs

Module Vecosek_scene.SceneSource

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.

Sourcemodule Midi_event : sig ... end

Midi_event.t is a description of a MIDI event (in the Jack Audio Connection Kit sense).

Sourcemodule Id : sig ... end

The tracks of the sequencer (Track.t values) are referenced through Id.t (strings for now).

Sourcemodule Event : sig ... end

The various kinds of events the sequencer can react to.

Sourcemodule Action : sig ... end

Both tracks and event handlers perform “actions” (Action.t).

Sourcemodule Ticked_action : sig ... end

Tracks are sets of actions with timestamps (in “ticks”) within the track.

Sourcemodule Track : sig ... end

The main unit of loop in the Scene is the Track.t.

Sourcetype t = Scene_format_t.scene = {
  1. active : Id.t list;
  2. handlers : Action.event_handler list;
  3. bpm : int;
  4. ppqn : int;
    (*

    Pulses Per Quarter Note.

    *)
  5. tracks : Track.t list;
}

The toplevel type of the description of a music scene for the sequencer.

Sourceval make : ?active:Id.t list -> ?handlers:Action.event_handler list -> ?bpm:int -> ?ppqn:int -> Track.t list -> t
Sourceval to_string : t -> string

to_string s renders a human-readable summary description of the scene.

Sourceval empty : t
Sourcemodule Json : sig ... end

The serialization-to-JSON functions (as defined by atdgen).

Sourcemodule Biniou : sig ... end

The serialization-to-Biniou functions (as defined by atdgen).