Struct Period
Two adjacent phrases of near-equal length forming a period.
public readonly record struct Period : IEquatable<Period>
- Implements
- Inherited Members
Constructors
Period(int, int, Rational, Rational)
Two adjacent phrases of near-equal length forming a period.
public Period(int FirstPhraseIndex, int SecondPhraseIndex, Rational LengthA, Rational LengthB)
Parameters
FirstPhraseIndexintIndex of the first phrase.
SecondPhraseIndexintIndex of the second phrase.
LengthARationalLength of the first phrase (whole-note units).
LengthBRationalLength of the second phrase (whole-note units).
Properties
FirstPhraseIndex
Index of the first phrase.
public int FirstPhraseIndex { get; init; }
Property Value
LengthA
Length of the first phrase (whole-note units).
public Rational LengthA { get; init; }
Property Value
LengthB
Length of the second phrase (whole-note units).
public Rational LengthB { get; init; }
Property Value
SecondPhraseIndex
Index of the second phrase.
public int SecondPhraseIndex { get; init; }