package vecosek-engine

  1. Overview
  2. Docs

Parameters

module IO : IO

Signature

module Midi_io : sig ... end
module Time_io : sig ... end
type t = {
  1. scene : Vecosek_scene.Scene.t;
  2. sequencer_parameters : Midi_sequencer.parameters;
  3. time_resolution : float;
  4. max_running_time : float;
  5. debug : out_channel option;
  6. output_bpm : [ `No | `Vimebac of int * int ];
  7. start_hook : (unit -> unit) option;
  8. override_ppqn : int option;
}
val make : ?debug:out_channel -> ?time_resolution:float -> ?override_ppqn:int -> output_bpm:[ `No | `Vimebac of int * int ] -> scene:Vecosek_scene.Scene.t -> sequencer_parameters:Midi_sequencer.parameters -> max_running_time:float -> ?start_hook:(unit -> unit) -> unit -> t
val debug : out_channel option ref
val dbg : ?force_out:bool -> ('a, out_channel, unit, unit) format4 -> 'a
val warn : ('a, unit, string, unit) format4 -> 'b
module State : sig ... end
val process_action : 'a -> state:State.t -> sequencer:Midi_sequencer.t -> stopped:bool ref -> tick:int -> action:Vecosek_scene.Scene.Action.t -> unit
val start : t -> (unit, Error.t) IO.t
OCaml

Innovation. Community. Security.