Table of Contents

Class FormAnalysisResult

Namespace
Celeritas.Core.Analysis
Assembly
Celeritas.dll

Result of form analysis: phrases, periods, cadences, sections, and an overall form label.

public sealed record FormAnalysisResult : IEquatable<FormAnalysisResult>
Inheritance
FormAnalysisResult
Implements
Inherited Members

Properties

Cadences

Cadences detected at phrase ends (only when a key was supplied).

public IReadOnlyList<CadenceInfo> Cadences { get; init; }

Property Value

IReadOnlyList<CadenceInfo>

FormLabel

Space-separated section labels (e.g. "A B A"), or empty when sections were not detected.

public string FormLabel { get; init; }

Property Value

string

Periods

Adjacent phrase pairs of near-equal length.

public IReadOnlyList<Period> Periods { get; init; }

Property Value

IReadOnlyList<Period>

Phrases

Detected phrases in time order.

public IReadOnlyList<Phrase> Phrases { get; init; }

Property Value

IReadOnlyList<Phrase>

Sections

Lettered sections (A/B/A') grouping similar phrases.

public IReadOnlyList<Section> Sections { get; init; }

Property Value

IReadOnlyList<Section>

TotalLength

Total span from the first phrase's start to the last phrase's end (whole-note units).

public Rational TotalLength { get; init; }

Property Value

Rational