package brr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

MIDI output.

type t

The type for MIDIOutput objects.

val as_target : t -> Brr.Ev.target

as_target o is o as an event target.

val as_port : t -> Port.t

as_port o is o as a port.

val of_port : Port.t -> t

of_port p is an input of p. Raises a JavaScript error if p is not an input.

val send : ?timestamp_ms:float -> t -> Brr.Tarray.uint8 -> (unit, Jv.Error.t) Stdlib.result

send o msg sends msg on o.

val clear : t -> unit

clear o clears the output.

OCaml

Innovation. Community. Security.