MusicTheory Docs API Toolbox GitHub NuGet
Contents

API / MusicTheory.Training

ProgressionDrill class

A reproducible Roman-numeral progression drill: the same options and seed replay the same questions.

Constructors

ProgressionDrill(ProgressionDrillOptions options, UInt64 seed)
Creates a drill. Throws ArgumentException on a length below 2, an empty pool or a degree outside 1..7.

Methods

AnswerResult<IReadOnlyList<int>> Check(Question<IReadOnlyList<int>> question, IReadOnlyList<int> given)
Checks an answer with partial credit: the share of positions that match the expected degrees.
Question<IReadOnlyList<int>> Next()
The next question. Draw order (a public contract): mode, tonic, then the middle degrees (never repeating the previous one), then the final degree (1 or 5, never repeating the previous one). Degree 1 is always first.