BASS.NET API for the Un4seen BASS Audio LibraryMidiSysExMessageMessage Property BASS.NET API for the Un4seen BASS Audio Library
Gets the raw data buffer bytes representing the system-exclusive message.

Namespace: radio42.Multimedia.Midi
Assembly: Bass.Net (in Bass.Net.dll) Version:

public byte[] Message { get; }

Property Value

Type: Byte

Once you called the Prepare method the Message data buffer will be prepared and sealed. It can therefore not be changed afterwards. Use the MessageAsIntPtr property to retrieve a prepared pointer to the MIDI_HEADER structure ready to be used with a Midi device.

You might use the IsPrepared property to check, if the Message data buffer is already prepared.

Use the Validate method to check, if the data buffer contains a valid system-exclusive message.

To create a new system-exclusive message use the CreateBuffer(Int32) method to initialize the data buffer and then call the MessageWrite(Int32, Byte) methods to write the actual data to the message data buffer.

To unpack and read a system-exclusive message use the MessageRead8(Int32), MessageRead16(Int32), MessageRead24(Int32) etc. methods to retrieve data from the message data buffer (e.g. as received from an input device).

See Also