Class SongSelectEvent
Represents Song Select event.
Inherited Members
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class SongSelectEvent : SystemCommonEvent
Remarks
A MIDI event that carries the MIDI song request message (also known as a "song select message")
tells a MIDI device to select a sequence for playback.
Constructors
SongSelectEvent()
Initializes a new instance of the SongSelectEvent.
Declaration
public SongSelectEvent()
SongSelectEvent(SevenBitNumber)
Initializes a new instance of the SongSelectEvent with the specified
song number.
Declaration
public SongSelectEvent(SevenBitNumber number)
Parameters
Type | Name | Description |
---|---|---|
SevenBitNumber | number | Number of the song to be chosen. |
Properties
Number
Gets or sets number of the song to be chosen.
Declaration
public SevenBitNumber Number { get; set; }
Property Value
Type | Description |
---|---|
SevenBitNumber |
Methods
CloneEvent()
Clones event by creating a copy of it.
Declaration
protected override MidiEvent CloneEvent()
Returns
Type | Description |
---|---|
MidiEvent | Copy of the event. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |