Struct Section
A formal section identified by a letter label ("A", "B", ... "Z"; after 26 distinct sections the letters wrap with a numeric suffix: "A2", "B2", ...).
public readonly record struct Section : IEquatable<Section>
- Implements
- Inherited Members
Constructors
Section(string, int, int, Rational, Rational)
A formal section identified by a letter label ("A", "B", ... "Z"; after 26 distinct sections the letters wrap with a numeric suffix: "A2", "B2", ...).
public Section(string Label, int StartPhraseIndex, int EndPhraseIndex, Rational Start, Rational End)
Parameters
Properties
End
public Rational End { get; init; }
Property Value
EndPhraseIndex
public int EndPhraseIndex { get; init; }
Property Value
Label
public string Label { get; init; }
Property Value
Length
Duration of the section (End - Start, whole-note units).
public Rational Length { get; }
Property Value
PhraseCount
Number of phrases in the section.
public int PhraseCount { get; }
Property Value
Start
public Rational Start { get; init; }
Property Value
StartPhraseIndex
public int StartPhraseIndex { get; init; }