open

inline suspend fun MIDIPort.open(): MIDIPort(source)

The open() method of the MIDIPort interface makes the MIDI device connected to this MIDIPort explicitly available.

MDN Reference