MidiTimeCodeMessage MidiTimeCodeMessage MidiTimeCodeMessage MidiTimeCodeMessage Class

Definition

Represents a MIDI message that specifies a time code.

public : sealed class MidiTimeCodeMessage : IMidiMessage, IMidiTimeCodeMessagepublic sealed class MidiTimeCodeMessage : IMidiMessage, IMidiTimeCodeMessagePublic NotInheritable Class MidiTimeCodeMessage Implements IMidiMessage, IMidiTimeCodeMessage// 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

MidiTimeCodeMessage(Byte, Byte) MidiTimeCodeMessage(Byte, Byte) MidiTimeCodeMessage(Byte, Byte) MidiTimeCodeMessage(Byte, Byte)

Creates a new MidiTimeCodeMessage object.

public : MidiTimeCodeMessage(Byte frameType, Byte values)public MidiTimeCodeMessage(Byte frameType, Byte values)Public Sub New(frameType As Byte, values As Byte)// You can use this method in JavaScript.
Parameters
frameType
Byte Byte Byte Byte

The frame type from 0-7.

values
Byte Byte Byte Byte

The time code from 0-32.

Remarks

If any values passed into the constructor fo not adhere to the specified requirements, an invalid argument exception will be thrown.

Properties

FrameType FrameType FrameType FrameType

Gets the value of the frame type from 0-7.

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

The value of the frame type from 0-7.

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.

Values Values Values Values

Gets the time code value from 0-32.

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

The time code value from 0-32.

See Also