BASS.NET API for the Un4seen BASS Audio LibraryMidiSysExMessageMMCCommand Property BASS.NET API for the Un4seen BASS Audio Library
Gets the MMC Device ID (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 MMCCommand { get; }

Property Value

Type: Byte
Remarks

If dealing with a MIDI Machine Control (MMC) protocol the third byte after the IsUniversalRealtime byte will contain the MMC command byte.

It is typically one of the following values:

0x01Stop
0x02Play
0x03Deferred Play
0x04Fast Forward
0x05Rewind
0x06Record Strobe (Punch In)
0x07Record Exit (Punch Out)
0x09Pause

There are many other MMC commands existing...however you might use the MessageRead8(Int32), MessageRead16(Int32), MessageRead24(Int32) etc. methods to read any data from the Message data buffer.

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

See Also

Reference