共用方式為


MidiPolyphonicKeyPressureMessage 類別

定義

表示指定多語音按鍵壓力的 MIDI 訊息。

public ref class MidiPolyphonicKeyPressureMessage sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Midi.IMidiPolyphonicKeyPressureMessageFactory, 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 MidiPolyphonicKeyPressureMessage 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.IMidiPolyphonicKeyPressureMessageFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class MidiPolyphonicKeyPressureMessage final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Midi.IMidiPolyphonicKeyPressureMessageFactory), 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 MidiPolyphonicKeyPressureMessage
[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.IMidiPolyphonicKeyPressureMessageFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MidiPolyphonicKeyPressureMessage
function MidiPolyphonicKeyPressureMessage(channel, note, pressure)
Public NotInheritable Class MidiPolyphonicKeyPressureMessage
繼承
Object Platform::Object IInspectable MidiPolyphonicKeyPressureMessage
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

建構函式

MidiPolyphonicKeyPressureMessage(Byte, Byte, Byte)

建立新的 MidiPolyphonicKeyPressureMessage 物件。

屬性

Channel

從 0-15 取得套用此訊息的通道。

Note

取得指定為 0-127 的值的附注。

Pressure

取得指定為 0-127 值的多語音按鍵壓力。

RawData

取得與 MIDI 訊息相關聯的位元組陣列,包括狀態位元組。

Timestamp

取得 從 MidiInPort 建立到收到訊息的時間的持續時間。 對於傳送至 MidiOutPort的訊息,此值沒有意義。

Type

取得這個 MIDI 訊息的類型。

適用於

另請參閱