requestMIDIAccess

suspend fun requestMIDIAccess(options: MIDIOptions = definedExternally): MIDIAccess(source)

Available only in secure contexts.

MDN Reference