Class RhythmPatternMatch
A matched rhythmic pattern with location.
public sealed record RhythmPatternMatch : IEquatable<RhythmPatternMatch>
- Inheritance
-
RhythmPatternMatch
- Implements
- Inherited Members
Properties
Count
Number of onsets spanned by the match.
public required int Count { get; init; }
Property Value
MatchQuality
Match quality, in the range 0-1 (1 = exact).
public required float MatchQuality { get; init; }
Property Value
Pattern
The pattern that was matched.
public required RhythmPattern Pattern { get; init; }
Property Value
StartIndex
Index of the first onset of the match within the sorted note sequence.
public required int StartIndex { get; init; }
Property Value
StartOffset
Onset time where the match begins, in whole-note units.
public required Rational StartOffset { get; init; }