MidiControlChangeMessage MidiControlChangeMessage MidiControlChangeMessage MidiControlChangeMessage Class

Definition

Represents a MIDI message that specifies a control change.

public : sealed class MidiControlChangeMessage : IMidiControlChangeMessage, IMidiMessagepublic sealed class MidiControlChangeMessage : IMidiControlChangeMessage, IMidiMessagePublic NotInheritable Class MidiControlChangeMessage Implements IMidiControlChangeMessage, IMidiMessage// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

MidiControlChangeMessage(Byte, Byte, Byte) MidiControlChangeMessage(Byte, Byte, Byte) MidiControlChangeMessage(Byte, Byte, Byte) MidiControlChangeMessage(Byte, Byte, Byte)

Creates a new MidiControlChangeMessage object.

public : MidiControlChangeMessage(Byte channel, Byte controller, Byte controlValue)public MidiControlChangeMessage(Byte channel, Byte controller, Byte controlValue)Public Sub New(channel As Byte, controller As Byte, controlValue As Byte)// You can use this method in JavaScript.
Parameters
channel
Byte Byte Byte Byte

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

controller
Byte Byte Byte Byte

The controller from 0-127 to receive this message.

controlValue
Byte Byte Byte Byte

The value from 0-127 to apply to the controller.

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.

Controller Controller Controller Controller

Gets controller from 0-127 to receive this message.

public : byte Controller { get; }public byte Controller { get; }Public ReadOnly Property Controller As byte// You can use this property in JavaScript.
Value
byte byte byte byte

The controller from 0-127 to receive this message.

ControlValue ControlValue ControlValue ControlValue

Gets the value from 0-127 to apply to the controller.

public : byte ControlValue { get; }public byte ControlValue { get; }Public ReadOnly Property ControlValue As byte// You can use this property in JavaScript.
Value
byte byte byte byte

The value from 0-127 to apply to the controller.

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.
Value
IBuffer IBuffer IBuffer IBuffer

The array of bytes associated with the MIDI message.

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.

See Also