Table of Contents

Class RhythmPatternMatch

Namespace
Celeritas.Core.Analysis
Assembly
Celeritas.dll

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

int

MatchQuality

Match quality, in the range 0-1 (1 = exact).

public required float MatchQuality { get; init; }

Property Value

float

Pattern

The pattern that was matched.

public required RhythmPattern Pattern { get; init; }

Property Value

RhythmPattern

StartIndex

Index of the first onset of the match within the sorted note sequence.

public required int StartIndex { get; init; }

Property Value

int

StartOffset

Onset time where the match begins, in whole-note units.

public required Rational StartOffset { get; init; }

Property Value

Rational