Class LyricEvent
Represents a Lyric meta event.
Inherited Members
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class LyricEvent : BaseTextEvent
Remarks
The MIDI lyrics meta message shows the lyrics of a song at a particular time in the MIDI sequence.
Constructors
LyricEvent()
Initializes a new instance of the LyricEvent.
Declaration
public LyricEvent()
LyricEvent(string)
Initializes a new instance of the LyricEvent with the
specified text of lyrics.
Declaration
public LyricEvent(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Text of the lyrics. |
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. |