BASS.NET API for the Un4seen BASS Audio Library

MidiShortMessageStatusType Property

BASS.NET API for the Un4seen BASS Audio Library
Gets or Sets the Midi status type (one of the MIDIStatus values) from/to the Status byte.

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

public MIDIStatus StatusType { get; set; }

Property Value

Type: MIDIStatus
Remarks

The status type is kept in the 4 upper bits of the Status byte and is also often called the type of the message (e.g. NoteOn, NoteOff, Aftertouch, ControlChange etc.).

If no usefull status type could be evaluated None will be returned (which might not reflect the actual status byte value, e.g. if the Status has a value of 0xFD there will be no useful status type associated).

When assigning a status type the following will apply: If the new value is 0xF0 or above, the full Status byte will be set with the new value, else only the 4 upper bits will be set with the new value.

See Also

Reference