MidiControlChangeMessage Klasse

Definition

Stellt eine MIDI-Nachricht dar, die eine Steuerelementänderung angibt.

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

MidiControlChangeMessage(Byte, Byte, Byte)

Erstellt ein neues MidiControlChangeMessage-Objekt .

Eigenschaften

Channel

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

Controller

Ruft den Controller von 0 bis 127 ab, um diese Nachricht zu empfangen.

ControlValue

Ruft den Wert von 0 bis 127 ab, der auf den Controller angewendet werden soll.

RawData

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

Timestamp

Ruft die Dauer von der Erstellung des MidiInPort bis zum Zeitpunkt des Empfangens der Nachricht ab. 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