Category Archives: Art

Leveraging the Inventiveness in your Mind

There are some tasks our brains find hard. We cannot remember long numbers or calculate square roots and we learn information at such a low rate, it takes a lifetime to fill up our hard drive/brain.

illusion

The impressive visual tools in our brains are fun to trip up.

We are fooled by simple magic tricks, our memories can change and we constantly lie to ourselves in order to avoid cognitive dissonance.

Yes, we are pretty awful, and it’s pretty amazing we manage to get through the day. The reason we do is that our brains were not designed to remember long numbers or to calculate square roots, we were designed to …get through the day.

Thus it’s no surprise that we can spot tigers hiding in the shrubbery, and judge someone’s intent from the curl in the corner of their mouth – things computers can’t even dream of!

evolution

Amazing Things the Brain Can Do

There are some really remarkable abilities the evolutionary arms race has given us. Consider for a moment how hard it is to teach these skills to a computer:

  • Facial recognition (from any angle!) – and similar advanced pattern recognition
  • Theory of mind – our ability to realize that others have motives and intentions and the ability to guess them reasonably well
  • Inventiveness – our ability to make connections from disparate fields

Much has been said about these skills, and in particular, much value has been placed on theories about our inventiveness – if only we can understand how we invent, we can unleash a torrent of innovation!

torrent_of_ideas

The ideas usually run something like this: the human mind is so highly integrated that many concepts are forced to overlay one another so connections are inevitable – while others suggest the mind reviews new learning each night during sleep and tries to spot patterns, suggesting our innovative spark is really just our pattern recognition skill in disguise [1].

While I suspect there is truth to both theories, there is probably more to it than that…

Another Amazing Skill Often Overlooked

Now – if you have ever caught a child being naughty, you may have been lucky enough to see another remarkable human talent…

Lying.

naughty-baby

Lying is tricky. Lying requires amazing computation – it needs theory of mind, it requires creativity, and does its invention under pressure.

Lying requires creating an entire alternate reality that fits the evidence but makes you look innocent of all crimes! It’s so hard that young kids don’t always get it quite right, but at some point most of us master the art. Our brains can also be switched to this mode of inventive overdrive in another way: when we attempt to explain incomplete data.

The most common opportunity to fit a narrative to incomplete data is when we recall faded memories – it turns out many of  us can bring out our internal Dr. Seuss when recounting our roles in past events.Dr-seuss-oh-the-thinks-you-can-think1

And because we all like to think of ourselves as pretty darn awesome, our memories cannot contain any information that could contradict this most evident truth. Thus when we recall situations when we did something downright shameful, our brains become positively electrified and we will magic up perfectly good reasons for what we did out of thin air.

Almost everyone can do it. However, if you ask us to write a short bit of utter fiction, our ability instantly vanishes.

writers_block

Leveraging Brain Power

So the question is this… how can we tap into these remarkable abilities? Do creative people already do it?

I, for one am going to try!

————————————————-

[1] How the mind works – Steven Pinker

Photo of the Day: Sparkling!

Lemonade!

Like most of my photos, another opportunistic one; here I was waiting at one of our favourite Pizza spots, and Jules took the kids off to the little girls room; the light was bright and allowed my trusty old Panasonic DMZ-TZ6 aspire to greater pretensions.

I was really pleased when I got this up on the PC screen later – it seems so fresh and clean, like an iced-jacuzzi!

 

Musical Notes Explained Simply

Have you ever wondered how the musical notes we use were chosen?

I mean when I was growing up I was learning one thing in music class  (do-re-me-fa-so-la-ti-do!) and another in science class (440Hz) and never the twain did meet…

So what gives? I always suspected the musical community were being scientific, but their language was all Greek to me.

Years passed and only rarely did I get the chance to wonder at this question – and meantime my science education was getting the upper hand – I learned how sounds travel through the air and how the ear works – how deep, low notes are the result of compression waves in the air, perhaps a few meters apart, while higher pitched sounds where compression waves much more tightly packed, perhaps millimeters apart. I also learned a note could have any frequency, and so no reason to pick out any ‘special’ frequencies.

However,  just recently I realized, in a flash of light, that with an infinite number of notes to choose from, musicians had very deliberately selected only a few to make music with, and I suddenly wanted to know why. Was it arbitrary? Was it the same in different cultures? Why did some notes seem to go together and others seem to clash? And of course, as The Provincial Scientist, I wanted to know if our early musicians had done well in their choices.

