Table of Contents

Class MelodicIntervalStatistics

Namespace
Celeritas.Core.Analysis
Assembly
Celeritas.dll

Statistics about interval distribution.

public sealed class MelodicIntervalStatistics
Inheritance
MelodicIntervalStatistics
Inherited Members

Properties

AverageInterval

Mean absolute interval size in semitones.

public required double AverageInterval { get; init; }

Property Value

double

IntervalHistogram

Count of each absolute interval size, keyed by semitones.

public required IReadOnlyDictionary<int, int> IntervalHistogram { get; init; }

Property Value

IReadOnlyDictionary<int, int>

LargestLeap

Largest absolute interval in semitones.

public required int LargestLeap { get; init; }

Property Value

int

LeapPercent

Percentage of intervals that are leaps (3+ semitones).

public required double LeapPercent { get; init; }

Property Value

double

MotionHistogram

Count of each motion type.

public required IReadOnlyDictionary<MelodicMotionType, int> MotionHistogram { get; init; }

Property Value

IReadOnlyDictionary<MelodicMotionType, int>

RepetitionPercent

Percentage of intervals that are repetitions (unison).

public required double RepetitionPercent { get; init; }

Property Value

double

StepPercent

Percentage of intervals that are steps (1-2 semitones).

public required double StepPercent { get; init; }

Property Value

double

TotalIntervals

Number of intervals analyzed (one fewer than the note count).

public required int TotalIntervals { get; init; }

Property Value

int