add sysex message support

This commit is contained in:
2023-08-05 21:25:27 +02:00
parent 471cc3b6d7
commit dfca663517
2 changed files with 28 additions and 5 deletions

View File

@ -222,6 +222,15 @@ export class UserAPI {
this.MidiConnection.sendMidiNote(note, channel, velocity, duration)
}
public sysex(data: Array<number>): void {
/**
* Sends a MIDI sysex message to the current MIDI output.
*
* @param data - The sysex data to send
*/
this.MidiConnection.sendSysExMessage(data)
}
public midi_clock(): void {
/**
* Sends a MIDI clock to the current MIDI output.