MusicTheory Docs API Toolbox GitHub NuGet
Contents

API / MusicTheory.Training

ScaleDrill class

A reproducible scale-identification drill: the same options and seed replay the same questions.

Constructors

ScaleDrill(ScaleDrillOptions options, UInt64 seed)
Creates a drill. Throws ArgumentException when the pool is empty.

Methods

AnswerResult<ScaleType> Check(Question<ScaleType> question, ScaleType given)
Checks an answer by ear: Ionian is accepted for Major and Aeolian for NaturalMinor.
Question<ScaleType> Next()
The next question. Draw order (a public contract): root, octave, type.