package brr

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

Module Midi.InputSource

MIDI input.

Sourcetype t

The type for MIDIInput objects.

Sourceval as_target : t -> Brr.Ev.target

as_target i is i as an event target.

Sourceval as_port : t -> Port.t

as_port i is i as a port.

Sourceval of_port : Port.t -> t

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