Share via


MidiPitchBendChangeMessage Classe

Définition

Représente un message MIDI qui spécifie un changement de courbe de tangage.

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
Héritage
Object Platform::Object IInspectable MidiPitchBendChangeMessage
Attributs
Implémente

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)

Constructeurs

MidiPitchBendChangeMessage(Byte, UInt16)

Crée un objet MidiPitchBendChangeMessage .

Propriétés

Bend

Obtient la valeur pitch bend qui est spécifiée sous la forme d’une valeur 14 bits comprise entre 0 et 16383.

Channel

Obtient le canal de 0 à 15 auquel ce message s’applique.

RawData

Obtient le tableau d’octets associés au message MIDI, y compris status’octet.

Timestamp

Obtient la durée comprise entre le moment où midiInPort a été créé et le moment où le message a été reçu. Pour les messages envoyés à un MidiOutPort, cette valeur n’a aucune signification.

Type

Obtient le type de ce message MIDI.

S’applique à

Voir aussi