The rhythmdictation2 module

The rhythmdictation2 module
Глава 4. Extending GNU Solfege

The rhythmdictation2 module

Solfege will play a generated rhythm, and then the user should enter the rhythm in the rhythm editor. Below is a minimal lesson file. You can have as many question blocks as you like. When the program generates a random question, it will first select one question block by random, and then use it to generate the actual question.

header {
   = rhythmdictation2
   = "Rhythm dictation"
}
# Tempo for all questions that does not specify it.
 = 150/4
# Countin for all questions that does not specify it
 = rhythm("d4 d d d")
question {
   = 4/4, 3/4, 4/4
   = "4", "8 8"
  # Tempo set here overrides the global tempo
   = 150/4
}
question {
   = 3/4, 3/4
   = rhythm("d4 d d")
   = "4", "8 8"
}
bars

The time signatures of the bars to generate. The number of time signatures tell how many bars to generate.

elements

The elements to choose from when generating the rhythm.