MidiNoteOffMessage.MidiNoteOffMessage constructor

[This documentation is preliminary and is subject to change.]

Creates a new MidiNoteOffMessage object.

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 MidiNoteOffMessage(
  byte channel, 
  byte note, 
  byte velocity
)
Public Sub New (
  channel As Byte,  
  note As Byte,  
  velocity As Byte 
)
public:
MidiNoteOffMessage(
  unsigned char channel, 
  unsigned char note, 
  unsigned char velocity
)

Parameters

  • channel
    Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

    The channel from 0-15 that this message applies to.

  • note
    Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

    The note which is specified as a value from 0-127.

  • velocity
    Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

    The velocity which is specified as a value from 0-127.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Namespace

WindowsPreview.Devices.Midi WindowsPreview::Devices::Midi [C++]

Metadata

WindowsPreview.winmd

See also

MidiNoteOffMessage