Interface MIDIAccess

Available only in secure contexts.

MDN Reference

Hierarchy

Properties

inputs: MIDIInputMap
onstatechange: ((this, ev) => any)

Type declaration

outputs: MIDIOutputMap
sysexEnabled: boolean

Methods

  • Type Parameters

    • K extends "statechange"

    Parameters

    Returns void

  • Parameters

    Returns void

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    MDN Reference

    Parameters

    Returns boolean

  • Type Parameters

    • K extends "statechange"

    Parameters

    Returns void

  • Parameters

    Returns void