MidiChannelPressureMessage Klasse

Definition

Stellt eine MIDI-Nachricht dar, die den Kanaldruck angibt.

public ref class MidiChannelPressureMessage sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Midi.IMidiChannelPressureMessageFactory, 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 MidiChannelPressureMessage 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.IMidiChannelPressureMessageFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class MidiChannelPressureMessage final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Midi.IMidiChannelPressureMessageFactory), 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 MidiChannelPressureMessage
[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.IMidiChannelPressureMessageFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MidiChannelPressureMessage
function MidiChannelPressureMessage(channel, pressure)
Public NotInheritable Class MidiChannelPressureMessage
Vererbung
Object Platform::Object IInspectable MidiChannelPressureMessage
Attribute
Implementiert

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Konstruktoren

MidiChannelPressureMessage(Byte, Byte)

Erstellt ein neues MidiChannelPressureMessage-Objekt .

Eigenschaften

Channel

Ruft den Kanal von 0 bis 15 ab, für den diese Nachricht gilt.

Pressure

Ruft den Druck von 0 bis 127 ab.

RawData

Ruft das Array von Bytes ab, das der MIDI-Nachricht zugeordnet ist, einschließlich status Byte.

Timestamp

Ruft die Dauer ab, in der midiInPort erstellt wurde, bis zum Zeitpunkt, zu dem die Nachricht empfangen wurde. Für Nachrichten, die an einen MidiOutPort gesendet werden, hat dieser Wert keine Bedeutung.

Type

Ruft den Typ dieser MIDI-Nachricht ab.

Gilt für:

Weitere Informationen