Fibonacci Scale

If the Fibonacci sequence (1,1,2,3,5,8,13,21...) were translated into music, how would it sound?  The answer – surprisingly – is, pretty good. Creating the Fibonacci Scale

To play the Fibonacci sequence on a piano, one must assign a number value for every note of the keyboard; A=1, B=2, etc.  As every octave has seven notes, every eighth note starts over at A.  Therefore, 8=A, 9=B, 10=C, etc.  Because there are only 7 possible notes, determining where a given Fibonacci number falls on a scale essentially deals with remainders:

Scale Note = Mod (F,7)

The next, and trickiest step for playing the Fibonacci sequence is finding a piano keyboard that extends into infinity.   Playing only the Fibonacci numbers on your infinite keyboard, one discovers the repeating sixteen note group A-A-B-C-E-A-F-G-F-F-E-D-B-F-A-G (repeat). Expressed numerically (Fibonacci sequence, Modulo 7), the sequence is 1-1-2-3-5-1-6-7-6-6-5-4-2-6-1-7, repeatedly infinitely.

fibonacci-sequence

It's pretty nifty to find an infinite recursive sequence yielding a repeating finite group under modulo 7. But then, the universe is a nifty place.

Playing the Fibonacci sequence on a regular piano (for instance, in one octave of A major) is not unpleasant as the sixteen notes fit squarely into four measures. The sequence begins on the tonic note and ends on the leading tone, musically resolving when the sequence repeats.

It sounds like this: Fibonacci Sequence MP3. Take a listen!

Proving the Finite Group

To prove the Fibonacci sequence under modulo seven has a finite order of sixteen, we can use mathematical induction...  Special thanks to Kiri Wagstaff for helping me with my math!

Since it's known that Fn+1 = Fn + Fn-1, let's assume that:

Mod (Fn+1, 7) = Mod (Fn + Fn-1, 7)

Or in other words:

Mod (Fn+1, 7) = Mod (Mod (Fn, 7) + Mod (Fn-1, 7), 7)

This holds true for our base cases, n = 1 and n = 2.

For our inductive step (to prove the sequence repeats every sixteenth natural number) let's assume that:

Mod (F(n+1)+16, 7) = Mod (F(n+16) + F(n-1)+16 ,7)

OR

Mod (F n+17, 7) = Mod (Mod (Fn+16, 7) + Mod (F n+15, 7), 7)

OR

Mod (2584, 7) = Mod (Mod (1597, 7) + Mod (987, 7), 7)

OR

1 = 1

AND

Mod (Fn, 7) = Mod (Fn+16, 7)

Fibonacci Fugue

Without further ado, here is a fugue I whipped up using the 16 note Fibonacci Scale as the main theme: Fibonacci Fugue MP3. Take a listen!

Order of Group for Non-Western Scales

What does the Fibonacci sequence sound like if played on non-Western scales? Repeating sequences again occur on scales of any length (excepting base 10-divisible scales which spit out gigantic Pisano periods before yielding an identity).  For instance, playing the Fibonacci sequence on a pentatonic scale yields the repeating pattern: A-A-B-C-E-C-C-A-D-E-D-D-C-B-E-B-B-D-A-E.   Playing in a nine note scale also yields a twenty note repeating pattern: A-A-B-C-E-H-D-C-G-A-H-I-H-H-G-F-D-A-E-F-B-H-A-I.

Fibonacci Scales in Bases 2 -15

Examining the modulo sequences, distinct patterns emerge.   The longer the modulo sequence, the more it approaches the Fibonacci sequence.   For instance, all of the sequences begin with 1-1-2-3-5, or A-A-B-C-E.   Furthermore, the sequences all end with the highest possible note in the scale.   Melodically, this means that every sequence begins on the tonic and ends on a leading tone, which is harmonically pleasing.  The second to last note is always A.  The third to last is always the second highest note in the scale.   The fourth to last note is always B, etc.   As larger sequences are generated, greater patterns emerge (see chart above).   Although it must be a mathematical coincidence, these patterns create harmonic consistencies that are not half-bad to listen to.

Perhaps most bizarrely, these Fibonacci scales all appear to obey the laws of musical phrasing.   Simply stated, the peak of a musical phrase is very often the highest note of a musical phrase, and tends to occur around 2/3rds (or maybe .618...) through the length of the phrase.   Furthermore, if a musical phrase begins and ends in the tonic key, the peak of the phrase will often be in the dominant key.   This pattern is bizarrely exhibited in the Fibonacci scales (chart above), which all contain a middle sequence of A-M-N-M-M-L-K, where N is the highest note in the scale, and M is the second highest, L is the third highest, and K is the fourth highest.

Square Scales and Cube Scales

Recurring sequences do not appear to be endemic to the Fibonacci sequence.  Playing the squares (1,4,9, etc) on the infinite piano yields a recurring order of seven {A,D,B,B,D,A,G}.  Playing the cubes (1,8,27) on the infinite piano yields a different recurring group order of seven {A-A-F-A-F-F-G}.   Perhaps these math-based melodies will one day provide inspiration for modern composers.

Chess Music

For absolutely no good reason, I found myself wondering what a chess game would sound like if played on the piano. One can't help but notice that algebraic chess notation maps almost perfectly to scientific pitch notation...

scd_algebraic_notation

The eight columns of a chess board correspond to the eight audible octaves.  E.g., C4 is a middle square on the chess board and C4 is "middle C" on the piano...

pitch_notation

