Class Phrase
- Namespace
- ChartTools.Lyrics
- Assembly
- ChartTools.dll
Grouping of a PhraseMarker and set of VocalsNote for assembling lyric text.
public class Phrase : ILongTrackObject, ITrackObject, IReadOnlyTrackObject, ILongObject, IReadOnlyLongObject
- Inheritance
-
Phrase
- Implements
- Inherited Members
- Extension Methods
Constructors
Phrase(PhraseMarker, IReadOnlyList<VocalsNote>?)
Grouping of a PhraseMarker and set of VocalsNote for assembling lyric text.
public Phrase(PhraseMarker marker, IReadOnlyList<VocalsNote>? notes = null)
Parameters
marker
PhraseMarkernotes
IReadOnlyList<VocalsNote>
Properties
DisplayedText
public string DisplayedText { get; }
Property Value
Length
Manual length of the phrase defining a phrase end marker where applicable.
public uint Length { get; set; }
Property Value
Remarks
A value of 0 defines the length to be up to the next phrase.
Notes
public IReadOnlyList<VocalsNote> Notes { get; }
Property Value
PhraseMarker
public PhraseMarker PhraseMarker { get; }
Property Value
Position
Tick number on the track.
public uint Position { get; set; }
Property Value
Remarks
A tick represents a subdivision of a beat. The number of subdivisions per beat is stored in Resolution.
RawText
public string RawText { get; }
Property Value
Methods
Create(IEnumerable<PhraseMarker>, IEnumerable<VocalsNote>)
public static IEnumerable<Phrase> Create(IEnumerable<PhraseMarker> phraseMarkers, IEnumerable<VocalsNote> notes)
Parameters
phraseMarkers
IEnumerable<PhraseMarker>notes
IEnumerable<VocalsNote>
Returns
ToGlobalEvents()
public IEnumerable<GlobalEvent> ToGlobalEvents()