Skip to content

Commit

Permalink
[skip ci] Help: Clarify full sysex format for all OSes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamshark70 committed Jul 29, 2022
1 parent ecbd988 commit 351041e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions HelpSource/Classes/MIDIOut.schelp
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,21 @@ method::sysex
Sends a sysex command represented as an link::Classes/Int8Array:: to the device.

note::
On Windows, the function call must contain a full sysex message. In other words,
it must start with 0xF0 (240 or -16) and end with 0xF7 (247 or -9).
The method call should contain a full sysex message. In other words,
it should start with 0xF0 (240 or -16) and end with 0xF7 (247 or -9).
::

argument:: packet
An Int8Array of data bytes to be sent.

code::
m = MIDIOut(0);

m.sysex(Int8Array[0xF0, 1, 2, 3, 0xF7]); // OK!

m.sysex(Int8Array[1, 2, 3]); // not OK
::

private::send, prSysex

method::latency
Expand Down

0 comments on commit 351041e

Please sign in to comment.