# The &minuet; Handbook

Sandro
S.
Andrade
&Sandro.Andrade.mail;
2016
&Sandro.Andrade;
&FDLNotice;
2016-12-09
Applications 16.12

&minuet; is an application for music education. It features a set of ear training exercises regarding intervals, chords, and scales.

KDE
kdeedu
music
education
intervals
chords
scales
minuet

## Introduction

Welcome to &minuet;: the &kde; software for music education. &minuet; aims at supporting students and teachers in many aspects of music education, such as ear training, first-sight reading, solfa, scales, rhythm, harmony, and improvisation. &minuet; makes extensive use of &MIDI; capabilities to provide a full-fledged set of features regarding volume, tempo, and pitch changes, which makes &minuet; a valuable tool for both novice and experienced musicians.

&minuet; features a rich set of ear training's exercises and new ones can be seamlessly added in order to extend its functionalities and adapt it to several music education contexts.

&minuet;'s ear training chord exercises

## Using &minuet;

In the next two sections - Starting &minuet; and &minuet; Exercises - we will provide you the required steps to get &minuet; up and running.

### Starting &minuet;

You can start &minuet; from the application launcher. Open the &kde; program menu by clicking on the application launcher icon on the toolbar at the bottom left of your screen. This will raise a menu. Move your cursor up the menu to the Applications Education Miscellaneous &minuet; (Music Education Software) menu item.

### &minuet; Exercises and Workflow

&minuet;'s user interface entails three major components:

&minuet;'s UI components

Navigation Menu

  Allows for navigating in &minuet;'s exercise categories and selecting a particular exercise. The Navigation Menu is dynamically created based upon exercises specification files as described in Creating Exercises. &minuet;'s exercises are grouped according to classes such as intervals, scales, and chords.

Keyboard View

  Exhibits &MIDI; `note on` events being sequenced by a &MIDI; file or by an exercise execution.

Exercise View

  Presents, for a given exercise, buttons for controlling exercise presentation and a set of exercise's possible answers. An exercise run begins by clicking the `new question` button. A randomly selected interval/chord/scale is played by &minuet; and then the student is expected to pick up an answer among the ones shown in the answer's grid. &minuet; always present - as a white small circle in Keyboard View - the first note of selected interval/scale or the root note of selected chord. By hovering a possible answer, &minuet; highlights its corresponding visual representation in Keyboard View. The remaining notes of the hovered answer are presented as small circles whose colors are the same of hovered answer's button. The student can hear the exercise again by clicking the `play question` button, click the chosen answer button, or get the right answer by clicking the `give up` button. A new run of the same exercise can be started by clicking again the `new question` button.

## Creating new &minuet;'s exercises

&minuet;'s exercises are defined in exercise specification files, written in JSON format:

    {
      "exercises": [
        {
          "name": "Intervals",
          "root": "21..104",
          "playMode": "scale",
          "children": [
            {
              "name": "Ascending Melodic Intervals",
              "children": [
                {
                  "name": "Seconds",
                  "options": [
                    {
                      "name": "Minor Second",
                      "sequenceFromRoot": "1"
                    },
                    {
                      "name": "Major Second",
                      "sequenceFromRoot": "2"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }

&minuet;'s exercise specification files contain one top-level JSON object featuring the `exercises` array. Such an array defines a hierarchical structure of exercises, grouped by categories. Every category/exercise has a name. Category JSON objects contain a property named `children`, which describes the subcategories/exercises entailed by such a category. Exercise JSON objects contain a property named `options`, which defines the possible answers for such an exercise. In each exercise run, &minuet; randomly selects one answer among the possible ones and the student is expected to click the answer's button which corresponds to the selected answer.

Any (sub)category may define a `root` parameter to specify the range from which the initial interval/chord/scale's note will be randomly chosen for all exercises in this category. Such range corresponds to standards &MIDI; note numbers and follows the format `<min-value>..<max-value>`. The example presented above uses all keyboard range as possible root notes (21..104). The `playMode` parameter indicates how possible answers should be played: as a `scale` (one note after the other) or as a `chord` (all notes ringing out simultaneously).

Each exercise's option defines a name and the sequence of notes which should be played from the root note randomly selected in each exercise run. Such sequence of notes is defined as relative distances from the root note, describing the interval each note forms in conjunction with the root note. For example, for a major scale, the sequence of notes is "2 4 5 7 9 11 12", which respectively denotes the "whole whole half whole whole whole half" major scale structure. The `sequenceFromRoot` parameter may contain any notes in length. Also, &minuet;'s core ensures that only answers whose all notes lies within keyboard range are randomly selected.

To provide a better infrastructure for organizing a large set of exercise specification files, &minuet;'s core supports the use of several specification files, which are automatically merged to compose the final exercise hierarchy presented in the Navigation Menu. Exercises are correctly merged as long as different specification files use the same (sub)category name when defining exercises. For now, &minuet;'s provides no &GUI; for creating exercise specifications so that you must manually create such JSON files. &minuet;'s exercise specification files may be installed system-wide or locally in the `minuet/exercises/` directory located in ``qtpaths` `--path GenericDataLocation``

## Credits and License

&minuet;

Program copyright 2016 &Sandro.Andrade; &Sandro.Andrade.mail;

Documentation Copyright © 2016 &Sandro.Andrade; &Sandro.Andrade.mail;

&underFDL;

&underGPL;

&documentation.index;