MidiPolyphonicKeyPressureMessage(Byte, Byte, Byte) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new MidiPolyphonicKeyPressureMessage object.
public:
MidiPolyphonicKeyPressureMessage(byte channel, byte note, byte pressure);
MidiPolyphonicKeyPressureMessage(byte const& channel, byte const& note, byte const& pressure);
public MidiPolyphonicKeyPressureMessage(byte channel, byte note, byte pressure);
function MidiPolyphonicKeyPressureMessage(channel, note, pressure)
Public Sub New (channel As Byte, note As Byte, pressure As Byte)
Parameters
- channel
-
Byte
byte
The channel from 0-15 that this message applies to.
- note
-
Byte
byte
The note which is specified as a value from 0-127.
- pressure
-
Byte
byte
The polyphonic key pressure which is specified as a value from 0-127.
Remarks
If any of the values passed in to the constructor do not adhere to the specified requirements, an ArgumentException will be thrown.