From 4afe494bc8b5b628c24c1e777cd95495b0fd5f46 Mon Sep 17 00:00:00 2001 From: TheBoxyBear <15822255+TheBoxyBear@users.noreply.github.com> Date: Fri, 19 Jan 2024 12:42:45 -0500 Subject: [PATCH] Fix article bookmarks --- Docs/articles/getting-started.md | 2 +- Docs/articles/lyrics.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Docs/articles/getting-started.md b/Docs/articles/getting-started.md index 6721f705..72003c36 100644 --- a/Docs/articles/getting-started.md +++ b/Docs/articles/getting-started.md @@ -117,7 +117,7 @@ syncTrack.TimeSignatures.RemoveUnneeded(); ChartTools includes other utilities for various purposes. [Learn more](tools.md). ## Writing files -Finally, changes can be saved to a file using [Song.ToFile](~/api/ChartTools.Song.yml#ChartTools_Song_ToFile_System_String_ChartTools_IO_Chart_Configuration_ChartWritingConfiguration_), with the format determined by the file extension. +Finally, changes can be saved to a file using [Song.ToFile](~/api/ChartTools.Song.yml#ChartTools_Song_ToFile_System_String_ChartTools_IO_Configuration_WritingConfiguration_), with the format determined by the file extension. ```csharp song.ToFile("output.chart", ); diff --git a/Docs/articles/lyrics.md b/Docs/articles/lyrics.md index ce99ac36..be33f7cf 100644 --- a/Docs/articles/lyrics.md +++ b/Docs/articles/lyrics.md @@ -21,7 +21,7 @@ phrase.Syllables.Add(new Syllable(0, new VocalsPitch(3 << 4 | VocalsPitch.D)); > **NOTE**: Clone Hero also supports color data in the text. This is currently not supported in ChartTools and special characters related to color data will appear as part of [DisplayedText](~/api/ChartTools.Lyrics.Syllable.yml#ChartTools_Lyrics_Syllable_DisplayedText). ## Phrases -Unlike other chords, [phrases](~/api/ChartTools.Lyrics.Phrase.yml) define a length and end position in addition to a start position. The end position is driven by the end of the last syllable but can be replaced by setting the [LengthOverride](~/api/ChartTools.Lyrics.Phrase.yml#ChartTools_Lyrics_Phrase_LengthOverride) property. Phrases also define [RawText](~/api/ChartTools.Lyrics.Syllable.yml#ChartTools_Lyrics_Phrase_RawText) and [DisplayedText](~/api/ChartTools.Lyrics.Syllable.yml#ChartTools_Lyrics_Phrase_DisplayedText) properties which combine the text from their syllables. +Unlike other chords, [phrases](~/api/ChartTools.Lyrics.Phrase.yml) define a length and end position in addition to a start position. The end position is driven by the end of the last syllable but can be replaced by setting the [LengthOverride](~/api/ChartTools.Lyrics.Phrase.yml#ChartTools_Lyrics_Phrase_LengthOverride) property. Phrases also define [RawText](~/api/ChartTools.Lyrics.Phrase.yml#ChartTools_Lyrics_Phrase_RawText) and [DisplayedText](~/api/ChartTools.Lyrics.Phrase.yml#ChartTools_Lyrics_Phrase_DisplayedText) properties which combine the text from their syllables. ## Reading and writing vocals Chart files define lyrics through global events that can be converted to a set of phrases. When reading a full song from a chart file, the vocals instrument will be null. To benefit of the more advanced lyrics API, a dummy set of phrases instrument can be generated using the [GetLyrics](~/api/ChartTools.Events.EventExtensions.yml#ChartTools_Events_EventExtensions_GetLyrics_System_Collections_Generic_IEnumerable_ChartTools_Events_GlobalEvent__) extension method.