Class SequenceTrackNameEvent
Represents a Sequence/Track Name meta event.
Inherited Members
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class SequenceTrackNameEvent : BaseTextEvent
Remarks
The MIDI track name meta message defines either the name of a MIDI sequence
(when in MIDI type 0 or MIDI type 2 files, or when in the first track of a MIDI type 1 file),
or the name of a MIDI track (when in other tracks of a MIDI type 1 file).
Constructors
SequenceTrackNameEvent()
Initializes a new instance of the SequenceTrackNameEvent.
Declaration
public SequenceTrackNameEvent()
SequenceTrackNameEvent(string)
Initializes a new instance of the SequenceTrackNameEvent with the
specified sequence or track name.
Declaration
public SequenceTrackNameEvent(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of a sequence or track. |
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. |