Class RhythmStatistics
Statistics about rhythmic features.
public sealed record RhythmStatistics : IEquatable<RhythmStatistics>
- Inheritance
-
RhythmStatistics
- Implements
- Inherited Members
Properties
AverageDuration
Mean note duration, in whole-note units.
public Rational AverageDuration { get; init; }
Property Value
DurationHistogram
Count of notes keyed by their duration (whole-note units).
public Dictionary<Rational, int> DurationHistogram { get; init; }
Property Value
LongestDuration
Longest note duration, in whole-note units.
public Rational LongestDuration { get; init; }
Property Value
MeasureCount
Number of measures spanned by the notes.
public int MeasureCount { get; init; }
Property Value
NotesPerMeasure
Average number of notes per measure.
public float NotesPerMeasure { get; init; }
Property Value
ShortestDuration
Shortest note duration, in whole-note units.
public Rational ShortestDuration { get; init; }
Property Value
StrengthHistogram
Count of onsets keyed by their beat strength.
public Dictionary<BeatStrength, int> StrengthHistogram { get; init; }
Property Value
SyncopatedNotes
Number of syncopated notes.
public int SyncopatedNotes { get; init; }
Property Value
SyncopationPercent
Percentage of notes that are syncopated; 0 when there are no notes.
public float SyncopationPercent { get; }
Property Value
TotalNotes
Total number of notes analyzed.
public int TotalNotes { get; init; }