MidiPitchBendChangeMessage
MidiPitchBendChangeMessage
MidiPitchBendChangeMessage
MidiPitchBendChangeMessage
Class
Definition
Represents a MIDI message that specifies a pitch bend change.
public : sealed class MidiPitchBendChangeMessage : IMidiMessage, IMidiPitchBendChangeMessagepublic sealed class MidiPitchBendChangeMessage : IMidiMessage, IMidiPitchBendChangeMessagePublic NotInheritable Class MidiPitchBendChangeMessage Implements IMidiMessage, IMidiPitchBendChangeMessage// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Constructors
MidiPitchBendChangeMessage(Byte, UInt16) MidiPitchBendChangeMessage(Byte, UInt16) MidiPitchBendChangeMessage(Byte, UInt16) MidiPitchBendChangeMessage(Byte, UInt16)
Creates a new MidiPitchBendChangeMessage object.
public : MidiPitchBendChangeMessage(Byte channel, unsigned short bend)public MidiPitchBendChangeMessage(Byte channel, UInt16 bend)Public Sub New(channel As Byte, bend As UInt16)// You can use this method in JavaScript.
- channel
- Byte Byte Byte Byte
The channel from 0-15 that this message applies to.
- bend
- unsigned short UInt16 UInt16 UInt16
The pitch bend value which is specified as a 14-bit value from 0-16383.
Properties
Bend Bend Bend Bend
Gets the pitch bend value which is specified as a 14-bit value from 0-16383.
public : ushort Bend { get; }public ushort Bend { get; }Public ReadOnly Property Bend As ushort// You can use this property in JavaScript.
- Value
- ushort ushort ushort ushort
The pitch bend value which is specified as a 14-bit value from 0-16383.
Channel Channel Channel Channel
Gets the channel from 0-15 that this message applies to.
public : byte Channel { get; }public byte Channel { get; }Public ReadOnly Property Channel As byte// You can use this property in JavaScript.
- Value
- byte byte byte byte
The channel from 0-15 that this message applies to.
RawData RawData RawData RawData
Gets the array of bytes associated with the MIDI message, including status byte.
public : IBuffer RawData { get; }public IBuffer RawData { get; }Public ReadOnly Property RawData As IBuffer// You can use this property in JavaScript.
Remarks
This property is immutable after initialization.
Timestamp Timestamp Timestamp Timestamp
Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort, this value has no meaning.
public : TimeSpan Timestamp { get; }public TimeSpan Timestamp { get; }Public ReadOnly Property Timestamp As TimeSpan// You can use this property in JavaScript.
- Value
- TimeSpan TimeSpan TimeSpan TimeSpan
The duration from when the MidiInPort was created to the time the message was received.
Remarks
For messages being sent to a MidiOutPort, this value has no meaning.