Thursday, October 16, 2014

Outer Discord, Inner Concord: The Physics of Music

'Clink' said the hammer. 'Clink, clink' said the hammer.
Pythagoras leaned against the sweaty wall of the smithy, clearly bored. His friend's work excited him not at all, and he was eager to get back to his wax tablet and stylus at home. Maybe work on some logarithms. The blacksmith hit the sword blade with quite a small hammer, looking for flaws. [Note: I know next to nothing about forging. Don't trust the blacksmith's techniques.]
'Clink' said the hammer.
Half closing his eyes, Pythagoras wondered when the Screaming Muses' next concert was. He moved his finger smoothly through the air to the beat of a remembered melody. He enjoyed music. Its spontaneity and chaos offered respite, a relief from the burning rows of numbers that forever marched across his mind.
The blacksmith picked up the blade with a pair of tongs and dunked it in a vat of water.
'Hiss' went the water.
Then the burly man hefted another block of heated iron onto the anvil and began to hit it with a larger hammer, a real thunder-god, mountain-on-a-stick type thing.
'Bong' said the hammer.
The young mathematician jerked his eyes fully open. That note had been significantly deeper than the notes produced by the lighter hammers. Weight--how well he knew--was a mathematical expression. A sudden fear gripped him. Could it be that music, his one balm, could be explained by mathematical formulae? The irrational urge to explain, to overcome a mystery, seized him. 
"I am sorry, Lysippos. I must go," said Pythagoras. Then, true to his word, he was gone. When he got home, he worked frenetically with blocks of wood, cords, and iron weights until his hands were raw and his eyes burning. His last thought before sleeping and his first after waking was that forever after he would see the mathematics behind the music. The method to the madness.

I'll admit it, that was a bit dramatized. And probably not largely based in fact. Ancient Greek philosophers were not known for experimentation, which is why Aristotle got pretty much everything he ever said wrong. But it's a good story, and I like it, and the underlying message is true: there is physics within music. 
People have a tendency to put science and art in opposition. Most people would concede on an intellectual level that colors and sounds are merely physics and that cookery (which is another art) is merely chemistry and gastroenterology, and the effects they have on the three-pound blob of lipids that fill their crania are mere neurology. But on another level, we suspect that there is more to art than that. I am inclined to agree: there is more to music than air pressure and sine-waves. But it does start there, and the relationships between science theory and music theory can be interesting to examine. If you like science. If you don't, feel free to stop reading now.

Hah! Gotcha.
Music (this is the driest definition I can think of) is essentially a way of structuring various sounds and pauses to create a pattern that is meaningful in some way to the human psyche. The sounds vary largely according to volume and pitch (changes of an apparently different nature, such as staccato/legato, etc, are actually caused by minute changes in one of the two. I think). We will be focusing on pitch, because it is the only part of musical physics I can really claim to have any knowledge of.
First, some info everyone will know: Vibrations in the air cause sound. The sound's pitch is dependent upon the frequency of the wave, measured in Hertz (Hz). The higher the frequency, the higher the pitch. Simple stuff.
Now, more stuff. I bet a lot of you will already know this, too, though maybe not in these terms: the relationship of note to frequency is not proportional. It is exponential. Take a note. Call it 'do.' Say its frequency is 1 Hz. The next 'do,' an octave up, is 2 Hz. But the next 'do,' up another octave, is not 3 Hz. It is 4 Hz. The frequency of each 'do' is technically twice that of the 'do' preceding it, which is why holding down a guitar string in the center and plucking it raises the pitch by an octave: halving the length of the string increases the frequency of the vibration by a factor of two. Though this relationship is probably familiar to a lot of you, some of the conclusions that can be drawn from it might not be.
For instance, it means that not all whole steps are created equal. The change in frequencies (ΔHz) between A and B is smaller than that between B and C. Adding half steps and accidentals to the mix make things only more complicated. If you know the starting note of a scale, figuring out the changes in frequency per half-step is something like the number which multiplied by itself fourteen times equals two.  This number can be found by log(subscript2)14=x. However, I'm probably wrong, so on to Wikipedia...
"Starting from a frequency on the idealized piano tuned to A440, one obtains the key number by:

n = 12 \, \log_2\left({\frac{f}{440 \,\text{Hz}}}\right) + 49
,"

where n=1 corresponds to the first A on a standard piano keyboard. Speaking of boards, I'm sure I've bored you all to tears. Goodnight. 
The link to that Wikipedia page, if anyone's interested:
http://en.wikipedia.org/wiki/Piano_key_frequencies

No comments:

Post a Comment