The concept of key is central to Western music, it's a basic music theory concept. Here's my version of what it's about, why you need to know a bit about it.
When you make a melody, you are choosing certain notes in the melody, and you need to understand Keys to make things sound a certain way, right or wrong, instead of just "atonal" noise.
On a piano keyboard, the notes repeat in groups of 12:
The Cs at either end are "the same, but one is higher". We say they are an "octave" apart. (The frequency is doubled.)
So if you play all 12 notes in a row, what do you hear? Just 12 notes in a row. They don't have a "feel" or a "colour" to them. But play all the white notes from C to C only, it sounds "normal" or "regular".
(click bigger)
This combination (C D E F G A B C) is called a C Major Scale. When you play a melody using notes from this scale - any notes, any octave, in any order - you are playing in the Key of C Major.
Not very interesting, is it? But what can we change?
Try this:
(click bigger)
It's still a C scale, but we've changed the "color" from Major to Minor. It sounds more "mellow" or "sad".
- It's still a C scale
- It's still eight notes,
- But it's different notes - the
gaps between notes are different. We have "flattened" (lowered) three notes, the 3rd, 6th, and 7th notes.
The combination of gaps between notes is what makes a scale major or minor.
- If we shift the whole thing up or down, but keep the same gaps, we keep the scale (color) but change the root note. Example: move C Major up 2 notes, we get D Major. (D E F# G A B C# D)
- If we keep the root note, but change the gaps, we are changing the scale (color). Example: we can go from D Major to D Minor (D E F G A A# C D) by flattening the same three notes.(3rd, 6th, and 7th).
- There are many more Scales and Keys you can learn about. You may also hear them called Modes, which can get
verytechnical!
- Even better, some composers in the 20th century decided "we don't need no stinking modes" and started doing "12-tone" music, some of which was good, some of which sounded like twelve cats on crack fighting inside a piano falling down the back of the Sydney Opera House...
Want more theory?
http://www.smu.edu/totw/toc.htm is a very nice place to start. Have Fun!