BASS.NET API for the Un4seen BASS Audio LibraryMidiSysExMessageUniversalChannel Property BASS.NET API for the Un4seen BASS Audio Library
Gets the Universal SysEx Channel number (or 255 on error or not present).

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

public byte UniversalChannel { get; }

Property Value

Type: Byte
Remarks

If dealing with a Universal SysEx message the byte after the Manufacturer byte will typically contain a SysEx Channel number.

This could be from 0 to 127 for a total of 128 SysEx channels. So, although "normal" SysEx messages have no MIDI channel like Voice Category messages do, a Universal SysEx message can be sent on one of 128 SysEx channels. This allows the musician to set various devices to ignore certain Universal SysEx messages (ie, if the device allows the musician to set its Base SysEx Channel. Most devices just set their Base Sysex channel to the same number as the Base Channel for Voice Category messages). On the other hand, a SysEx channel of 127 is actually meant to tell the device to "disregard the channel and pay attention to this message regardless".

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 second data byte after the initial StatusType.

See Also

Reference