BASS.NET API for the Un4seen BASS Audio LibraryMidiSysExMessage MembersBASS.NET API for the Un4seen BASS Audio Library

The MidiSysExMessage type exposes the following members.
Constructors

  NameDescription
Public methodMidiSysExMessage(Boolean, IntPtr)
Creates a new and empty instance of the MidiSysExMessage.
Public methodMidiSysExMessage(Boolean, IntPtr, IntPtr)
Creates a new instance of the MidiSysExMessage from a pointer to a MIDI_HEADER.
Public methodMidiSysExMessage(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.
Back to Top
Methods

  NameDescription
Public methodCreateBuffer( Byte )
Creates a Message data buffer with the given data buffer.
Public methodCreateBuffer(Int32)
Creates an empty Message data buffer of the given size (between 2 and 65536).
Public methodMessageRead
Reads an 8-bit value from the Message data buffer (full).
Public methodMessageRead16
Reads a 14-bit value (2 bytes) from the Message data buffer (right-justified).
Public methodMessageRead16Wave
Reads a 16-bit waveform value (3 bytes) from the Message data buffer (left-justified).
Public methodMessageRead24
Reads a 21-bit value (3 bytes) from the Message data buffer (right-justified).
Public methodMessageRead24Wave
Reads a 24-bit waveform value (4 bytes) from the Message data buffer (left-justified).
Public methodMessageRead32
Reads a 28-bit value (4 bytes) from the Message data buffer (right-justified).
Public methodMessageRead8
Reads a 7-bit value from the Message data buffer (right-justified).
Public methodMessageRead8Wave
Reads an 8-bit waveform value (2 bytes) from the Message data buffer (left-justified).
Public methodMessageWrite
Writes an 8-bit value to the Message data buffer (full).
Public methodMessageWrite16
Writes a 14-bit value (2 bytes) to the Message data buffer (right-justified).
Public methodMessageWrite16Wave(Int32 , Int16)
Writes a 16-bit waveform value (3 bytes) to the Message data buffer (left-justified).
Public methodMessageWrite16Wave(Int32 , Int32)
Writes a 24-bit waveform value (4 bytes) to the Message data buffer (left-justified).
Public methodMessageWrite24
Writes a 21-bit value (3 bytes) to the Message data buffer (right-justified).
Public methodMessageWrite32
Writes a 28-bit value (4 bytes) to the Message data buffer (right-justified).
Public methodMessageWrite8
Writes a 7-bit value to the Message data buffer (right-justified).
Public methodMessageWrite8Wave
Writes an 8-bit waveform value (2 bytes) to the Message data buffer (left-justified).
Public methodMessageWriteEoX
Writes the EOX byte (0xF7) to the last byte of the Message data buffer.
Public methodMessageWriteSoX
Writes the SystemMsgs byte (0xF0) to the first byte of the Message data buffer.
Public methodPrepare 
Prepares the MessageAsIntPtr out of the Message data buffer ready to be used with a device.
Public methodPrepare(IntPtr)
Prepares the MessageAsIntPtr out of the Message data buffer ready to be used with a device.
Public methodSend
Sends this system-exclusive message to the given Device.
Public methodToString
Returns the Message data buffer as a string.
(Overrides OnlineObject ToString .)
Public methodValidate
Validates the given Message data buffer to ensure it contains a valid system-exclusive message.
Back to Top
Properties

  NameDescription
Public propertyDevice
Gets the handle to the MIDI device.
Public propertyID
Gets a unique overall short message ID.
Public propertyIsDone
 , if the data in the buffer is complete and contains all data (else  ).
Public propertyIsInput
Dealing with a Midi input device? ( =input,  =output).
Public propertyIsPrepared
Returns  , if the Message data buffer is prepared and can not be changed anymore (else  ).
Public propertyIsUniversalNonRealtime
 , if the system-exclusive message contains a Manufacturer ID of NonRealTime.
Public propertyIsUniversalRealtime
 , if the system-exclusive message contains a Manufacturer ID of RealTime.
Public propertyManufacturer
Gets the manufacturer ID from a system-exclusive message (or -32768 if not applicable or no Message data buffer is present).
Public propertyMessage
Gets the raw data buffer bytes representing the system-exclusive message.
Public propertyMessageAsIntPtr
Gets the prepared pointer to the MIDI_HEADER structure ready to be used with a Midi device.
Public propertyMessageLength
Gets the length of the system exclusive Message data buffer.
Public propertyMessageType
Gets the Midi message type (one of the MIDIMessageType values).
Public propertyMMCCommand
Gets the MMC Device ID (or 255 on error or not present).
Public propertyMMCDeviceID
Gets the MMC Device ID (or 255 on error or not present).
Public propertyStatusType
Gets the Midi status type (one of the MIDIStatus values) from the first byte of the Message data buffer.
Public propertyUniversalChannel
Gets the Universal SysEx Channel number (or 255 on error or not present).
Public propertyUniversalSubID
Gets the Universal SysEx Sub ID (or 255 on error or not present).
Public propertyUniversalSubID2
Gets the Universal SysEx Sub ID (or 255 on error or not present).
Public propertyUser
Gets the user instance data as passed with the Prepare  method.
Back to Top
See Also