send method

void send(
  1. JSArray<JSNumber> data, [
  2. DOMHighResTimeStamp timestamp
])

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.

Implementation

external void send(
  JSArray<JSNumber> data, [
  DOMHighResTimeStamp timestamp,
]);