The `rhythm` module
Forrige | Kapittel 4. Extending GNU Solfege | Neste

## The `rhythm` module

Here is a minimal lesson file:

    header {
      module = rhythm
      lesson_id = "7a4910be-de17-4ce3-9d15-78d48ccf945e"
      version = "3.1.4"
      title = "Easy rhythms"
      rhythm_elements = 1, 2, 3, 4
    }

`visible_rhythm_elements`

  Define this variable if you want more rhythm elements that the one to be asked for. This variable must include both the rhythm elements defined in `rhythm_elements` and the extra elements. Example:

      rhythm_elements = 0, 1, 2, 3, 4, 5, 6

`countin_perc`

  An integer value between 35 and 81, representing the percussion instrument used to give you the beat before the question. The default value is 80. Example:

      countin_perc = 35

      35 Acoustic Bass Drum 51 Ride Cymbal 1   67 High Agoga
      36 Bass Drum          52 Chinece Cymbal  68 Agogo Low
      37 Side Stick         53 Ride Bell       69 Cabasa
      38 Acoustic Snare     54 Tambourine      70 Maracas
      39 Hand Clap          55 Splash Cymbal   71 Short Whistle
      40 Electric Snare     56 Cowbell         72 Long Whistle
      41 Low Floor Tom      57 Crash cymbal 2  73 Short Guiro
      42 Closed Hi Hat      58 Vibraslap       74 Long Guiro
      43 High Floor Tom     59 Ride Cymbal 2   75 Claves
      44 Pedal Hi Hat       60 Hi Bongo        76 Hi Wood Block
      45 Low Tom            61 Low Bongo       77 Low Wood Block
      46 Open HiHat         62 Mute Hi Conga   78 Mute Cuica
      47 Low-Mid Tom        63 Open High Conga 79 Open Cuica
      48 Hi-Mid Tom         64 Low Conga       80 Mute Triangle
      49 Crash Cymbal 1     65 High Timbale    81 Open Triangle
      50 High Tom           66 Low Timbale

  Modules: `rhythm`

`rhythm_perc`

  Same as countin_perc, but setting the instrument used to play the question. The default value is 37.

  Modules: `rhythm`

`count_in`

  The number of beats as count in. The default value is 2.

  Modules: `rhythm`

`bpm`

  The tempo, in beats per minute. The default value is 60.

  Modules: `rhythm`

`num_beats`

  The number of elements the question is made of. The default value is 4.

  Modules: `rhythm`

Forrige | Opp | Neste
The `nameinterval` module | Hjem | The `rhythmtapping` module