Module Midi.Input

MIDI input.

type t

The type for MIDIInput objects.

val as_target : t ->

as_target i is i as an event target.

val as_port : t -> Port.t

as_port i is i 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.