Class RhythmPrediction
Result of rhythm prediction.
public sealed class RhythmPrediction
- Inheritance
-
RhythmPrediction
- Inherited Members
Properties
Alternatives
Up to four next-most-likely durations with their probabilities.
public required IReadOnlyList<RhythmAlternative> Alternatives { get; init; }
Property Value
Confidence
Probability of the most likely duration in 0-1, scaled down when the answer came from a context shorter than the model's order. Probability is scaled by the same factor, so this is always the largest of the numbers reported here.
public required float Confidence { get; init; }
Property Value
ContextFound
Whether a matching context was found in the model (false when defaulted).
public required bool ContextFound { get; init; }
Property Value
MostLikely
Most probable next duration (whole-note units).
public required Rational MostLikely { get; init; }
Property Value
Methods
ToString()
Formats the prediction and its alternatives as a human-readable string.
public override string ToString()