staff_notes/staff_notes_steps library

Classes

StaffNotesLevel
StaffNotesStep
StaffNotesSub
Como um subnível sorteia: a clave, a faixa e, se houver, os acidentes ou a armadura.

Constants

staffNotesSubLevels → const int
Subníveis por nível.

Properties

staffNotesLastLevel → int
O último nível.
final
staffNotesSteps → List<StaffNotesStep>
Os 60 passos, do 1a ao 15d, na ordem do treino.
final

Functions

generateStaffNotes(StaffNotesStep step, Random rng) → List<Pitch>
As notas de uma rodada de step, sorteadas com rng: a mesma semente dá as mesmas notas.
staffNotesStep(int level, int sub) → StaffNotesStep
O passo de level (1 a 15) e sub (0 a 3).
staffNotesXml(StaffNotesStep step, List<Pitch> notes) → String
A pauta de notes no passo step: a clave e a armadura dele.