MidiNoteOffMessage
MidiNoteOffMessage
MidiNoteOffMessage
MidiNoteOffMessage
Class
Definition
Represents a MIDI messages that specifies a MIDI note to turn off.
public : sealed class MidiNoteOffMessage : IMidiMessage, IMidiNoteOffMessagepublic sealed class MidiNoteOffMessage : IMidiMessage, IMidiNoteOffMessagePublic NotInheritable Class MidiNoteOffMessage Implements IMidiMessage, IMidiNoteOffMessage// 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
MidiNoteOffMessage(Byte, Byte, Byte) MidiNoteOffMessage(Byte, Byte, Byte) MidiNoteOffMessage(Byte, Byte, Byte) MidiNoteOffMessage(Byte, Byte, Byte)
Creates a new MidiNoteOffMessage object.
public : MidiNoteOffMessage(Byte channel, Byte note, Byte velocity)public MidiNoteOffMessage(Byte channel, Byte note, Byte velocity)Public Sub New(channel As Byte, note As Byte, velocity As Byte)// You can use this method in JavaScript.
- channel
- Byte Byte Byte Byte
The channel from 0-15 that this message applies to.
- note
- Byte Byte Byte Byte
The note which is specified as a value from 0-127.
- velocity
- Byte Byte Byte Byte
The velocity which is specified as a value from 0-127.
Properties
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.
Note Note Note Note
Gets the note to turn off which is specified as a value from 0-127.
public : byte Note { get; }public byte Note { get; }Public ReadOnly Property Note As byte// You can use this property in JavaScript.
- Value
- byte byte byte byte
The note which is specified as a value from 0-127.
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.
Type Type Type Type
Gets the type of this MIDI message.
public : MidiMessageType Type { get; }public MidiMessageType Type { get; }Public ReadOnly Property Type As MidiMessageType// You can use this property in JavaScript.
The MIDI message type.
Velocity Velocity Velocity Velocity
Gets the value of the velocity from 0-127.
public : byte Velocity { get; }public byte Velocity { get; }Public ReadOnly Property Velocity As byte// You can use this property in JavaScript.
- Value
- byte byte byte byte
The velocity which is specified as a value from 0-127.