Documentation · Pitch

mode diatonic | chromatic | midi Mode

What a bare number means. diatonic, the default, reads it as a scale degree. chromatic counts semitones from the key root. midi reads a MIDI note number.

  • In chromatic, 1 is the root and each number up is one semitone, so a major triad is 1 5 8.
  • m60 is a MIDI note in any mode.

Three spellings of the same C major triad.

running…edit it and it re-runs as you type

c4 e4 g4 c4 e4 g4 c4 e4 g4

The chromatic scale, counted from the root of the key.

running…edit it and it re-runs as you type

d4 d#4 e4 f4 f#4 g4 g#4 a4 a#4 b4 c5 c#5 d5

`m` numbers work whatever the mode.

running…edit it and it re-runs as you type

c4 e4 g4 c5