BASS.NET API for the Un4seen BASS Audio Library

MidiSysExMessageValidate Method

BASS.NET API for the Un4seen BASS Audio Library
Validates the given Message data buffer to ensure it contains a valid system-exclusive message.

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

public bool Validate()

Return Value

Type: Boolean
, if the Message data buffer contains a valid system-exclusive message, else .
Remarks

The following check is performed:

The first byte must be 0xF0 and the last byte in the buffer must be 0xF7.

The data bytes in between must all having bit #7 clear, i.e. a 0 to 127 value.

If you received a message and the IsDone property is set to it is very likely, that the message is not valid.

See Also

Reference