Commit db92d834 authored by Sandro Andrade's avatar Sandro Andrade

Refactor rhythm exercises to new architecture

parent 0dfbd891
......@@ -3,6 +3,7 @@ set(minuet_DEFINITIONS
intervals-descending-melodic-definitions.json
chords-root-position-definitions.json
scales-major-and-its-modes-definitions.json
rhythm-definitions.json
)
install(FILES ${minuet_DEFINITIONS} DESTINATION ${KDE_INSTALL_DATADIR}/minuet/definitions)
{
"definitions": [
{
"tags": ["rhythm", "easy", "medium"],
"name": "quarter",
"sequence": "4"
},
{
"tags": ["rhythm", "easy", "medium"],
"name": "eighth-eighth",
"sequence": "8 8"
},
{
"tags": ["rhythm", "easy", "medium"],
"name": "eighth-dot-sixteenth",
"sequence": "8. 16"
},
{
"tags": ["rhythm", "easy", "medium"],
"name": "sixteenth-eighth-dot",
"sequence": "16 8."
},
{
"tags": ["rhythm", "medium"],
"name": "sixteenth-sixteenth-sixteenth-sixteenth",
"sequence": "16 16 16 16"
},
{
"tags": ["rhythm", "medium"],
"name": "eighth-sixteenth-sixteenth",
"sequence": "8 16 16"
},
{
"tags": ["rhythm", "medium"],
"name": "sixteenth-eighth-sixteenth",
"sequence": "16 8 16"
},
{
"tags": ["rhythm", "medium"],
"name": "sixteenth-sixteenth-eighth",
"sequence": "16 16 8"
}
]
}
......@@ -3,6 +3,8 @@ set(minuet_EXERCISES
intervals-descending-melodic-exercises.json
chords-root-position-exercises.json
scales-major-and-its-modes-exercises.json
rhythm-easy.json
rhythm-medium.json
)
install(FILES ${minuet_EXERCISES} DESTINATION ${KDE_INSTALL_DATADIR}/minuet/exercises)
......@@ -8,24 +8,7 @@
"children": [
{
"name": "Easy",
"options": [
{
"name": "quarter",
"sequence": "4"
},
{
"name": "eighth-eighth",
"sequence": "8 8"
},
{
"name": "eighth-dot-sixteenth",
"sequence": "8. 16"
},
{
"name": "sixteenth-eighth-dot",
"sequence": "16 8."
}
]
"and-tags": ["rhythm", "easy"]
}
]
}
......
{
"exercises": [
{
"name": "Rhythm",
"playMode": "rhythm",
"userMessage": "the rhythm",
"template": "lilypond-templates/rhythm.ly.tmpl",
"children": [
{
"name": "Medium",
"and-tags": ["rhythm", "medium"]
}
]
}
]
}
{
"exercises": [
{
"name": "Rhythm",
"playMode": "rhythm",
"userMessage": "the rhythm",
"template": "lilypond-templates/rhythm.ly.tmpl",
"children": [
{
"name": "Medium",
"options": [
{
"name": "quarter",
"sequence": "4"
},
{
"name": "eighth-eighth",
"sequence": "8 8"
},
{
"name": "sixteenth-sixteenth-sixteenth-sixteenth",
"sequence": "16 16 16 16"
},
{
"name": "eighth-sixteenth-sixteenth",
"sequence": "8 16 16"
},
{
"name": "sixteenth-eighth-sixteenth",
"sequence": "16 8 16"
},
{
"name": "sixteenth-sixteenth-eighth",
"sequence": "16 16 8"
},
{
"name": "eighth-dot-sixteenth",
"sequence": "8. 16"
},
{
"name": "sixteenth-eighth-dot",
"sequence": "16 8."
}
]
}
]
}
]
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment