Table of Contents

Struct Section

Namespace
Celeritas.Core.Analysis
Assembly
Celeritas.dll

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

Label string
StartPhraseIndex int
EndPhraseIndex int
Start Rational
End Rational

Properties

End

public Rational End { get; init; }

Property Value

Rational

EndPhraseIndex

public int EndPhraseIndex { get; init; }

Property Value

int

Label

public string Label { get; init; }

Property Value

string

Length

Duration of the section (End - Start, whole-note units).

public Rational Length { get; }

Property Value

Rational

PhraseCount

Number of phrases in the section.

public int PhraseCount { get; }

Property Value

int

Start

public Rational Start { get; init; }

Property Value

Rational

StartPhraseIndex

public int StartPhraseIndex { get; init; }

Property Value

int