Documentation ¶
Overview ¶
Package sysex provides MIDI System Exclusive Messages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Continue ¶
type Continue []byte
Continue is an incomplete sysex that is following Start or SysExContinue but not ending it. It starts with an 0xF7 but does not end with a 0xF7 when used within a SMF file, the first byte (0xF7) must be followed by a length when used live, no messages apart from realtime messages may be send before the rest of the sysex was send
type End ¶
type End []byte
End is an incomplete sysex that is continuing Start or Continue and ending it. It starts with an 0xF7 and ends with a 0xF7 when used within a SMF file, the first byte (0xF7) must be followed by a length (including the last F7 but excluding the first) when used live, no messages apart from realtime messages may be send in between the preceding Start or Continue and this one
type Escape ¶
type Escape []byte
Escape is a sysex escape sequence with a prefixed 0xF7 it may only used within SMF files (not for live MIDI)
type Message ¶
type Message interface { String() string Raw() []byte Len() int Data() []byte // contains filtered or unexported methods }
Message is a System Exclusive Message
type Start ¶
type Start []byte
Start is an incomplete sysex that is the start of several sysexes (casio style) i.e. beginning with 0xF0 but no 0xF7 at the end when used within a SMF file, the first byte (0xF0) must be followed by a length when used live, no messages apart from realtime messages may be send before the rest of the sysex was send
type SysEx ¶
type SysEx []byte
SysEx is a sysex that is complete (i.e. starting with 0xF0 and ending with 0xF7 it may be used within SMF files and with live MIDI. However when used within a SMF file, the first byte (0xF0) must be followed by a length before the rest comes (including the 0xF7)