The MidiSysExMessage type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
MidiSysExMessage(Boolean, IntPtr) |
Creates a new and empty instance of the MidiSysExMessage.
| |
MidiSysExMessage(Boolean, IntPtr, IntPtr) |
Creates a new instance of the MidiSysExMessage from a pointer to a MIDI_HEADER.
| |
MidiSysExMessage(Boolean, IntPtr, IntPtr, MidiSysExMessage) |
Creates a new instance of the MidiSysExMessage from a pointer to a MIDI_HEADER and also evaluates a previous system-exclusive message.
|
Methods
Name | Description | |
---|---|---|
CreateBuffer( Byte ) |
Creates a Message data buffer with the given data buffer.
| |
CreateBuffer(Int32) |
Creates an empty Message data buffer of the given size (between 2 and 65536).
| |
MessageRead |
Reads an 8-bit value from the Message data buffer (full).
| |
MessageRead16 |
Reads a 14-bit value (2 bytes) from the Message data buffer (right-justified).
| |
MessageRead16Wave |
Reads a 16-bit waveform value (3 bytes) from the Message data buffer (left-justified).
| |
MessageRead24 |
Reads a 21-bit value (3 bytes) from the Message data buffer (right-justified).
| |
MessageRead24Wave |
Reads a 24-bit waveform value (4 bytes) from the Message data buffer (left-justified).
| |
MessageRead32 |
Reads a 28-bit value (4 bytes) from the Message data buffer (right-justified).
| |
MessageRead8 |
Reads a 7-bit value from the Message data buffer (right-justified).
| |
MessageRead8Wave |
Reads an 8-bit waveform value (2 bytes) from the Message data buffer (left-justified).
| |
MessageWrite |
Writes an 8-bit value to the Message data buffer (full).
| |
MessageWrite16 |
Writes a 14-bit value (2 bytes) to the Message data buffer (right-justified).
| |
MessageWrite16Wave(Int32 , Int16) |
Writes a 16-bit waveform value (3 bytes) to the Message data buffer (left-justified).
| |
MessageWrite16Wave(Int32 , Int32) |
Writes a 24-bit waveform value (4 bytes) to the Message data buffer (left-justified).
| |
MessageWrite24 |
Writes a 21-bit value (3 bytes) to the Message data buffer (right-justified).
| |
MessageWrite32 |
Writes a 28-bit value (4 bytes) to the Message data buffer (right-justified).
| |
MessageWrite8 |
Writes a 7-bit value to the Message data buffer (right-justified).
| |
MessageWrite8Wave |
Writes an 8-bit waveform value (2 bytes) to the Message data buffer (left-justified).
| |
MessageWriteEoX | ||
MessageWriteSoX |
Writes the SystemMsgs byte (0xF0) to the first byte of the Message data buffer.
| |
Prepare |
Prepares the MessageAsIntPtr out of the Message data buffer ready to be used with a device.
| |
Prepare(IntPtr) |
Prepares the MessageAsIntPtr out of the Message data buffer ready to be used with a device.
| |
Send |
Sends this system-exclusive message to the given Device.
| |
ToString |
Returns the Message data buffer as a string.
(Overrides Object ToString .) | |
Validate |
Validates the given Message data buffer to ensure it contains a valid system-exclusive message.
|
Properties
Name | Description | |
---|---|---|
Device |
Gets the handle to the MIDI device.
| |
ID |
Gets a unique overall short message ID.
| |
IsDone | , if the data in the buffer is complete and contains all data (else ).
| |
IsInput |
Dealing with a Midi input device? ( =input, =output).
| |
IsPrepared | ||
IsUniversalNonRealtime | ||
IsUniversalRealtime | ||
Manufacturer |
Gets the manufacturer ID from a system-exclusive message (or -32768 if not applicable or no Message data buffer is present).
| |
Message |
Gets the raw data buffer bytes representing the system-exclusive message.
| |
MessageAsIntPtr |
Gets the prepared pointer to the MIDI_HEADER structure ready to be used with a Midi device.
| |
MessageLength |
Gets the length of the system exclusive Message data buffer.
| |
MessageType |
Gets the Midi message type (one of the MIDIMessageType values).
| |
MMCCommand |
Gets the MMC Device ID (or 255 on error or not present).
| |
MMCDeviceID |
Gets the MMC Device ID (or 255 on error or not present).
| |
StatusType |
Gets the Midi status type (one of the MIDIStatus values) from the first byte of the Message data buffer.
| |
UniversalChannel |
Gets the Universal SysEx Channel number (or 255 on error or not present).
| |
UniversalSubID |
Gets the Universal SysEx Sub ID (or 255 on error or not present).
| |
UniversalSubID2 |
Gets the Universal SysEx Sub ID (or 255 on error or not present).
| |
User |
Gets the user instance data as passed with the Prepare method.
|
See Also