Midi.Input
MIDI input.
type t
The type for MIDIInput objects.
MIDIInput
val as_target : t -> Brr.Ev.target
as_target i is i as an event target.
as_target i
i
val as_port : t -> Port.t
as_port i is i as a port.
as_port i
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