Condividi tramite


MidiPitchBendChangeMessage Classe

Definizione

Rappresenta un messaggio MIDI che specifica una modifica della curva di passo.

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
Ereditarietà
Object Platform::Object IInspectable MidiPitchBendChangeMessage
Attributi
Implementazioni

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Costruttori

MidiPitchBendChangeMessage(Byte, UInt16)

Crea un nuovo oggetto MidiPitchBendChangeMessage .

Proprietà

Bend

Ottiene il valore di curva del passo specificato come valore a 14 bit da 0 a 16383.

Channel

Ottiene il canale da 0 a 15 a cui si applica questo messaggio.

RawData

Ottiene la matrice di byte associati al messaggio MIDI, incluso il byte di stato.

Timestamp

Ottiene la durata da quando il MidiInPort è stato creato al momento della ricezione del messaggio. Per i messaggi inviati a MidiOutPort, questo valore non ha alcun significato.

Type

Ottiene il tipo di questo messaggio MIDI.

Si applica a

Vedi anche