Table of Contents

Class MelodyAnalysisResult

Namespace
Celeritas.Core.Analysis
Assembly
Celeritas.dll

Complete melody analysis result.

public sealed class MelodyAnalysisResult
Inheritance
MelodyAnalysisResult
Inherited Members

Properties

Ambitus

Pitch range in semitones (highest minus lowest).

public required int Ambitus { get; init; }

Property Value

int

AmbitusDescription

Human-readable description of the range.

public required string AmbitusDescription { get; init; }

Property Value

string

CharacterDescription

Human-readable summary of the melody's character.

public required string CharacterDescription { get; init; }

Property Value

string

Complexity

Interval variety in 0-1 (normalized entropy of the interval histogram).

public required double Complexity { get; init; }

Property Value

double

Conjunctness

Stepwise-ness in 0-1 (fraction of steps and repetitions).

public required double Conjunctness { get; init; }

Property Value

double

Contour

Overall melodic contour classification.

public required MelodicContour Contour { get; init; }

Property Value

MelodicContour

ContourDescription

Human-readable description of the contour.

public required string ContourDescription { get; init; }

Property Value

string

HighestPitch

Highest MIDI pitch in the melody.

public required int HighestPitch { get; init; }

Property Value

int

Intervals

Consecutive melodic intervals in order.

public required IReadOnlyList<MelodicInterval> Intervals { get; init; }

Property Value

IReadOnlyList<MelodicInterval>

LowestPitch

Lowest MIDI pitch in the melody.

public required int LowestPitch { get; init; }

Property Value

int

Motifs

Detected recurring motifs, most significant first (up to 5).

public required IReadOnlyList<Motif> Motifs { get; init; }

Property Value

IReadOnlyList<Motif>

Statistics

Aggregate interval statistics.

public required MelodicIntervalStatistics Statistics { get; init; }

Property Value

MelodicIntervalStatistics