package vecosek-scene

  1. Overview
  2. Docs

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

type t = Scene_format_t.midi_event = {
  1. port : int;
    (*

    This is the Jack port number (starts at 0).

    *)
  2. status : int;
  3. channel : int;
  4. data1 : int;
  5. data2 : int option;
    (*

    data2 is an option to ba able to match MIDI events.

    *)
}
val make : port:int -> status:int -> channel:int -> data1:int -> ?data2:int -> unit -> t
val to_string : t -> string

Get a display-friendly string.

OCaml

Innovation. Community. Security.