API / MusicTheory
Solfege static class
Solfège note names: fixed do (
Do is C) and movable do (the syllable names a scale degree of a key). Fixed do is read through Note.Parse with NoteNotation.FixedDo.Methods
static string FixedDo(Note note, SolfegeStyle style = SolfegeStyle.Words)The fixed-do name of
note, without octave: Ré dièse, Si♭.Throws ArgumentNullException note is null.
static string? MovableDo(Note note, KeySignature key, MinorSolfege minor = MinorSolfege.LaBased)The movable-do syllable of
note in key (fi for C♯ in G major), or null when the note has no standard syllable (raised mi, anything beyond one accidental off the key).Throws ArgumentNullException note or key is null.
static bool TryParseMovableDo(string? text, KeySignature key, out Note? note, MinorSolfege minor = MinorSolfege.LaBased)Reads a movable-do syllable (any case) in
key; the note is in octave 4. Never throws.