MidiNoteOffMessage class
[This documentation is preliminary and is subject to change.]
Represents a MIDI messages that specifies a MIDI note to turn off.
Important
The WindowsPreview.Devices.Midi API are preview API and are not included in the Windows Software Development Kit (SDK). The API are distributed as a NuGet package. See WindowsPreview.Devices.Midi for info on how to download and install the NuGet package in your project.
WindowsPreview.Devices.Midi API require Windows 8.1 Update and later.
Syntax
var midiNoteOffMessage = new WindowsPreview.Devices.Midi.MidiNoteOffMessage(channel, note, velocity);
public sealed class MidiNoteOffMessage : IMidiMessage
Public NotInheritable Class MidiNoteOffMessage
Implements IMidiMessage
public ref class MidiNoteOffMessage sealed : IMidiMessage
Attributes
[MarshalingBehavior(Agile)]
[Threading(MTA)]
[Version(0x06030000)]
Members
The MidiNoteOffMessage class has these types of members:
- Constructors
- Methods
- Properties
Constructors
The MidiNoteOffMessage class has these constructors.
Constructor | Description |
---|---|
MidiNoteOffMessage | Creates a new MidiNoteOffMessage object. |
Methods
The MidiNoteOffMessage class inherits methods from the Object class (C#/VB/C++).
Properties
The MidiNoteOffMessage class has these properties.
Property | Access type | Description |
---|---|---|
Read-only | Gets the channel from 0-15 that this message applies to. | |
Read-only | Gets the note to turn off which is specified as a value from 0-127. | |
Read-only | Gets the array of bytes associated with the MIDI message, including status byte. | |
Read-only | 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. | |
Read-only | Gets the type of this MIDI message. | |
Read-only | Gets the value of the velocity from 0-127. |
Requirements
Minimum supported client |
Windows 8.1 [Windows Store apps only] |
Minimum supported server |
Windows Server 2012 R2 [Windows Store apps only] |
Namespace |
WindowsPreview.Devices.Midi WindowsPreview::Devices::Midi [C++] |
Metadata |
WindowsPreview.winmd |