email: tom.bajoras@gmail.com    
         

Archive for Just a thought

Are We Running Out of Melodies?

First warning: This article contains math.

Second warning: I’m not very good at math.

I don’t know why, but tonight I found myself pondering the question “How many melodies are there?” Maybe I was worried that we’re running out of them. (A quick survey of recent pop music might suggest this.)

Human beings have been writing songs for as long as there have been human beings. The oldest written song is the Hurrian Song to Nikkal, written around 1400 BC, but even in prehistoric times there were no doubt songwriters, whose melodies are now lost to us.

There are now more than 7 billion people in the world, so there must be more songwriters living now than at any other time in history. Heck, there are probably more songwriters now than there were people at some point in the past.

And all those songwriters are using up melodies. Not always of course, since imitation and blatant thievery are well-established parts of the creative process. But unless we’re all just endlessly recycling the same melodies, some of us must be inventing new ones and therefore depleting the supply of melodies not heard before.

How long until there are no new melodies?

OK, here’s where the math comes in. For the sake of this discussion, let’s limit ourselves to the Western chromatic scale, i.e. all the keys on a piano. But two melodies that are different only by shifting some of the notes to a different octave aren’t going to be heard as different melodies. For example, consider these two melodies:

melody 1

 

melody 2

 

 

If you tried to claim that the second melody is original, I’m afraid people would laugh at you, and if you took it too far, Mozart might sue you.

So we’re really only dealing with 12 notes, because every other note is just one of those notes shifted to a different octave.

How many melodies can we make with 12 notes? It depends on how long the melody is. If our melody is only one note long, then obviously there are only 12 possible melodies. If our melody is two notes long, then there are 12×12, or 144, possible melodies. Here are the first 36 of them; you can probably figure out the rest:

two-note melodies

 

 

 

 

Now, what about a melody that’s 3 notes long? There are 12x12x12, or 1728 possibilites. Similarly, there are 12x12x12x12 (­20736) 4-note melodies, 12x12x12x12x12 (248832) 5-note melodies, and so on. The formula to calculate the number of possible melodies using N notes is 12^N, meaning 12 multiplied by itself N times. So if we want to know how many possible 20-note melodies there are, we just multiple 12 by itself 20 times. The result of that calculation is 3,833,759,992,447,500,000,000.

Now we’re getting into some big numbers, and I’m starting to feel a little better about the remaining supply of melodies. In fact, the number of possible 22-note melodies is roughly the same as the number of stars in the universe. Now I’m feeling safe.

But so far we haven’t tried to draw any distinctions between good and bad melodies. Those 144 two-note melodies, for example, are probably not very interesting. And a random collection of 22 notes generated by a computer program might be a melody but is not likely to be a good melody.

So even though on a theoretical level we’ll never run out of melodies, the more important question is “will we ever run out of good melodies?” I don’t know. But here’s a melody, which I think is a pretty good one:

22-note melody

 

 

It has 22 notes, so it’s like one out of all the stars in the universe. And if you hum it, there’s a good chance that you and I and other readers of this article are the only human beings who have ever lived who have ever heard this melody.

That’s pretty cool.

 

Hair Color

I find it odd that “race” is mostly defined by the darkness of a person’s skin. This seems like an arbitrary distinction, because there are so many other parameters of the human body, any one of which could be used to create categories.

For example, imagine what the world would be like if we had decided to define “race” by hair color instead of skin color…

– Cities divided into neighborhoods, each one having a particular color hair.

– People with a particular hair color would be more likely to be wealthy, educated, employed, and owning their own home.

– Certain professions would be mostly the same hair color.

– People would have insulting slang terms for people with different hair colors.

– People with different hair colors would listen to different kinds of music, have their own TV channels, and would be eligible for hair color specific scholarship programs.

– Some marriages that are currently interracial would no longer be, and vice versa.

– You’d hear someone say “You wouldn’t understand; it’s a brunette thing.”

– You could be in danger for having the wrong hair color in a particular place or situation. You might even lose your life for it.

Is music an essential skill?

Should music be considered an essential skill? If someone (at least in the United States) graduates from high school without knowing how to read, write, or do arithmetic, most people would say that there’s something lacking in that person’s education. What if the high school graduate can’t find the United States on a map of the world? What if they can’t explain, at least in simple form, how the United States came to exist as a country? But it strikes me as odd that few people would question similar deficiencies in music. If someone can’t read music, can’t play an instrument, can’t sing, and can’t identify the name of an instrument from its sound, then I suspect most people would put that in the same category as “can’t dribble a basketball” or “can’t speak French.” Is that weird, or am I biased because I’m a musician?

I’m just thinking out loud. Sorry, I don’t have any answers.