send

fun send(data: ReadonlyArray<JsDouble>, timestamp: DOMHighResTimeStamp = definedExternally)(source)

The send() method of the MIDIOutput interface queues messages for the corresponding MIDI port. The message can be sent immediately, or with an optional timestamp to delay sending.

MDN Reference