Class MelodicIntervalStatistics
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
IntervalHistogram
Count of each absolute interval size, keyed by semitones.
public required IReadOnlyDictionary<int, int> IntervalHistogram { get; init; }
Property Value
LargestLeap
Largest absolute interval in semitones.
public required int LargestLeap { get; init; }
Property Value
LeapPercent
Percentage of intervals that are leaps (3+ semitones).
public required double LeapPercent { get; init; }
Property Value
MotionHistogram
Count of each motion type.
public required IReadOnlyDictionary<MelodicMotionType, int> MotionHistogram { get; init; }
Property Value
RepetitionPercent
Percentage of intervals that are repetitions (unison).
public required double RepetitionPercent { get; init; }
Property Value
StepPercent
Percentage of intervals that are steps (1-2 semitones).
public required double StepPercent { get; init; }
Property Value
TotalIntervals
Number of intervals analyzed (one fewer than the note count).
public required int TotalIntervals { get; init; }