BASS.NET API for the Un4seen BASS Audio Library

MidiShortMessageData Property

BASS.NET API for the Un4seen BASS Audio Library
Gets or Sets the combined Data1, Data2 and possibly Data3 values as an integer.

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

public int Data { get; set; }

Property Value

Type: Int32
Remarks

The full data value ranges from 0 to 16383 (128*128 values, default) resp. from 0 to 2097151 (128*128*128 values, in case of StatusType is None).

The Data1 byte will contain the LSB value (single steps), the Data2 byte the MSB1 value (128th steps) and the Data3 byte the MSB2 value (16384th steps) all ranging from 0 to 127.

Only in case that the StatusType is None the Data3 byte will be used, since for all recognized StatusTypes the Data3 byte will not be used and set to 0 (zero).

See Also

Reference