brr
Midi.Output
MIDI output.
brr.ocaml_poke
brr.ocaml_poke_ui
brr.poke
brr.poked
type t
The type for MIDIOutput objects.
MIDIOutput
val as_target : t -> Brr.Ev.target
as_target o is o as an event target.
as_target o
o
val as_port : t -> Port.t
as_port o is o as a port.
as_port o
val of_port : Port.t -> t
of_port p is an input of p. Raises a JavaScript error if p is not an input.
of_port p
p
val send : ?timestamp_ms:float -> t -> Brr.Tarray.uint8 -> (unit, Jv.Error.t) result
send o msg sends msg on o.
send o msg
msg
val clear : t -> unit
clear o clears the output.
clear o