G⸗
D⸗
A⁻
E⁻
B⁻
F♯
C♯
G♯
D♯
A♯⁺
E♯⁺
B♯⁺
F𝄪‡
B
F⁻
C⁻
G⁻
D⁻
A
E
B
F♯⁺
C♯⁺
G♯⁺
D♯⁺
G
D
A
E
B
F
C
G
D
A⁺
E⁺
B⁺
F♯‡
B𝄫⸗
F
C
G
D
A
E
B
F⁺
C⁺
G⁺
D⁺
G𝄫⸗
D𝄫⸗
A𝄫⁻
E𝄫⁻
B𝄫⁻
F
C
G
D
A
E
B
F‡
▶️
{Welcome to Tonality Composer! Press Play ▶️ to hear a C major scale:} C D E F G A B C {Tonality Composer is both an interactive introduction into music theory, and an open canvas for creating your own microtonal music. Go through the tutorial step-by-step, write your own tunes in this text box, or simply select one of the pre-written pieces above and watch the lights dance.}
T(8=60) K(F#+A+C#+) [ F'1~ | F8 B16 G F32~ E D16 Co D C+4 B+16~ A8. | A'2~ A16 F C@+,~ B E~ D# A~ G | G2~ G16 E+ B~ A D~ C G~ F | F4. G#+16~ A D,8 D32 E F8 E16 E~ D / D'1~ | D4 B A2~ | A8 C@16 B C8 A'16 C, B8 R4. | B8 E16 D E F G E A,8 R4. | A2~ A8 G#16 A B8 G / A2 B | B,4 E E+2~ | E+8 Eb E~ E+ F R4. | E8 B4 E8 E+ R4. | D4. E+8 F D B Eo~ / D,8 D' C C, B B' A A, | G G' G# G, A A' G@+ G, | F F' E+ E, D# D' B B' | E, E' D D, C C' A A' | D, D' C C, B B' G# E ] |O| [ C'16 B+ B32 C D8. C16 B A2 / A'8 A4 G#+8 E+2 / E+8 F B+ E C2 / A8 D, E+ E, A16~ B+~ C~ D~ E+~ G+~ F~ E~ ] |O| [ F'1~ | F8 B16 G F32~ E D16 Co D C+4 B+16~ A8. | A'2~ A16 F C@+,~ B E~ D# A~ G | G2~ G16 E+ B~ A D~ C G~ F | F4. G#+16~ A D,8 D32 E F8 E16 E~ D / D'1~ | D4 B A2~ | A8 C@16 B C8 A'16 C, B8 R4. | B8 E16 D E F G E A,8 R4. | A2~ A8 G#16 A B8 G / A2 B | B,4 E E+2~ | E+8 Eb E~ E+ F R4. | E8 B4 E8 E+ R4. | D4. E+8 F D B Eo~ / D,8 D' C C, B B' A A, | G G' G# G, A A' G@+ G, | F F' E+ E, D# D' B B' | E, E' D D, C C' A A' | D, D' C C, B B' G# E ] |O| [ C'16 B B32 C D8. C16 B+ A2 / A'8 A4 G#+8 E+2 / E+8 F B, E C2 / A8 D, E E+, A2 ]
T(4=40) K(F#+A+C#+E+) [ D4 A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D A B F G D G A | D1 / R1 R1 | F'4 E D C B A B C | D C B A G F G E | D8 F A G F D F E D B D A' G B A G | F D E C' D F A A, B G A F D D' D. C16 | D C D D, C A' E F D D' C B C F A B G F Eo G F E D C B A G F E+ G F E | D E F G A E A G F B A G A G F E D B B' C D C B A G F Eo B' A B A G | F8 F' E4 R8 D F4 B A B C | D8 D, C4 R8 B D4 D. D8 D G E A | A16 F32 G A16 F32 G A A, B C D E F G F16 D32 Eo F16 F,32 G A B A G A F G A G16 B32 A G16 F32 E F E D E F G A B G16 B32 A B16 C32 D A B C D E+ F G A | F16 D32 E F16 E32 D E C D E F E D C D16 B32 C D16 D,32 Eo F G F E F D' C D B16 D32 C B16 A32 G A G F G A B C D B16 D32 C D16 C32 B C D E+ D C D B C | D8 R C R B R D R D, R D R D R E R | R A R A R F R A R G R F R G R E' | F16 F, G F E E' F E D F, D B' A A, G A B B' C B A A, G A B B' A B C C, B C | D D' E D C C, D C B B' A B C C, F E D D' Eo G F F, A F' D G F G E+ A, G A | F A A A A A A A F F F F F F A A G G G D' D D D D D D B B A A E' C | A F' F F E E E E D D D D A' A A A B B B B A A A A B B B B C C, C C | D D,32 E F16 D C C'32 D E16 C B B,32 C D16 B C A'32 G F16 E D G32 F Eo16 G F D32 E F16 A G B32 A G16 F E+ A32 G F16 E | F D'32 C D16 F, A A32 B C16 A F D'32 Eo F16 D F F32 E D16 C B B32 A B16 C D F32 E D16 F G D32 C B16 B A E+ A A | A4. A8 D,4. A'8 G4 A G8 D D. C16 | D8 D' C4 B A D,8. Eo16 F4 B E+,8. E16 | F8. F'16 F G F E D8. D16 D E D C B4 D D16 C@o B C A8. A16 | A8. A'16 A B A G F8. F16 F G F E D C@o B C A8. A16 G8 D' C#+. C16 | D8 D4 C B A G F8~ F. Eo16 E+4 | F8 F'4 E8 D D'4 C@8 B4 D8 A B4 A | A A,8. G16 F4 F'8. E16 D4. D8 D4 C | D8 D, C C' B B, A A' G G' F F, Eo B' E+, E' | F F, E E' D D, C C' B B' A A, G8. Eo'16 A,8 A | A1 / R1 R1 | R1 R1 | F'4 E D C B A B C | D C B A G F G E | D8 F A G F D F E D B D A' G B A G | F D E C' D F A A, B G A F D D' D. C16 | D C D D, C A' E F D D' C B C F A B G F Eo G F E D C B A G F E+ G F E | D E F G A E A G F B A G A G F E D B B' C D C B A G F Eo B' A B A G | F8 F' E4 R8 D F4 B A B C | D8 D, C4 R8 B D4 D. D8 D G E A | A16 F32 G A16 F32 G A A, B C D E F G F16 D32 Eo F16 F,32 G A B A G A F G A G16 B32 A G16 F32 E F E D E F G A B G16 B32 A B16 C32 D A B C D E+ F G A | F16 D32 E F16 E32 D E C D E F E D C D16 B32 C D16 D,32 Eo F G F E F D' C D B16 D32 C B16 A32 G A G F G A B C D B16 D32 C D16 C32 B C D E+ D C D B C | D8 R C R B R D R D, R D R D R E R | R A R A R F R A R G R F R G R E' | F16 F, G F E E' F E D F, D B' A A, G A B B' C B A A, G A B B' A B C C, B C | D D' E D C C, D C B B' A B C C, F E D D' Eo G F F, A F' D G F G E+ A, G A | F A A A A A A A F F F F F F A A G G G D' D D D D D D B B A A E' C | A F' F F E E E E D D D D A' A A A B B B B A A A A B B B B C C, C C | D D,32 E F16 D C C'32 D E16 C B B,32 C D16 B C A'32 G F16 E D G32 F Eo16 G F D32 E F16 A G B32 A G16 F E+ A32 G F16 E | F D'32 C D16 F, A A32 B C16 A F D'32 Eo F16 D F F32 E D16 C B B32 A B16 C D F32 E D16 F G D32 C B16 B A E+ A A | A4. A8 D,4. A'8 G4 A G8 D D. C16 | D8 D' C4 B A D,8. Eo16 F4 B E+,8. E16 | F8. F'16 F G F E D8. D16 D E D C B4 D D16 C@o B C A8. A16 | A8. A'16 A B A G F8. F16 F G F E D C@o B C A8. A16 G8 D' C#+. C16 | D8 D4 C B A G F8~ F. Eo16 E+4 | F8 F'4 E8 D D'4 C@8 B4 D8 A B4 A | A A,8. G16 F4 F'8. E16 D4. D8 D4 C | D8 D, C C' B B, A A' G G' F F, Eo B' E+, E' | F1 / R1 R1 | R1 R1 | R1 R1 | F'4 E D C B A B C | D C B A G F G E | D8 F A G F D F E D B D A' G B A G | F D E C' D F A A, B G A F D D' D. C16 | D C D D, C A' E F D D' C B C F A B G F Eo G F E D C B A G F E+ G F E | D E F G A E A G F B A G A G F E D B B' C D C B A G F Eo B' A B A G | F8 F' E4 R8 D F4 B A B C | D8 D, C4 R8 B D4 D. D8 D G E A | A16 F32 G A16 F32 G A A, B C D E F G F16 D32 Eo F16 F,32 G A B A G A F G A G16 B32 A G16 F32 E F E D E F G A B G16 B32 A B16 C32 D A B C D E+ F G A | F16 D32 E F16 E32 D E C D E F E D C D16 B32 C D16 D,32 Eo F G F E F D' C D B16 D32 C B16 A32 G A G F G A B C D B16 D32 C D16 C32 B C D E+ D C D B C | D8 R C R B R D R D, R D R D R E R | R A R A R F R A R G R F R G R E' | F16 F, G F E E' F E D F, D B' A A, G A B B' C B A A, G A B B' A B C C, B C | D D' E D C C, D C B B' A B C C, F E D D' Eo G F F, A F' D G F G E+ A, G A | F A A A A A A A F F F F F F A A G G G D' D D D D D D B B A A E' C | A F' F F E E E E D D D D A' A A A B B B B A A A A B B B B C C, C C | D D,32 E F16 D C C'32 D E16 C B B,32 C D16 B C A'32 G F16 E D G32 F Eo16 G F D32 E F16 A G B32 A G16 F E+ A32 G F16 E | F D'32 C D16 F, A A32 B C16 A F D'32 Eo F16 D F F32 E D16 C B B32 A B16 C D F32 E D16 F G D32 C B16 B A E+ A A | A4. A8 D,4. A'8 G4 A G8 D D. C16 | D8 D' C4 B A D,8. Eo16 F4 B E+,8. E16 | F8. F'16 F G F E D8. D16 D E D C B4 D D16 C@o B C A8. A16 | A8. A'16 A B A G F8. F16 F G F E D C@o B C A8. A16 G8 D' C#+. C16 | D8 D4 C B A G F8~ F. Eo16 E+4 | F8 F'4 E8 D D'4 C@8 B4 D8 A B4 A | A A,8. G16 F4 F'8. E16 D4. D8 D4 C | D1 ]
T(4=120) K(BbEbF+A+C+) [{Ob1} F'4. D16 F B4 D, | G F8. E+16 D4 R4 | D4. D16 F E@4. Co16 G' | A G F G Co,8 E@ F C+16 D C D C D | C4. A16 C F4. D16 F | E4. Co16 E D4 R4 /{Ob2} D'4. F16 D B4. F'16 D | Co8. B16 A8 A B4 R4 | B4. B16 D Co4. G'16 E@ | C B A B G8 Co A A16 B A B A B | A4. F16 A B4. F'16 B, | Co4. Ao16 C F,4 R4 /{Vln} B''16 F D F B F D F B F D F B F D F | Co B' Ao G F E+ D C+ D B C D Eo F G A | B F D F B F D F B E@, Co E B G C, G' | A G F G Co,8 E@ F F, R4 | C'16 A F A C A F A F' D B D F D B D | E Co Ao C E C A C D F, G A+ B C D E /{Vla} D8 F F F D D D B' | B Co C+ F, F4 B, | F'8 F G G G G Co, C | C'16 B A B G8 Co, C+4 F8 C | C F F F B, B B B | G' Ao16 G A8 Fo F+4 D /{Cel} B8 B A A G G F F | E E F F B4 B, | D8 D G G Co, C E@ E | F B Co C, F4 A,8 C+ | F F E+ E D D G G | Co, C Fo F B4 B,] O | [{Ob1} F'8 D F D F C F C | D B D B D A D A | B' G B G B F B F | E16 Fo G F E D- Co B A B C+ B A G F+ E | D8 E F G A B C D | E16 F E F G Fo E D C D C D E+ F+ E F | G F G F E+ D E D C D C D E F E F | G F G F E+ D E D C D C D E D E C | D8 R2.. | R1 /{Ob2} D'8 B D B C A C A | B G B G A F A F | G' E G E F D F D | G,8 E'16 Fo G F E D C B A B C B A G | F8 E D G F B F B | Co16 D C D E D- C B A B A B C+ Do C D | E D E D C B C B A B A B C D C D | E D E D C B C B A B A B C B C A | B8 R2.. | R1 /{Vln} F'16 D B D F D B D F C A C F C A C | D B G B D B G B D A F A D A F A | B' G E G B G E G B F D F B F D F | E Fo G F E D- Co B A B C+ B A G F+ E | D F E G F A G B A C B D C E+ D F | [E F E F G Fo E D C D C D E+ F+ E F | G F G F E+ D E D C D C D E F E F | G F G F E+ D E D C D C D E D E C / Co D C D E D- C B A B A B C+ Do C D E D E D C B C B A B A B C D C D E D E D C B C B A B A B C B C A] | D F E G F A G B A8 G16 F B8 E, | D Co16 B F8 A B F B,4 /{Vla} B'8 F B F A F A F | G D G D F D F D | E B E B D B' D, B' | G E16 Fo G F E D C8 A'16 B C B A G | F8 Co16 E B8 B F' D F F | G G Co G C+, C A' A | A A A A A A A A | A A A A A A A A | F Ao B E, C' A+ F G | F G F E D4 R4 /{Cel} B8 B B B A A A A | G G G G F F F F | E E E E D D D D | Co C C E F F F A, | B Co D E F G A B | E, E E E F F F F | F F F F F F F F | F F F F F F F F | B, Co D E F E D E | F E F F, B4 R4]
{From "The Legend of Zelda: Link's Awakening" (Kozue Ishikawa)} T(4=150) K(Bb) O'16 [ D R D D D R D D D R D D D R D D | E R E E E R E E E R E E E R E E | F R F F F R F F F R F F F R F F | E R E E E R E E E R E E E R E E / G R G G G R G G G R G G G R G G | G R G G G R G G G R G G G R G G | G R G G G R G G G R G G G R G G | G R G G G R G G G R G G G R G G ] O'16 [G4 D. G8 G16 A B C | D1 | G4 D. G8 G16 A B C | D1 / D R D D D R D D D R D D D R D D | E R E E E R E E E R E E E R E E | F R F F F R F F F R F F F R F F | E R E E E R E E E R E E E R E E / G R G G G R G G G R G G G R G G | G R G G G R G G G R G G G R G G | G R G G G R G G G R G G G R G G | G R G G G R G G G R G G[G R G G / O, D C B A ]]| {-----} {Melody} O'16 [ G8. D16 D4. G8 G16 A+ B C | D4. E16 F E8. D8. C8 | D8. G,16 G'2. | R4. D8 B' A B C | D G,16 D' G4 R8 D C B | C F,16 C' F4 R8 C B- A | B8. D,32. R64 D4. C24 D C B8 C | D1 | G,8. D16 D4. G8 G16 A+ B C | D4. Eb16 F E8. D. C | B. G16 D'4. B8 G' D | B'4. A+8 G A B C | D C16 D Eb4 R8 F. E. | D. A+. B C. B. A | G1 | G' / {Harmony} G, D' B D G, D' B D D, D' B D G, D' B D | G, E' C E G, E' C E D, E' C E G, E' C E | G, F' D F G, F' D F D, F' D F G, F' D F | G, E' C E G, E' C E G, E' C E D, E' C E | Eb D B D E D B D E D B D E D B D | F C A C F C A C F C A C F C A C | F+ D B D F D B D C Eb C E C E C E | A+, F#+' D F A, F' D F A, F' D F A, F' D F | G, D' B D G, D' B D G, D' B D G, D' B D | Ab, Eb' C E A, E' C E A, E' C E A, E' C E | G, D' B D G, D' B D G, D' B D G, D' B D | E, D' B D E, D' B D E, D' B D E, D' B D | Ab, Eb' C E A, E' C E A, E' C E A, E' C E | D, G A+ C+ D8 R R2 | D'2 C | B C / {Bass} G,,8 R G R R4 G8 R | G R G R R4 G8 R | G R G R R4 D'8 R | C R C R R4 C8 D | Eb R E R R4 E8 R | F R F R R4 F8 R | B, R B R C R C R | D R D R R4 D16 C B A+ | G8 R G R R4 G8 R | Ab R A R R4 A8 R | G R G R R4 F+8 R | E R E R R4 E8 R | Ab R A R R4 A12 B C | D8 R R2 D,4 | G8. D'. G, F. C'. F, | Eb. B'. E, F. C'. F, ] {-----} O'16 G, D' B D G, D' B D G, D' B D G, D' B D | G, E' C E G, E' C E G, E' C E G, E' C E | G, F' D F G, F' D F G, F' D F G, F' D F | G, E' C E G, E' C E G, E' C E G, E' C E | K(BbEbAbDb-GbCb) A, E' C E A, E' C E A, E' C E A, E' C E | A, F' D F A, F' D F A, F' D F A, F' D F | A, G' E G A, G' E G A, G' E G A, G' E G | A, F' D F A, F' D F A, F' D F A, F' D F | {-----} {Melody} O'16 [ A8. E16 E4. A8 A16 B C D | E4. F16 G F8. E8. D8 | E8. A,16 A'2. | R4. E8 C' B- C D | E A,16 E' A4 R8 E D C | Do G,16 D' G4 R8 D C B | C8. E,32. R64 E4. D24 E D C8 D | E1 | A,8. E16 E4. A8 A16 B C D | E4. Fb16 G F8. E. D | C. A16 E'4. C8 A' E | C'4. B8 A B C D | E D16 E Fb4 R8 G. F. | E. B. C D. C. B | A1 | A' / {Harmony} A, E' C E A, E' C E E, E' C E A, E' C E | A, F' D F A, F' D F E, F' D F A, F' D F | A, G' E G A, G' E G E, G' E G A, G' E G | A, F' D F A, F' D F A, F' D F E, F' D F | Fb E C E F E C E F E C E F E C E | G Do B D G D B D G D B D G D B D | G E C E G E C E D Fb D F D F D F | B, G@' E G B, G' E G B, G' E G B, G' E G | A, E' C E A, E' C E A, E' C E A, E' C E | Bbb-, Fb' C F B, F' C F B, F' C F B, F' C F | A, E' C E A, E' C E A, E' C E A, E' C E | F@, E' C E F, E' C E F, E' C E F, E' C E | Bbb-, Fb' C F B, F' C F B, F' C F B, F' C F | E, A B D E8 R R2 | E'2 D | C D / {Bass} A,,8 R A R R4 A8 R | A R A R R4 A8 R | A R A R R4 E'8 R | D R D R R4 D8 E | Fb R F R R4 F8 R | G R G R R4 G8 R | C, R C R D R D R | E R E R R4 E16 D C B | A8 R A R R4 A8 R | Bbb- R B R R4 B8 R | A R A R R4 G8 R | F@ R F R R4 F8 R | Bbb- R B R R4 B12 C D | E8 R R2 E,4 | A8. E'. A, G-. D'. G, | Fb. C'. F, G-. D'. G, ]
{Reference manual ================= This page is a complete reference for all the features of Tonality Composer. You can skip this if you're going through the tutorials, since the tutorials introduce the features bit by bit. However, you can refer back to this page if you forget how something works, or read through it if you want to get started composing right away. 1. Playback 2. Rhythm 3. Octaves 4. Accidentals 5. The empty note "O" 6. Chords 7. Conclusion 1. Playback ----------- Comments are enclosed in {curly brackets}. Everything inside curly brackets is ignored during playback. So, the first real notes in this section are the following, after the closing bracket:} C E G C G E C {Press Play (▶️) next to the menu to play the notes. If you put your cursor somewhere in this text editor, playback will begin at that point. Try it: Click somewhere in this paragraph, and press Play again.} A C E A E C A {This way, you can start playback in the middle of a piece. (Press ⏪ to skip back to the start.) The shape symbols on the right (◯ △ ▢ ⬨ ☆) control which "instrument" will be used for playback: sine wave, triangle wave, square wave, pulse wave, or sawtooth wave. 2. Rhythm --------- You can vary the note length by putting a number after the note: "C1" is a whole-note C, "C2" is a half-note, "C4" is a quarter-note, etc. If the note length is omitted, the note is assumed to be of the same length as the previous note. (If it's the very first note, it's assumed to be a quarter note.)} C4 C G' G A A G2 F4 F E E D D C2 {Add a "." after the note to lengthen it by a factor of ½ (just like a dot in standard music notation). This does not carry forward to the following notes, but the underlying number does.} G'4 G F F E8. D16 E8. F16 E4 D {The tempo defaults to 80 quarter notes per minute. Change to a different tempo like this:} T(4=100) {This means that there should now be 100 quarter-notes (hence the "4") per minute. Something like "T(8=200)" would have the same effect (i.e. 200 eighth-notes per minute).} C4 C G' G A A G2 {Use "R" to denote a rest. The rest will be the same length as a note in the same place would've been.} F8 R F R E R E R D R D R C4 R2. { 3. Octaves ---------- The distance between notes is assumed to be as short as possible. So, something like} C4 F {means a middle C followed by the F *above* it - since this is a jump of +5 semitones. It's not the F *below* middle C, because that would've been a jump of -7 semitones. What if the jump would be 6 semitones either way? E.g.:} B F {Here, we break the tie by preferring to go up rather than down. (This is even if the notes are modified with "+" or "-" - more on that later.) Use "'" or "," to raise or lower a note by an octave. That's why we needed it for notating "Twinkle Twinkle Little Star" above:} C,4 C G' G A A G2 {We don't need to mark the second G, since that G is already the closest note to itself. But if we hadn't included the mark, we would instead have} C,4 C G G A A G2 {since the G *below* middle C is a shorter jump (-5 semitones) than the G *above* (+7 semitones) that we want. 4. Accidentals -------------- Use "#" and "b" to denote sharps and flats. You can use "##" and "bb" for double sharps and flats, or even three or more (however, these notes will be too tonally distant to show up on the display above).} C###'4 C## C# C@ Cb Cbb Cbbb R1 {The "@" is a "natural" sign, which cancels the effect of accidentals on the same note. If we didn't include it here, the plain "C" would have carried over the "#" accidental from the previous note. Another way to cancel accidentals is to include a barline "|", which undoes all accidentals on all notes. (This is the only purpose of barlines in Tonality Composer; there is no requirement that all "measures" have the same number of beats.)} C#4 C C@ Cb | C R1 {You can also include a key signature to specify which accidentals should be assumed by default. Then the barlines will cancel the accidentals written on each note and restore the accidentals given in the key signature. For example, here's a melody in D major:} K(F#C#) D4 D A' A B8 G# E G A2 | G4 G F F E8 C A C D2 | R1 K() {Notice how the sharpness of the "G#" carries on to the following "G", but the barline cancels that out so the next G is natural. But whenever "F" and "C" appear, those are sharp, due to the key signature. The "+" and "-" signs function similarly to sharps and flats. These raise or lower the pitch by a small amount (much less than a semitone), and are useful in building microtonal harmony, as explained in Part 3 of this tutorial.} C+++'4 C++ C+ Co C- C-- C--- | R1 {Again, you can include any number of "+"s or "-"s (but some of these will be too distant to display on the grid). Notice that instead of a natural sign "@", we use the sign "o", which has the similar effect of canceling the previous pluses and minuses on that note. These so-called "coarse" (# @ b) and "fine" (+ o -) accidentals can be combined to make more complex notes:} C4 C+ C#+ C#o C@- Cb- Cbo | R1 {The most important thing to remember when combining accidentals like this is that *coarse accidentals carry over separately from fine accidentals*. For example, if the note "C" is given with no coarse accidentals (# @ b), it will sound with as many sharps/flats as the previous "C" in the measure (or key signature), and likewise for fine accidentals (+ o -); but marking coarse accidentals will not affect the fine accidentals on the following notes, nor vice-versa. Thus, the previous line could also be written like this, while sounding the same:} C4 C+ C# Co C@- Cb Co | R1 {Both coarse and fine accidentals can be used in a key signature. In this way we can, for example, shift to the key of "E-plus major":} K(F#++C#+G#+D#+A+E+B+) E4 F G A B C D E | R2 {To return to the default key of C major, simply give an empty key signature:} K() {5. The empty note "O" ---------------------- "O" is not a real note. Rather, it's a device you can use to "reset" the octave and duration of the following notes. It's always possible to notate a melodic line without using "O", but it can sometimes simplify the notation a bit. Recall the line this reference manual begins with:} C E G C G E C {But it sounds different now, because the attributes of previous notes are being carried over. The notes are whole notes because the previous note was a whole rest; and the notes are in a high octave because that's what's closest to the previous note. But if we say "O" first, the octave returns to where it was at the beginning:} O C E G C {And we can also set the duration to something else,} O8 C E G C {or explicitly set the octave,} O, C E G C {or both:} O''16 C E G C | R1 O { 6. Chords --------- To play multiple notes at once, do something like this:} C4 C G' G [A/F] [A/F] G2 {The simultaneous lines can last for any number of notes:} O4 [F F E E D D / A A C C G G] C2 {Usually you'll want to make sure that each line is the same length - otherwise, the next note after the closing square bracket "]" will begin as soon as the *last written line* finishes - even if other lines still haven't finished yet. Sometimes, after you press Play, certain notes will appear highlighted in gray:} O1 [B / Gb] {This indicates a dissonance (or more precisely a "wolf tone") i.e. a situation where the two notes sound "ugly" together, but one can be slightly adjusted to make it sound better. One of the challenges in writing microtonal music is to figure out how to tweak the notes to eliminate these.} O1 [B / F#+] {Or perhaps the dissonance is intentional! 7. Conclusion ------------- That's it!}
{Harmony ======== Music is built from relations of numbers.} C1 R {This is Middle C, sounding at a frequency of 262 Hertz. (Press Play ▶️ to hear the notes as we go, and Stop ⏹ to keep reading. Place your cursor before each line of notes to start there.) The most basic musical interval is the *octave*, which is a ratio of 2:1. The note one octave above Middle C, therefore, has a frequency of 524 Hz.} C' R {When played together, two notes an octave apart make a harmonious sound.} O [C/C'] R {Indeed, the two notes seem to mesh together so well that they almost sound like the same note. That's why they're all referred to by the same letter.} O C,,8 C' C' C' C' C' R1 O {(We use the , and ' marks to respectively lower and raise a note by one octave. These marks are relative to the previous note, so a series of C' notes will continue rising. The O symbol resets us to Middle C.) But we can't build music out of octaves alone. We need other notes. After the ratio 2:1, the next simplest ratio is (you guessed it) 3:1.} C2 G'' O1 [C/G''] R O {This new note is pretty high (786 Hz), so we can lower it by an octave to yield a note closer to the Middle C we started with. Now we have two notes with a ratio of 3:2.} C2 G' O1 [C/G'] R O {This interval of 3:2 is (somewhat confusingly, for reasons to be explained later) called a "fifth". What if we instead go down by a fifth? This corresponds to a ratio of 2:3.} C2 F, O1 [C/F,] R O {But let's try to keep all of our notes within the same octave, i.e. between 262 Hz (1:1) and 524 Hz (2:1). This means we need to raise our new note by an octave, yielding a ratio of 4:3.} C2 F O1 [C/F] R O {This interval is called a "fourth". Putting this all together, and sorting the notes in ascending order, our fledgeling musical scale now has 3 distinct notes.} C4 F G C O1 [C/F/G'/C'] R O {Observe how these notes are depicted on the hexagonal grid above. Notes differing by octaves are all represented by the same letter and the same space on the grid, so factors of 2 are effectively ignored. But when you multiply by 3, you move one space to the right, and when you divide by 3, you move one space to the left.} F4 C G' R1 O {Now we're ready to go nuts - we can produce all notes in the scale by combining these two intervals, effectively forming a "ladder" across the grid, each step made up of a harmonious ratio of 3:2 or 4:3. Listen carefully to how the adjacent notes sound together; we'll slow down the tempo to 60 beats-per-minute to make the harmony easier to hear. It may also help if you select the Square (▢), Pulse (⬨), or Sawtooth (☆) instrument - the harsher the tone, the clearer the difference between harmony and dissonance.} T(4=60) O1 [ C D E+ F#++ / R2 O1 G' A+ B+ R2] {Now, to the left:} O1 [ C Bb-' Ab- Gb-- / R2 O1 F Eb- Db-- R2 ] R1 {(What do all these +s and -s mean? More on that later.) So, by combining harmonious fifths and fourths, we've reached the "distant" note F#++ on the right, and Gb-- on the left. But aren't F-sharp and G-flat really the same note? What do they sound like together?} [F#++ / Gb--] {Yikes! What was that? To be continued...}
{Part 2: Dissonance =================== Let's look closely at what we just did with that "ladder" maneuver. Keep track of the ratios we used when moving rightward from C to F#++. When we go up by a fifth, it's a ratio of 3:2, and when we go down by a fourth, it's 3:4 (i.e. dividing by 4:3).} C4 {3:2} G' {3:4} D {3:2} A+' {3:4} E+ {3:2} B+' {3:4} F#++ | R1 O {When we combine these ratios, they multiply, so we find that the ratio from C to F#++ is 729:512. Likewise, moving to the left, we have:} C4 {4:3} F {4:3} Bb- {2:3} Eb-, {4:3} Ab- {2:3} Db--, {4:3} Gb-- | R1 O {which shows that the ratio from C to Gb-- is 1024:512. These two ratios are close, but not quite equal: F#++:C = 729:512 = 1.42383... Gb--:C = 1024:729 = 1.40466...} F#++ Gb-- | [F#++ / Gb--] | R {Furthermore, although these two notes are close in pitch, they are very "distant" harmonically; that is, the ratio between them involves very large numbers. F#++:Gb-- = (729:512):(1024:729) = 531441:524288 = 1.01364... This is characteristic of a "wolf interval", so called because it sounds like a wolf howling. A wolf interval is produced when we have a ratio of large numbers which is very close in size to a ratio of much smaller numbers (in this case, 1:1).}
{Part 3: Pythagorean tuning =========================== Notice something about the ratios we've discussed so far: 1:1 531441:524288 4:3 1024:729 729:512 2:1 All of these involve powers of 2 and 3: 1 : 1 3^12 : 2^19 2^2 : 3^1 2^10 : 3^6 3^6 : 2^9 2^1 : 1 This makes sense, since we formed all these ratios by combining the basic intervals of 3:2 and 4:3. Let's list all of the notes we've made in this way, this time from lowest to highest:} C { 1:1 } | Db-- { 256:243 = 2^8 : 3^5 } | D { 9:8 = 3^2 : 2^3 } | Eb- { 32:27 = 2^5 : 3^3 } | E+ { 81:64 = 3^4 : 2^6 } | F { 4:3 = 2^2 : 3^1 } |O8 Gb-- { 1024:729 = 2^10 : 3^6 } | F#++ { 729:512 = 3^6 : 2^9 } |O'4 G { 3:2 = 3^1 : 2^1 } | Ab- { 128:81 = 2^7 : 3^4 } | A+ { 27:16 = 3^3 : 2^4 } | Bb- { 16:9 = 2^4 : 3^2 } | B+ { 243:128 = 3^5 : 2^7 } | C { 2:1 } R1 O4 {We've made ourselves a scale! This is called the "Pythagorean tuning" after its supposed inventor; it's also called a "3-limit tuning" because 3 is the largest prime number that shows up in its ratios. This scale contains all twelve notes we're accustomed to (or rather thirteen, since there are two options for the note in the middle - either 1024:729 or 729:512). However, it sounds somewhat strange to our ears because it contains a large number of dissonant intervals. To get a sense of how each ratio sounds, listen to the scale again, this time with a constant C under each note:} T(4=40) [C C C C C C C C C C C C C / C { 1:1 } | Db-- { 256:243 = 2^8 : 3^5 } | D { 9:8 = 3^2 : 2^3 } | Eb- { 32:27 = 2^5 : 3^3 } | E+ { 81:64 = 3^4 : 2^6 } | F { 4:3 = 2^2 : 3^1 } |O8 Gb-- { 1024:729 = 2^10 : 3^6 } | F#++ { 729:512 = 3^6 : 2^9 } |O'4 G { 3:2 = 3^1 : 2^1 } | Ab- { 128:81 = 2^7 : 3^4 } | A+ { 27:16 = 3^3 : 2^4 } | Bb- { 16:9 = 2^4 : 3^2 } | B+ { 243:128 = 3^5 : 2^7 } | C { 2:1 } ] R1 O T(4=80) {Again, the Pythagorean tuning is rather limiting by modern sensibilities, since it doesn't contain many options for harmonious chords. Besides the octave, we can have "power chords" containing a fourth or fifth:} [C/F/C'] O [C/G/C'] O R {And perhaps we might venture into "suspended chords" containing a 9:8 ratio:} [C/F/G] O [C/D/G] O R {But anything beyond that starts to get strange:} [C/G/A+] O [C/E+/G] O R {Indeed, for this reason, the ancient Pythagoreans would probably not have used "chords" in the modern sense. In order to produce our modern gamut of chords, we need to go beyond the number 3 - we need to introduce factors of 5.}
{Part 4: The major scale ======================== If the number 2 gives us octaves, and the number 3 gives us fifths, what does the number 5 give us?} C2 E'' O1 [C/E''] O | C2 E O1 [C/E] {As we did before with the 3:2 ratio, we first multiply the pitch by 5, and then reduce it by two octaves (i.e. divide by 4) to bring it down into the same range. This gives us a ratio of 5:4, which is called a "major third". (In case you're wondering why the interval based on the number 3 is called a "fifth" and the one based on the number 5 is called a "third" - these names refer to the position in the scale, not the pitch ratio. So a "third" is formed with the root and the third note of the scale, and so on.) The interval is called "major" because it's part of the *major triad*.} C4 E G O1 [C/E/G] {The major triad is a three-way ratio of 4:5:6, and will be a fundamental building-block of our new scale. It appears on the grid as an upward-pointing triangle (∴). But notice we've also implicitly created another interval - that between the E and the G, or a ratio of 6:5. Setting the root note back to C, we get the new note Eb. This is called a "minor third" and forms part of the *minor triad* - a somewhat more complex ratio of 10:12:15, which appears on the grid as a downward-pointing triangle (∵).} C4 Eb O2 [C/Eb] | C4 Eb G O1 [C/Eb/G] | O8 {Now you see why the hexagonal grid is set up the way it is. Just as factors of 3 are represented by moving left and right, factors of 5 are represented by moving along the "1 o'clock / 7 o'clock" axis.} Bbb- Db- F A C# | Fb, Ab C E G# | Cb, Eb G B D# | R1 O8 {This, of course, means that the remaining direction (the "11 o'clock / 5 o'clock" axis) represents a combination of both 3 and 5, i.e. minor thirds.} B- D- F Ab Cb | F# A C Eb Gb | C# E G Bb Db | O4 {Thus, any note involving the numbers 2, 3, and 5 is theoretically represented somewhere on the grid, although it may be too far from the center to show up in the display. For example, the note E# exists between and above C# and G#, and the three together form a major triad.} C#4 E# G# O1 [C#/E#/G#] | {But let's return to our C major triad:} [C/E/G] {If we're playing in the key of C major, our tune will revolve around this chord, and will generally start and end with it. But, of course, if we want our music to be interesting, we'll need more chords than just this. The most obvious choices to add next are the major triads rooted on the notes most closely related to C, namely G and F. If C is the "tonic", i.e. the root note of the overall scale, then G (the fifth above C) is called the "dominant", while F (the fifth below C) is called the "subdominant".} G [G/B/D] F [F/A/C] O {This may be starting to sound familiar. These three chords - the tonic, dominant, and subdominant major - are the most commonly-used chords in major-key music. Indeed, many simple tunes consist entirely of these chords.} T(4=100) [C'8. C16 | C4 G E'8. E16 | E4 C C8 E | G4. G8 F E | D2 D8. E16 | F4 F E8. D16 | E4 C C8 E | D4. G,8 B D | C2. / R4 O2 | [C./E./G'.] | [C,./E./G.] | [C,./E./G.] | [G,./B./D.] | [F./A./C.] | [C./E./G.] | [G./B./D.] | [C./E./G.]] O4 {But notice also what we've achieved with these three chords - we've built the entire C major scale!} C D E F G A B C {This scale contains the three major triads, as we've seen; but as a byproduct of these, there are also two minor triads:} O1 [A/C/E] [E/G/B] {These chords can be used to add a hint of "sadness" to an otherwise major-key tune.} T(4=80) O [ C2 G A E F C F G / E'8 G, C E D G, B D C E, A C B E, G B A C, F A G C, E G A C, F A B D, G B ]
{Part 5: The minor scale ======================== We've already seen the C minor triad:} O1 [C/Eb/G] R {Now, we can apply the same method we used to create the major scale, this time to create an "inverted" analogue of it. In addition to this tonic minor triad, we also want to include the dominant and subdominant minor:} [G/Bb/D] [F/Ab/C] R O4 {...and all these notes together form our C minor scale:} C D Eb F G Ab Bb C R1 O {And just as the major scale contains three major triads and two minor triads, the minor scale contains three minor and two major triads. These major triads can be used to add a hint of "happiness" to an otherwise minor-key tune. (Here we use a key signature "K(BbEbAb)" to avoid having to spell out the flats every time.)} {"Arrival to Earth" from Transformers (2007) (Steve Jablonsky)} K(BbEbAb) [ C'4. G16 C E4 B | D4. G,16 B C4 A | C4. G16 C G'4 E | F+ E8 D C4 A | C4. G16 C E4 B | D4. G,16 B C4 A | C2 B4 E8 D | C2. G8 B | C2 B4 D8 E | C1 / O2 [C/E/G] [B/E/G] | [B/D/F+] [C/Fo/A] | [C/E/G] [B/E/G] | [B/D/F+] [C/Fo/A] | [C/E/G] [B/E/G] | [B/D/F+] [C/Fo/A] | O [C/E/A] [B/D/F+] | O1 [C/E/G] | O2 [C/E/A] [B/D/F+] | O1 [C/E/G] ] {But this is somewhat more complex than the major-key tunes we've seen. That's because there's a stronger tendency to include major chords in a minor-key piece than the reverse. (Perhaps a long progression of minor chords sounds too depressing?) First, notice that the dominant chord [G/Bb/D] is actually not used at all - in fact, where a dominant does occur, it is very often the dominant *major*, as in the following excerpt from Beethoven's Fifth:} O T(4=100) K(BbEbAbF+) [ G8. C16 | E4 E8. D16 C8. E16 | B@2 C8. D16 | E4 E8. D16 C8. E16 | F2 E8. F16 | G4 G8. F16 E8. G16 | F2 G8. F16 | E4 E8. D16 C8. E16 | D4. E8 C E | D2. / R4 O, | [C C C / E E E / G' G G ] | [ G,2 G4 / D2 D4 / G2 G4 ] O, | [C C C / E E E / G' G G ] | [ B,2 B4 / D2 D4 / F2 F4 ] | [B, B B / E E E / G G G ] | [ B,2 B4 / D2 D4 / F2 F4 ] O, | [C C C / E E E / G' G G ] | [ G,2 G4 / D2 D4 / G2 G4 ] | [G,2. / D2. / G2.] ] {Also notice that the exotic note F+ is often brought in in order to form the Bb major chord, which is technically not part of the C minor scale as we've defined it here, although this is not immediately obvious when playing a piano or reading standard music notation, where no distinction is made between F and F+. What does all of this mean? To understand what's going on, we need to dive back into the math.}
{Part 6: Coarse & fine accidentals ================================== We've defined several new notes in building our major and minor scales, but we haven't explicitly calculated their ratios yet. Let's see what we get. * First, C (the tonic) is 1:1, by definition. * Then, we have G = 3:2 (dominant) and F = 4:3 (subdominant), the same as in the Pythagorean system. * The C major triad C:E:G is a ratio of 4:5:6, so E is 5:4. * The dominant major triad G:B:D must therefore be (3:2):(15:8):(9:4), which gives us the value of B and D (and D can be reduced by one octave to 9:8). * Similarly, the subdominant major triad F:A:C must be (4:3):(5:3):(2:1), which gives us the value of A. * The C minor triad is 10:12:15, so Eb is 6:5. * The dominant minor triad G:Bb:D must therefore be (3:2):(9:5):(9:4), which gives us the value of Bb. * Finally, the subdominant minor triad F:Ab:C must be (4:3):(8:5):(2:1), which gives us the value of Ab. In summary, we have the following notes:} C { 1:1 } | {C#/Db???} D { 9:8 } | Eb { 6:5 } | E { 5:4 } | F { 4:3 } | {F#/Gb???} G { 3:2 } | Ab { 8:5 } | A { 5:3 } | Bb { 9:5 } | B { 15:8 } | C { 2:1 } R1 O4 {(Two notes are still missing because they're not present in any of the chords we've used so far. We'll get around to defining those later.) As an aside - why do we notate these notes in this way? That is, why are we calling the notes used only in the minor scale "Eb, Ab, Bb" rather than "D#, G#, A#"? Ultimately it's a matter of convenience - we want each scale to use all seven letters exactly once, so that we can specify the accidentals in the key signature and not have to constantly switch between D@ (D natural) and D#, etc. Now we can ask: What does the flat sign (b) mean? As it so happens, a note with a flat sign is always at a ratio of 24:25 to the corresponding natural note. In other words, "b" lowers a note by 25:24; and therefore "#" raises a note by the same ratio. This interval of 25:24 is called a "chromatic semitone". It's not a coincidence that every flat note is the same interval below its corresponding natural. In each case, we're changing a major triad to a minor triad, i.e. changing a major third (5:4) into a minor third (6:5), and (5:4):(6:5) = 25:24. So, that's how we define the "b" and "#" signs. These are our "coarse accidentals", which are familiar from standard notation. But what about all those "+" and "-" signs? Let's listen again to the Beethoven tune:} O T(4=100) K(BbEbAb) [ G8. C16 | E4 E8. D16 C8. E16 | B@2 C8. D16 | E4 E8. D16 C8. E16 | F2 / R4 O, | [C C C / E E E / G' G G ] | [ G,2 G4 / D2 D4 / G2 G4 ] O, | [C C C / E E E / G' G G ] | [ B,2 / D2 / F2 ] ] R1 O' {Ouch! You may have noticed that the F is no longer being given a "+" in the key signature, so we get this within the last chord:} [Bb/F] R O' {Using the ratios we found above, we can see that Bb:F is in the ratio (9:5):(4:3), or 27:20. Now 27/20 = 1.35, which is very close to the simpler ratio 4:3. It's another wolf interval! It's almost a perfect fourth, but it's slightly too large. For this reason, this interval is called an "acute fourth". How much larger is it than a perfect fourth? The ratio is (27:20):(4:3), which works out to 81:80. Therefore, by raising the F by this ratio, we can restore the harmony:} [Bb/F+] R O | {This ratio of 81:80 is called the "syntonic comma", and is the last piece of the puzzle. We use the "+" symbol to raise a note by this interval, and "-" to lower it (a convention first developed by the composer Ben Johnston in the 1960s). These are our "fine accidentals".} C- | C | C+ {(A "comma" is a small interval which is very close to 1:1. Incidentally, we've already seen a different comma before - namely the ratio 531441:524288 = (3^12 : 2^19), the so-called "Pythagorean comma".) Starting from our base of seven natural notes (CDEFGAB), and combining the coarse and fine accidentals, we can form every note in the grid - that is, every ratio whose components can be factored into powers of 2, 3, and 5. This is the "5-limit tuning" system, also called "just intonation."}
{Part 7: Enharmonics ==================== Now we just need to wrap up a few loose ends. How do we deal with those two missing notes in the scale? In the previous section, we weren't able to derive a value for the notes C#/Db and F#/Gb, because these notes don't occur in any of the basic chords we built our scale from. But now that we've precisely defined the "#" and "b" signs, it's clear what these notes must be: C# = (1:1)*(25:24) = 25:24 Db = (9:8)/(25:24) = 27:25 F# = (4:3)*(25:24) = 25:18 Gb = (3:2)/(25:24) = 36:25 How do we decide which of the two options to use? It depends on the harmonic role that the note is serving.} T(4=140) [ C'2 D24 E D E D E D E D C16 D | E4. F8 E4 D | C D E D8 C | D4 G, G G | C2 D24 E D E D E D E D C16 D | E4. F8 E4 D | C8 D C D D4. C8 | C1 | E2 F#24 G- F G F G F G F E16 F | G4. A+8 G4 F+ | E C C G | C G E C | E'2 F#24 G- F G F G F G F E16 F | G4. A+8 G4 F+ | E D8 C C D E F | D1 / O1 [C/E/G] | [C/E/G] | [C/E/G] | [B/D/G] | [C/E/G] | [C/E/G] | [B/D/G] | [C/E/G] | [D-/F#/A] | [B/D/G] | [C/E/G] | [C/E/G] | [D-/F#/A] | [B/D/G] | [C/E/G] | [B/D/G] ] R1 {Here, it's clear that the note we use has to be F#, because using Gb will either sound extremely dissonant or else force all the other notes to suddenly jump across the grid. For a more complex demonstration of how "enharmonic equivalents" (i.e. notes that are written differently, but correspond to the same key on the piano) come into play, listen to the continuation of Jablonsky's "Transformers" soundtrack from before:} T(4=80) K(BbEbAb) [ R4 C' G E' | F+ D B F' | R E B Gb' | A+ F+ Db A' | R Gb Db Bbb' | Cb A Fb C' | R A Fb Db-' | R Bbb- Fb Db-' | R A Fb Db-' | Cb1~ | Cb / O1 [C/E/G'] | [B,/D/F+] | [B,/E/Gb] | [Db/F+/A+] | [Db,/Gb/Bbb] | [Fb/A/Cb] | [Fb,/A/Db-] | [Fb,/Bbb-/Db-] | [Fb,/A/Db-] | [Fb,~/Gb,~/Cb~] | [E,/Gb/Cb] ] | R1 {There's a lot going on here, but it shows the flexibility of our microtonal notation system. Starting with C minor, this chord progression makes a wide excursion around the grid, making it necessary to use certain notes that you would normally never see, such as Bbb (which is off the grid, just below Gb and Db), Cb, and Fb (which are usually considered the same as A, B, and E respectively). Also, the progression abruptly jumps down by one syntonic comma in order to correct for the "comma pump" phenomenon that would otherwise cause it to end far from where it started. (Can you hear the moment where this happens?) If we try writing the same tune "straightforwardly" using only single-flats and no fine accidentals, the need for all these variant notes becomes obvious:} O K(BbEbAb) [ R4 C' G E' | F D B F' | R E B Gb' | A F Db A' | R Gb Db A@' | B@ A E@ B' | R A E@ Db' | R A@ E@ Db' | R A E@ Db' | B@1~ | B@ / O1 [C/E/G'] | [B,/D/F] | [B,/E/Gb] | [Db/F/A] | [Db,/Gb/A@] | [E@/A/B@] | [E@,/A/Db] | [E@,/A@/Db] | [E@,/A/Db] | [E@,~/Gb,~/B@~] | [E,/Gb/B@] ] {There are so many wolf intervals it's almost unrecognizable!}