As it is now the era of the internet I set about to find out more and thought it was so interesting, it would be a crime not to report what I learned on my blog. So here is what I learned…

In Search of Middle C

The best place to start is probably a vibrating string. The vibrating string is clearly key to pianos, harps, guitars and, of course, the entire ‘string’ section of an orchestra. If you stretch a string and pluck it, you are starting an amazing process – as you pull on the string, you create tension, you literally stretch the string and store energy in the fabric of the string. When you let go, the string shrinks under that tension, which pulls it straight. Alas, when its straight it has picked up some speed and the momentum keeps it going until the string is stretched again – thus the string swings back and forth – and it would continue forever were it not for frictional losses – energy is lost in heating the string, but some is also lost in buffeting the air around the string. The air is pushed then pushed again with each cycle creating compression waves that ripple out into the room – and into our ears. Thus we hear the string.

You can see the vibrating string doing it’s magic here:

[youtube=http://www.youtube.com/watch?NR=1&v=6JeyiM0YNo4]

You can see in the video that the string swinging back and forth is an awful lot like a wave moving up and down the string! Indeed it is!

The speed at which the wave moves (or string vibrates back and forth) – and thus the note we hear – is determined by a few simple factors – the tension in the string, and the weight of the string and the length of the string. The greater the tension, the greater the force trying to straighten the string, but the greater the weight, the more momentum there is to make it stretch out again.

It is therefore easy to get a wide range of notes from a string, start with a long, heavy wire and only tension it enough to remove all the slack. The note can then be gradually increased by decreased the length or the weight of the wire, or by increasing the tension. These are the tricks used in pianos, guitars and so on.

So far so good. But if you have several strings to tune up, what notes should you pick – from infinitely many – to make music with?

The human ear is an amazing device and can hear notes ranging anywhere from 20 to 20,000 compressions per second (the unit for per second is called Hertz or Hz for short). That is a lot of choice!

As I am sure you guessed, the key is to understand why some notes seem to ‘go together’, and the answer lies back in the vibrating string.

Overtones of Overtones

Firstly, it turns out that when you pluck a string, you actually get more than one note. While the string may swing back and forth in one elegant sweep, it may also get shorter waves, with half or a third or quarter the wavelength hiding in there too. This video shows how one spring can vibrate at several speeds:

[youtube=http://www.youtube.com/watch?v=3BN5-JSsu_4&feature=related]

Although the video shows the string vibrating at one speed each time, it is actually possible for a string to carry more than one wave at a time (this amazing fact deserves its own blog posting, but we will just accept it for now).

So when a string is plucked, the string ‘finds’ ways to store the energy with vibrations – it finds a few frequencies that carry the energy well, these are called ‘resonant frequencies’, there will be several, but they will all be multiples of one low note. As these higher notes are all multiples of a single low ‘parent’ note, they also have consistent frequency relationships between one another, 3/2, 4/3, 5/4 and many many others.

String Harmonics

So clearly, once you have one string, and you want to add a second, you could tune the second string to try to match some of the harmonics of the first string. The best match is to pick a string whose fundamental note is at 2x the frequency of the first string. This string’s fundamental note will match the first string’s 2nd harmonic (also called its first overtone). The second string’s harmonics will also perfectly match up with pre-existing harmonics from the first string. The strings are what is called consonant, they ‘go together’.

Now although the second string will have some frequencies in common with the first string, it turns out that there is an even stronger reason why these notes will go together – it is because when you play several strings at once, you are no longer just playing the strings, the instrument you are playing is the listener’s eardrum. The eardrum will vibrate with a pattern that is some complex combination of the wave-forms coming from the two (or more) strings. When you add two notes together, it is like adding two waves together and you get an interference pattern – the interference may create a nice new sound:

If we add a low note (G1) to a note one octave higher (G2) we get a totally new sound wave.

If, as in this example, one string vibrates at exactly twice the frequency of the other, the two notes will combine to make a handsome looking new waveform, with ‘characteristics’ from both the original waves – but if the frequencies are not a neat ratio, you will get something a bit messy:

This waveform may not repeat, and is unlikely to be consonant with any other notes you may care to add.

Sometimes, when your second string is fairly close in frequency to the first (say 1.1 x the first string’s frequency) then a second phenomenon rears its head, beating. This leads to the creation of entirely new (lower) frequencies that the ear can hear [click here to listen to a sample]. The sum now looks like this:

Beating can sound awful, though of course, the skilled musician can actually use it to create useful effects.

Beautiful Ratios

We have seen that once you have selected one note, you have already greatly reduced the ‘infinite’ choice of other notes to use with it – because only some will be consonant. Although the best consonances are at exactly 2x the first frequency, we see that once you have picked two strings, the choice for the third string is more limited. Should you be consonant first the first string or the second? Can you be consonant with both? You can be fairly consonant with both, but only by being 2x and 4x their respective frequencies. If you picked all your strings as multiples of the first string, the ‘gaps’ between the notes would be very big, akin to playing a tune with only every 12th key on a piano. So how can we fill in the gaps?

Well, early thinkers quickly realized that you can’t actually select a perfect set of notes – some combinations will mesh well, others will be just a little bit odd. This realization was probably a bitter pill for early musician-scientists to swallow.

In the end, they came up with many competing options, each designed  to maximise the occurrence of good ratios  – a good example is the just intonation scale:

Note: C D E F G A B C
Frequency ratio to the first note: 1 9/8 5/4 4/3 3/2 5/3 15/8 2

Here, the musician picks two notes that are consonant (C and the next C one octave higher) and then divides the gap into seven steps. Each note is a special ratio of the lower note – we get neat ratios of 5/4, 4/3 and 3/2 showing up which is good, however the ratios between adjacent notes are much less pleasing!

Aside: You will also see that the steps from B to C and E to F are rather small! Now take a look at your piano and note these notes correspond to the white keys on the keyboard that have no black keys between them! This is no coincidence…

Is the ‘just intonation’ division perfect? No, the notes are not all consonant! Remember that with 8 notes in this group, there are 7+6+5+4+3+2+1=28 ratios (or note pairs), and there is no known way to choose them to all be consonant. That is why, although most musical cultures divide their music notes into ‘octaves’ (nicely consonant frequency doublings), there have evolved many different ways to make the smaller divisions.

Western music has tended to divide the octave into 7 notes (the heptatonic scale) , you could really use any number. Let’s stick with 7 for now.

Another popular way to divide the octave is the Pythagorean tuning:

Note: C D E F G A B C
Frequency ratio to the first note: 1 9/8 81/64 4/3 3/2 27/16 243/128 2

This scale is based on prioritizing the 3/2 overlap of harmonics and moves three notes very slightly.

It is key to remember there are dozens of ways to do this, depending on what you are trying to optimise – do you want to match the greatest number of harmonics, or some smaller number of stronger harmonics? It may even be that personal taste could come into play.

The Wonderful Piano

Have you ever wondered why you hear someone is playing something in C-minor or F-major? What is the deal there? Well, these are also ‘scales’ – alternative ways to cut up the octave, but from a specific family that lives on the piano.

You see, the piano could also divide the octave into 7 notes, and indeed it was once so divided, but with time musicians realised they could open up more subtlety in their music by adding in more notes. So they decided to add the ‘black notes’, the extra black keys on the keyboard!

So in addition to the 7 notes A,B,C,D,E,F & G, they added C#, D#, F#, G# and A# – they called them ‘half tones’ or accidentals. Of course, there are already two half steps (B-C and E-F) which is why there is no B# or E#. These extra notes gave us 12 smaller steps, and of course choosing 12 consonant notes was even harder than choosing 7!

So, after some hard thinking by scholars including  J.S. Bach, a very sensible decision was made – to divide the octave into 12 ‘equal’ steps, which gives us the so-called ‘equal temperament‘, the most popular way to tune a piano. To do this, each note is 21/12 or 1.05946… times higher in frequency than the last one, such that twelve steps will eventually give you a doubling.

However, our musical notation is older than the piano and generally only allows for 7 notes per octave, so how do you write music for 12?

Despite that there are 12 notes, composers have tended to still feel some combinations of 7 notes ‘go together’ better than others and so have persisted to write music using only 7 notes, though of the many hundred’s of ways you could choose the 7 notes, they have selected 12 combinations, the 12 “Major scales“:

The Major Scales (down the left). Each uses only 7 of the 12 notes on the piano keyboard. The shaded vertical lines correspond to the black keys on the piano.

Personally, realising what these scales were was a breakthrough for me. Looking the above map helped me to realize several things:

  1. Many long pieces of music will completely ignore nearly half (5/12ths) of the keys on the piano! To play a tune based on a certain ‘scale’ is sometimes said to be played in that ‘key‘.
  2. The scale of C-Major ignores all the black keys, and is probably the oldest/original scale.
  3. Each scale is displaced 4 ‘steps’ from the previous scale (there is a #1 beneath each #5). This 1st to 5th note relationship turns out to be important.

Aside: Note that there are also the 12 “minor scales“. These scales actually use the same 12 subsets of keys as the major scales, but are ‘shifted’  – they have a different starting point (base note, or ‘tonic‘).  This may seem a trivial change, but because the gaps (steps in frequency) are not all evenly sized in these scales, the major and minor scales have their two ‘small’ steps in different places, which is supposed to change the feel or mood of the music (or even the gender!)

The Number 5

The number ‘5’ in the pattern we saw above (5th note) was noticed by musicians long before me, and it shows up in other places too.

For example, we saw in the ‘just intonation’ scale above, that the note G had a frequency ratio of exactly 3/2 with the note C. This means that when you hear both together, every third vibration of the higher note will coincide with every second vibration of the lower note. They are thus highly consonant – and they are 4 steps apart on the stave.  This relationship is called the ‘perfect 5th‘. It is again no coincidence that the 5th note of each scale is has a frequenxy eactly 50% higher than the 1st and is the 1st base note (aka tonic) of the next scale. Stepping in 5th’s (ratios of 3/2 in frequency) 12 times takes you through exactly 5 octaves and eventually back to the first scale.

This cycling behavior allowed the invention of a learning tool called the ‘circle of fifths‘, which helps us to understand  the relationships between the scales.

Yet another aside: The ‘perfect fifth’ is called perfect if it is truly a ratio of 3/2 – but recall that pianos have their 12 notes ‘evenly spaced’ (a geometric progression) so the ratio of G to C on the C-Major scale will not be exactly 3/2 – it is actually 0.113% off!

But What About Middle-C?

Ok, so we have seen how some notes ‘go together’, and how once you have one note, you have clever ways to find families of notes that compliment that note – but that leaves just one question – how do we pick that first note?

The leading modern convention is use the note A that comes after (above) middle-C, and to set it at 440Hz exactly.

The question is, why?

Well firstly, I shall point out that the 440Hz convention is not fully accepted. For example, anyone who wants to hear, for example, the Gregorian chants the way they originally sounded, would need to use the conventions of the time. Thus there are pockets of musical tradition that do not want to change how their music has always sounded.

However, when it comes to performing a concert with many instruments, it is useful if they all adopt the same standard. The standard is thus sometimes called the concert pitch, and though 440Hz for A is common, this number has been seen to vary from 423Hz to as high as 451Hz.

So the short answer is, there is no really good reason; the choice of 440Hz really just ’emerged’ as a more common option, and when they standardized they rounded it off. While this answer is ultimately trivial, I find a little amusement in the fact that all the music we hear sounds the way it does for no particular reason!

Conclusion

Before I go, there is a video I want you to look at. I think it shows beautifully how 12 different frequency oscillations can exhibit some beautiful harmony (or harmonics!)

[youtube=http://www.youtube.com/watch?NR=1&v=7_AiV12XBbI]

All Done! Ready to Read Some Music?

The next step is to learn to read musical notation – luckily someone has already written an excellent tutorial with pretty pictures.

All I can hope is that the weird things they teach you in this tutorial will be a little less weird now we have covered the baffling origins of the notes!

Jarrod Hart (Los Olivos, CA, October 2011)

===============================

A couple more useful references:

http://www.mediacollege.com/audio/01/sound-waves.html

http://www.get-piano-lessons.com/piano-note-chart.html

http://www.thedawstudio.com/Tips/Soundwaves.html

An itch scratched…

Tennyson said:

‘Tis better to have loved and lost
Than never to have loved at all.

I propose a more general theorem, to which I believe the above a corollary:

‘Tis better to have itched and scratched
Than never to have itched at all.

——————————————–

Consider:

A weekend spent fixing something broken is more satisfying than a weekend spend idle – with nothing broken.

The Amgen Tour of California – a few pictures

I though I would pop up a few pictures I took today watching the tour of California. My wife (the professional) suggested I should have stopped after the first one. And she could not repress the hint of a sneer as we scrolled down past #3. I could read it in her eyes: photoshop filters, she was thinking, should require a license. I guess I’ll need to keep my day job 🙂

On the plus side, the bottom one actually seems to get a little clearer if you blur your eyes. Especially the front wheel which comes into shape. Prizes for anyone who explains it!

Will art, the talent for emotional manipulation, be overtaken by science?

There is something in our makeup that makes us appreciate hard work. When we admire the pyramids at Giza, or the fine chinese lacquerware, we can imagine the effort that must have been involved. Not just the muscle – but the discipline – lifetimes of work.

When I was a teenager, I spent many hours drawing – and I got pretty good but at some point, I think I was 19, I just stopped. Why? I think I looked at my creations and compared them with photographs and found them wanting. What was the point of photo-realistic drawing in a world full of cameras? It occurred to me that of course I was still impressed with work like that of Chuck Close, but I could not understand why. Not only does he bring realism to it’s logical extreme, but then he takes to tricks like using how our eyes merge small dots to compose images. Why is this trickery impressive? It goes beyond realism, it impresses us with it’s cleverness, rather than it content – the content becomes pretty much irrelevant.

So we are impressed not only by the evidence of labour, but of cleverness. However, when I think about what I achieve in life, I do not want to be known for simply being hard working, or clever, but rather for what I actually achieve. Simply drawing well demonstrates an ability, but unless that ability is then applied to important work: protecting the environment, mitigating injustice, that sort of thing, or at least to inspire others to do so, it could be considered pure vanity.

So I gave up on drawing. I am a bit older now and have come to re-evaluate this position with the benefit of a few more years.

One thing I have learnt (from my closest family who turned out, as luck would have it, to be talented artists) is that there is more to art than my painfully logical mind wants to admit. I can obviously not explain art in a nutshell – besides, like so many things worth knowing one really needs to find this out for oneself.

What I want to focus on here, as usual, is the scientific approach to art, and to start I will make a controversial claim…

Art taps into instincts, and does not understand itself.

Think of a beautiful singing voice. It is clearly possible to play the heartstrings with the right voice. Even if the song were written by someone else, one would struggle to argue that the songwriter or singer can explain why the song plays the heartstrings. I venture that this is similarly true for beauty.

On the other hand, the field of science progressing fastest of late is the study of the human mind. We are only just starting to understand its complex mechanisms, and if a good neuroscientist is happy to admit we are scratching the surface, then it is probably fair to say the poet is playing the instrument of the mind the way most people use a computer – without a full understanding of its workings.

Without insight into the workings of a system, the poet is reduced to trial and error, treating the mind like a black box, poking it and prodding it and seeing the response. While this type of analysis has revealed much about the mind, it is necessarily lacking and frequently runs into inconsistencies that cannot be explained.

As our ancestors have interacted for millennia, we have developed very strong insights for how the mind works and instincts about how to manipulate it; science is still playing catch-up to what every mother, every teenager or anyone with heartache already knows.

However, we are now rapidly approaching the stage when science will start to ‘have an opinion’ about the merit of Shakespeare or Puccini – observing in vivid detail how stories or melodies act to create virtuous cascades in the mind.

So if this analysis is fair, what are the implications? Does it render the arts any less valuable? No, let me explain.

The analysis suggests that the arts are the field of emotional manipulation, developed as an emergent* ability, a field that has been inaccessible to the sciences due to the complexity of the mind – but will not remain so. The arts pull on thousands of years of learning about the human mind, what impresses, what inspires, what angers and what calms. These learnings will not be rendered invalid, they will simply be explained.

Perhaps the artist in you is reviled by this possibility, perhaps the opposite – the emotions will still be real and we will be able to drive them all the better.

I personally suspect there is merit in the vagueness of art. Some of my favourite songs seem to lose their appeal when I finally learn all the lyrics and find them more mundane than I had imagined.

Perhaps the arts can just ignore the march of science?

=========================

Footnotes:

*Emergence is the phenomena of complexity (such as the arts) developing as a side effect of simpler lower order phenomena (emotional stimulus & response). It implies the higher order phenomena was not designed, is not deliberate and therefore cannot credit anyone (or itself) for its merits.