MidiPolyphonicKeyPressureMessage(Byte, Byte, Byte) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建新的 MidiPolyphonicKeyPressureMessage 对象。
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)
参数
- channel
-
Byte
byte
此消息适用的从 0 到 15 的通道。
- note
-
Byte
byte
指定为值 0-127 的注释。
- pressure
-
Byte
byte
指定为 0-127 的值的复调键压力。
注解
如果传入构造函数的任何值不符合指定的要求,则将引发 ArgumentException。