BASS.NET API for the Un4seen BASS Audio Library

MidiShortMessageVelocity Property

BASS.NET API for the Un4seen BASS Audio Library
Gets or Sets the velocity (key pressure speed) from/to the Data2 byte.

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

public byte Velocity { get; set; }

Property Value

Type: Byte
Remarks

The velocity ranges from 0 to 127.

This property should only be used when StatusType is NoteOn or NoteOff.

See Also

Reference