Table of Contents

Class PhraseExtensions

Namespace
ChartTools.Lyrics
Assembly
ChartTools.dll

Provides additional methods to Phrase.

public static class PhraseExtensions
Inheritance
PhraseExtensions
Inherited Members

Methods

GetLyrics(IEnumerable<GlobalEvent>)

public static IEnumerable<Phrase> GetLyrics(this IEnumerable<GlobalEvent> events)

Parameters

events IEnumerable<GlobalEvent>

Returns

IEnumerable<Phrase>

GetLyrics(IEnumerable<GlobalEvent>, out IList<PhraseMarker>, out IList<VocalsNote>)

public static void GetLyrics(this IEnumerable<GlobalEvent> events, out IList<PhraseMarker> phrases, out IList<VocalsNote> notes)

Parameters

events IEnumerable<GlobalEvent>
phrases IList<PhraseMarker>
notes IList<VocalsNote>

GetLyrics(IEnumerable<PhraseMarker>, IEnumerable<VocalsNote>)

public static IEnumerable<Phrase> GetLyrics(IEnumerable<PhraseMarker> phrases, IEnumerable<VocalsNote> notes)

Parameters

phrases IEnumerable<PhraseMarker>
notes IEnumerable<VocalsNote>

Returns

IEnumerable<Phrase>

SetLyrics(IEnumerable<GlobalEvent>, StandardVocalsTrack)

public static IEnumerable<GlobalEvent> SetLyrics(this IEnumerable<GlobalEvent> events, StandardVocalsTrack track)

Parameters

events IEnumerable<GlobalEvent>
track StandardVocalsTrack

Returns

IEnumerable<GlobalEvent>

SetLyrics(IEnumerable<GlobalEvent>, IEnumerable<PhraseMarker>, IEnumerable<VocalsNote>)

public static IEnumerable<GlobalEvent> SetLyrics(this IEnumerable<GlobalEvent> events, IEnumerable<PhraseMarker> markers, IEnumerable<VocalsNote> notes)

Parameters

events IEnumerable<GlobalEvent>
markers IEnumerable<PhraseMarker>
notes IEnumerable<VocalsNote>

Returns

IEnumerable<GlobalEvent>

SetLyrics(IEnumerable<GlobalEvent>, IEnumerable<Phrase>)

public static IEnumerable<GlobalEvent> SetLyrics(this IEnumerable<GlobalEvent> events, IEnumerable<Phrase> phrases)

Parameters

events IEnumerable<GlobalEvent>
phrases IEnumerable<Phrase>

Returns

IEnumerable<GlobalEvent>

ToGlobalEvents(IEnumerable<PhraseMarker>, IEnumerable<VocalsNote>)

public static IEnumerable<GlobalEvent> ToGlobalEvents(IEnumerable<PhraseMarker> markers, IEnumerable<VocalsNote> notes)

Parameters

markers IEnumerable<PhraseMarker>
notes IEnumerable<VocalsNote>

Returns

IEnumerable<GlobalEvent>

ToGlobalEvents(IEnumerable<Phrase>)

Converts a set of Phrase to a set of GlobalEvent making up the phrases.

public static IEnumerable<GlobalEvent> ToGlobalEvents(this IEnumerable<Phrase> source)

Parameters

source IEnumerable<Phrase>

Phrases to convert into global events

Returns

IEnumerable<GlobalEvent>

Global events making up the phrases