(Both images from Wikimedia Commons).

NOTATION

I know what you're thinking: the diatonic scale has seven notes "A" through "G," but the chess board goes up to "H."  So how can we overlay chess notation with pitch notation?

Fear not!  We'll simply use the Northern European system of musical notation, where an "H" indicates a B Natural, and a "B" indicates a B flat.  This is the notation that composers from Schumann to Lizst used to sign the name "B-A-C-H" into their music (see BACH motif).

The Bach Motif

So we now have a system for mapping the moves of a chess game onto a piano keyboard.  For example, Anderssen's "Immortal Game" begins with 1. e4 e5 2. f4… which maps to E natural in the 4th register, E natural in the 5th register, and F natural in the 4th register.

NOTE VALUE

The remaining task is to assign note values.  What makes a quarter note, a half note, and a whole note?

The relative value of chess pieces is Pawn = 1, Knight = 3, Bishop = 3, Rook = 5, Queen = 9, and King = Infinity.

Assigning these exact ratios to note values will create some rather annoying polyrhythms.  So let's round off the ratios a tiny bit and assign the following note values to the chess pieces: Pawn = 1/16th note, Knight = 1/8th note, Bishop = 1/8th note, Rook = 1/4 note, Queen = 1/2 note, and King = rest.

OCTAVE VALUE

To put the icing on the cake, let's condense the 8 registers into a single octave to make the chess melodies more tolerable. If a note is doubled (as in 1. e4 e5), let's jump the second note up an octave to provide some flavor.

So without further ado, here are three famous chess games mapped onto the piano:

"THE IMMORTAL GAME" June 21 1851

In "The Immortal Game," Adolf Anderssen gave up both rooks, a bishop, and ultimately his queen, in order to checkmate Lionel Kieseritzky using only his three remaining minor pieces - a bishop and two knights.

LISTEN TO THE MP3: The Immortal Game

I set blues chords in the left hand to justify the constant tonal shifts from B to b flat in this chess game. The chords modulate from C Major to F Major and finally end in B Flat Major.

The game/melody: Pe4 Pe5 Pf4 Pe x Pf4 Bc4 Qh4+ Kf1 b5?! Bxb5 Nf6 Nf3 Qh6 Pd3 Nh5 Nh4 Qg5 Nf5 Pc6 Pg4 Nf6 Rg1!! Pcxb5? Ph4 Qg6 Ph5 Qg5 Qf3 Ng8 Bxf4 Qf6 Nc3 Bc5 Nd5 Qxb2 Bd6 Bxg1? Pe5! Qxa1+ Ke2 Na6 Nxg7+ Kd8 Qf6+ Nxf6 Be7#

THE OPERA GAME 1858, Paris

In "The Opera Game," Paul Morphy bested the German Duke Karl of Brunswick and Count Isouard during the Opera "Norma" at the Italian Opera House in Paris.

Morphy won with a snazzy queen sacrifice in what is considered one of the most brilliant combinations in chess history.

LISTEN TO THE MP3: The Opera Game

This bouncy, modal melody seemed to lend itself to a Baroque invention. So I added in a left hand melody using Species Counterpoint.

The game/melody: Pe4 Pe5 Nf3 Pd6 Pd4 Bg4? Pd4xe5 Bxf3 Qxf3 Pdxe5 Bc4 Nf6 Qb3 Qe7 Nc3 Pc6 Bg5 Pb5? Nxb5! Pcxb5 Bxb5 Nbd7 0-0-0 Rd8 Rxd7 Rxd7 Rd1 Qe6 Bxd7+ Nxd7 Qb8+! Nxb8 Rd8#

World Chess Championship 1972, Game 6

Bobby Fischer bests Boris Spassky with an aggressive queenside attack. Spassky joined the audience in applauding Fischer's win and called it the best game of the match.

LISTEN TO THE MP3: Bobby Fischer 1972

This chess game produced a wild jumble of syncopated sevenths and minor seconds. I tried to find order in the atonal chaos by laying in major ninth and suspension chords. My hope was to somehow evoke the major seventh chord sound of the 1970s, when this game was played. It came out sounding like if Schoenberg wrote intro music for a morning talk show.

The game/melody: 1.c4 e6 2.Nf3 d5 3.d4 Nf6 4.Nc3 Be7 5.Bg5 O-O 6.e3 h6 7.Bh4 b6 8.cxd5 Nxd5 9.Bxe7 Qxe7 10.Nxd5 exd5 11.Rc1 Be6 12.Qa4 c5 13.Qa3 Rc8 14.Bb5!? 14...a6?! 15.dxc5 bxc5 16.O-O Ra7 17.Be2 Nd7 18.Nd4 Qf8 19.Nxe6 fxe6 20.e4 d4 21.f4 Qe7 22.e5 Rb8 23.Bc4 Kh8 24.Qh3 Nf8 25.b3 a5 26.f5, exf5 27.Rxf5 Nh7 28.Rcf1 Qd8 29.Qg3 Re7 30.h4 Rbb7 31.e6 Rbc7 32.Qe5 Qe8 33.a4 Qd8 34.R1f2 Qe8 35.R2f3 Qd8 36.Bd3 Qe8 37.Qe4 Nf6 38.Rxf6 gxf6 39.Rxf6 Kg8 40.Bc4 Kh8 41.Qf4 1-0

UPDATE: By reader request, I've translated Beethoven's "Ode to Joy" into a chess game. Click the link to see the video.