MidiControlChangeMessage class

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

Represents a MIDI message that specifies a control change.

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 midiControlChangeMessage = new WindowsPreview.Devices.Midi.MidiControlChangeMessage(channel, controller, controlValue);

Attributes

[MarshalingBehavior(Agile)]
[Threading(MTA)]
[Version(0x06030000)]

Members

The MidiControlChangeMessage class has these types of members:

Constructors

The MidiControlChangeMessage class has these constructors.

ConstructorDescription
MidiControlChangeMessage Creates a new MidiControlChangeMessage object.

 

Methods

The MidiControlChangeMessage class inherits methods from the Object class (C#/VB/C++).

Properties

The MidiControlChangeMessage class has these properties.

PropertyAccess typeDescription

Channel

Read-onlyGets the channel from 0-15 that this message applies to.

Controller

Read-onlyGets controller from 0-127 to receive this message.

ControlValue

Read-onlyGets the value from 0-127 to apply to the controller.

RawData

Read-onlyGets the array of bytes associated with the MIDI message, including status byte.

Timestamp

Read-onlyGets 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.

Type

Read-onlyGets the type of this MIDI message.

 

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

See also

Object
IMidiMessage
MIDI Windows Runtime sample

 

 

Show: