BASS.NET API for the Un4seen BASS Audio Library

MidiSysExMessageUniversalSubID Property

BASS.NET API for the Un4seen BASS Audio Library
Gets the Universal SysEx Sub ID (or 255 on error or not present).

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

public byte UniversalSubID { get; }

Property Value

Type: Byte
Remarks

If dealing with a Universal SysEx message, the next two bytes are Sub IDs which tell what the SysEx is for. There are several Sub IDs defined for particular messages. There is a Sub ID for a Universal SysEx message to set a device's master volume. (This is different than Volume controller which sets the volume for only one particular MIDI channel). There is a Sub ID for a Universal SysEx message to set a device's Pitch Wheel bend range. There are a couple of Sub IDs for some Universal SysEx messages to implement a waveform (sample) dump over MIDI etc.

Note: If not dealing with a universal SysEx 255 will be returned. This member might anyhow return a valid value, since this property simply evaluates the third data byte after the initial StatusType.

See Also

Reference