MidiSongSelectMessage
MidiSongSelectMessage
MidiSongSelectMessage
MidiSongSelectMessage
Class
Definition
Represents a MIDI message that specifies the selected song.
public : sealed class MidiSongSelectMessage : IMidiMessage, IMidiSongSelectMessagepublic sealed class MidiSongSelectMessage : IMidiMessage, IMidiSongSelectMessagePublic NotInheritable Class MidiSongSelectMessage Implements IMidiMessage, IMidiSongSelectMessage// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Constructors
MidiSongSelectMessage(Byte) MidiSongSelectMessage(Byte) MidiSongSelectMessage(Byte) MidiSongSelectMessage(Byte)
Creates a new MidiSongSelectMessage object.
public : MidiSongSelectMessage(Byte song)public MidiSongSelectMessage(Byte song)Public Sub New(song As Byte)// You can use this method in JavaScript.
- song
- Byte Byte Byte Byte
The song to select from 0-127.
Remarks
If any values passed into the constructor do not adhere to the specified requirements, an invalid argument exception will be thrown.
Properties
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.
Remarks
This property is immutable after initialization.
Song Song Song Song
Gets the song to select from 0-127.
public : byte Song { get; }public byte Song { get; }Public ReadOnly Property Song As byte// You can use this property in JavaScript.
- Value
- byte byte byte byte
The song to select from 0-127.
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.