MidiPolyphonicKeyPressureMessage.MidiPolyphonicKeyPressureMessage constructor

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

Creates a new MidiPolyphonicKeyPressureMessage 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 midiPolyphonicKeyPressureMessage = new WindowsPreview.Devices.Midi.MidiPolyphonicKeyPressureMessage(channel, note, pressure);

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.

pressure

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

The polyphonic key pressure which is specified as a value from 0-127.

Remarks

If any of the values passed in to the constructor do not adhere to the specified requirements, an ArgumentException will be thrown.

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

MidiPolyphonicKeyPressureMessage

 

 

Show: