One explanation for this is purely physical. If notes with frequencies that are not related by simple whole numbers are sounded together, they interfere with each other to produce 'beats', a jarring low-frequency buzz. Sounds that make the sensory hairs in our ears vibrate in simple patterns are necessarily harmonious in the Pythagorean sense, and if they aren't, we hear the beats and they have an unpleasant effect. There are many mathematical patterns in musical scales, and they can be traced, to a great extent, to the physics of sound.
Overlaid on the physics, though, are cultural fashions and traditions. As a child's hearing develops, its brain fine-tunes its senses to respond to those sounds that have cultural value. This is why different cultures have different musical scales. Think of Indian or Chinese music compared to European; think of the changes in European music from Gregorian chants to Bach's Well-Tempered Clavier.
This is where the human mind is situated: on the one hand, subject to the laws of physics and the biological imperatives of evolution; on the other, as one small cog in the great machine of human society. Our liking for music has emerged from the interaction of these two influences. This is why music has clear elements of mathematical pattern, but is usually at its best when it throws the pattern book away and appeals to elements of human culture and emotion that are -for now, at least - beyond the understanding of science.
Let's come down to Earth and ask a simpler question. The wells of human creativity run deep, but if you take too much water from a well it runs dry. Once Beethoven had written the opening bars of his Symphony in C Minor -dah-dah-da DUM -that was one less tune for the rest of us.
Given the amount of music that has been composed over the ages, maybe most of the best tunes have been found already. Will the composers of the future be unable to match those of the past because the world is running out of tunes?
There is, of course, far more to a piece of music than a mere tune. There is melody, rhythm, texture, harmony, development ... But even Beethoven knew you can't beat a good tune to get your composition off the ground. By 'tune' we mean a relatively short section of music - what the cognoscenti call a 'motif' or a 'phrase', between one and thirty notes in length, say. Tunes are important, because they are the building blocks for everything else, be it Beethoven or Boyzone.
A composer in a world that has run out of tunes is like an architect in a world that has run out of bricks.
Mathematically, a tune is a sequence of notes, and the set of all possible such sequences forms a phase space: a conceptual catalogue that contains not just all the tunes that have been written, but all the tunes that could ever be written. How big is T-space?
Naturally, the answer depends on just what we are willing to accept as a tune. It has been said that a monkey typing at random would eventually produce Hamlet, and that's true if you're willing to wait a lot longer than the total age of the universe. It's also true that along the way the monkey will have produced an incredible amount of airport novels[68]. In contrast, a monkey pounding the keys of a piano might actually hit on a reasonable tune every so often, so it looks as though the space of acceptably tuneful tunes is a reasonable-sized chunk of the space of all tunes. And at that point, the mathematician's reflexes can kick in, and we can do some combinatorics again.
To keep things simple, we'll consider only European-style music based on the usual twelve-note scale. We'll ignore the quality of the notes; whether played on a piano, violin, or tubular bells, all that matters is their sequence. We'll ignore whether the note is played loudly or softly, and more drastically -we'll ignore all issues of timing. Finally, we'll restrict the notes to two octaves,
25 notes altogether. Of course all these things are important in real music, but if we take them into account their effect is to increase the variety of possible tunes. Our answer will be an underestimate, and that's all to the good since it will still turn out to be huge. Really, really huge, right? No - bigger than that.
For our immediate purposes only, then, a tune is a sequence of 30 or fewer notes, each chosen from 25 possibilities. We can count how many tunes there are in the same way that we counted arrangements of cars and DNA bases. So the number of sequences of 30 notes is 25 x 25 x ... x
25, with 30 repetitions of that 25. Computer job, that: it says that the answer is
867361737988403547205962240695953369140625 which has 42 digits. Adding in the 29-note tunes, the 28-note ones, and so on we find that T- space contains roughly nine million billion billion billion billion tunes. Arthur C. Clarke once wrote a science fiction story about the 'Nine billion names of God'. T-space contains a million billion billion billion tunes for every one of God's names. Assume that a million composers write music for a thousand years, each producing a thousand tunes per year, more prolific even than The Beatles. Then the total number of tunes they will write is a mere trillion. This is such a tiny fraction of that 42-digit number that those composers will make no significant inroads into T- space at all. Nearly all of it will be unexplored territory.
Agreed, not all of the uncharted landscape of tune-space consists of good tunes. Among its landmarks are things like 29 repetitions of middle C followed by F sharp, and BABABABABABABABABABABABABABABA, which wouldn't win any prizes for musical composition. Nevertheless, there must be an awful lot of good new tunes still waiting to be invented. T-space is so vast that even if good-tune-space is only a small proportion of it, good-tune-space must also be vast. If all of humanity had been writing tunes non-stop since the dawn of creation, and went on doing that until the universe ended, we still wouldn't run out of tunes.
It is said that Johannes Brahms was walking along a beach with a friend, who was complaining that all of the good music had already been written. 'Oh, look,' said Brahms, pointing out to sea.
'Here comes the last wave.'
Now we come to what may well be the chief function of art and music for us -but not for edge people or chimpanzees, and probably not for Neanderthals. This, if we are right, is what Rincewind has in mind. When we look at a scene we see only the middle five to ten degrees of arc. We invent the rest all around that bit, and we give ourselves the illusion that we're seeing about ninety degrees of arc. We perceive an extended version of the tiny region that our senses are detecting. Similarly, when we hear a noise, especially a verbal noise, we set it in a context.
We rehearse what we've heard, we anticipate what's coming, and we 'make up' an extended present, as if we'd heard the whole sentence in one go. We can hold the entire sentence in our heads, as if we heard it as a sentence, and not one phoneme at a time.
This is why we can get the words of songs completely wrong and not realise it. The Guardian newspaper ran an amusing section on this habit, with examples such as 'kit-kat angel' for 'kickass angel' - bit of a generation gap there, which underlines how our perceptions are biased by our expectations. Ian recalls an Annie Lennox song that really went 'a garden overgrown with trees', but always sounded like 'I'm getting overgrown with fleas'.
Holding a whole sentence, or a musical phrase, in our minds is what we do with time when we watch a TV or a cinema-screen. We run the frames together into a series of scenes, as well as making up all the spatial stuff that we're not actually looking at. The brain has so many tricks that its owner is not conscious of: as you sit there in the cinema your eyes are flicking from place to place on the screen, as they are doing while you read these words. But you turn off your perception as your eyes move, and re-jig your invented image so that your next retinal image is consistent with the previous version. That's why you get seasick or car-sick: if the outside image jumps about and isn't where you expect it to be, then that upsets your sense of balance.
68
Though Ian has a friend, an engineer named Len Reynolds, whose cat managed to type 'FOR' into his computer by walking on the keyboard. Three more letters, 'MAT', and the cat would have wiped his hard disc.