MusicTheory Docs API Toolbox GitHub NuGet
Contents

API / MusicTheory.Training

ChordDrill class

A reproducible chord-quality drill: the same options and seed replay the same questions.

Constructors

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

Methods

AnswerResult<ChordType> Check(Question<ChordType> question, ChordType given)
Checks an answer: the chord type must match exactly.
Question<ChordType> Next()
The next question. Draw order (a public contract): root, octave, type, inversion (only when inversions are on; 0 to 2 for triads, 0 to 3 for sevenths).