Documentation · Pitch
key <root>[oct] <quality> Key
The key that scale degrees resolve against: a root, an optional octave, and maj, min, harm or mel.
- The default is C major, with degree 1 on middle C.
- Without an octave, degree 1 sits in octave 4:
key f# minputs 1 on f#4. - Without a quality the key is major.
- A key holds until the next
keyline. - Literal notes like
c4ignore the key.
One tune in three keys.
c4 e4 g4 e4 c4 a3 c4 e4 c4 a3 d#4 g4 a#4 g4 d#4
The four qualities on C: major, natural minor, harmonic minor, melodic minor.
c4 d4 e4 f4 g4 a4 b4 c5 c4 d4 d#4 f4 g4 g#4 a#4 c5 c4 d4 d#4 f4 g4 g#4 b4 c5 …
The octave number moves degree 1, and a key with no octave uses octave 4.
a3 c4 e4 a4 c5 e5
Literal notes are the same in every key.
d#4 f4 g4 c4 d4 e4