MidiPitchBendChangeMessage 类

定义

表示指定俯仰弯更改的 MIDI 消息。

public ref class MidiPitchBendChangeMessage sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Midi.IMidiPitchBendChangeMessageFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MidiPitchBendChangeMessage final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Midi.IMidiPitchBendChangeMessageFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class MidiPitchBendChangeMessage final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Midi.IMidiPitchBendChangeMessageFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MidiPitchBendChangeMessage
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Midi.IMidiPitchBendChangeMessageFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MidiPitchBendChangeMessage
function MidiPitchBendChangeMessage(channel, bend)
Public NotInheritable Class MidiPitchBendChangeMessage
继承
Object Platform::Object IInspectable MidiPitchBendChangeMessage
属性
实现

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

构造函数

MidiPitchBendChangeMessage(Byte, UInt16)

创建新的 MidiPitchBendChangeMessage 对象。

属性

Bend

获取指定为 0-16383 的 14 位值的俯仰弯度值。

Channel

从 0-15 获取此消息适用的通道。

RawData

获取与 MIDI 消息关联的字节数组,包括状态字节。

Timestamp

获取从创建 MidiInPort 到收到消息的时间的持续时间。 对于发送到 MidiOutPort 的消息,此值没有意义。

Type

获取此 MIDI 消息的类型。

适用于

另请参阅