Solfege will play some music, and the user should enter the rhythm of the music in the rhythm editor. Below is a small lesson file example.
header {
module = rhythmdictation2
title = "Rhythm dictation"
}
# Tempo for all questions
tempo = 150/4
# Used for all questions that does not set the countin music themselves
countin = rhythm("c4 c c c")
question {
# Tempo set here overrides the global tempo
tempo = 150/4
music = rvoice("d'4 d8 e fis8 fis4.")
}
question {
music = mp3file("musicfile.mp3")
rhythm = rvoice("c4 c4 c8 c8 c4")
}