The nameinterval module

The `nameinterval` module
Eelmine | Peatükk 4. Extending GNU Solfege | Järgmine

## The `nameinterval` module

Here is a minimal lesson file:

    header {
        module = nameinterval
        title = _("Fifths")
        intervals = p5, a5, d5
    }

`intervals`

  A list of the intervals to ask for. The intervals are written in a short form, a letter and a number, like `d5` or `m7`. The letters are telling the interval quality are 'd' for diminished, 'a' for augmented, 'm' for minor, 'M' for major and 'p' for perfect.

`tones`

  This variable sets the range of tones that can be used when constructing the intervals. The note names has to be quoted. The default value is `"b", "g''"`. Example:

      tones = "c'", "f''"  # valid
      tones = c', f''      # not valid

`accidentals`

  This variable defines how many accidentals the tones making the interval can have. The value 0 means no accidentals, 1 means that flats and sharps are allowed, and 2 means that double flats and double sharps are allowed. The default value is 1. Example:

      accidentals = 2

`clef`

  Set which clef to use. The default value is `violin`. Possible values: `violin`, `treble`, `subbass`, `bass`, `baritone`, `varbaritone`, `tenor`, `alto`, `mezzosoprano` and `french`. Example:

      clef = bass

Eelmine | Üles | Järgmine
The `melodicinterval` module | Koju | The `rhythm` module