Table of Contents

Class RhythmPrediction

Namespace
Celeritas.Core.Analysis
Assembly
Celeritas.dll

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

IReadOnlyList<RhythmAlternative>

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

float

ContextFound

Whether a matching context was found in the model (false when defaulted).

public required bool ContextFound { get; init; }

Property Value

bool

MostLikely

Most probable next duration (whole-note units).

public required Rational MostLikely { get; init; }

Property Value

Rational

Methods

ToString()

Formats the prediction and its alternatives as a human-readable string.

public override string ToString()

Returns

string