41

I am an intuitive music composer trying to move to a technical music composer. As a dummy, I see music as a composition of 'pieces' (my word). Each piece is a set of notes that are melodical when played in a particular sequence and in particular intervals. As the music would be very boring if it was composed of a single piece repeating over and over, you are required to compose several pieces and glue them together to produce a pleasant song.

As an intuitive composer I do manage to arrange several melodic pieces, but I lack the ability to compose other pieces that are melodical/harmonic with the first so that the whole forms a song.

I'm pretty sure that there's a lot of theory in finding combinations that are melodical/harmonical. There must be a way to say that 3 different chords are likely to form music. That given 2 chords, the third must be X and so forth.

The question is: What do I have to learn?

I'm pretty sure it has something to do with harmony, but I'd really be happy to know what exactly in harmony would answer my questions.

Thank you

8 Answers 8

45

You ask an enormously deep question that could (and does) comprise whole books of material. I'll try to boil down the bare essentials for right now, and I'll expand on them later.

"There are only two types of chords: I's and V's"

My teacher told me that Joe Pass said this, although I'm sure it's probably a misquote.

The sentiment, though, is right on. There are essentially two kinds of chords, two kinds of harmonies: those that create tension and those that release it. V chords, and all the chords that are functionally equivalent to V chords, create tension. I chords (and their equivalents) release it. That's the largest, most big-picture idea you should understand about harmony and how melody interacts with it.

Far and away, the most common chord progression in Western music is the I-V-I. It's so common that it sounds corny or hokey a lot of the time; it's cliché. But it's also the most fundamental. The I chord establishes a key center, the V chord creates tension, the I chord releases it. All the other chord types are, in one way or another, functionally equivalent to these two. IV chords, for example, are functionally equivalent to V chords and can be used as a lead-in to a V chord, as in the exceedingly common I-IV-V progression. Ditto ii chords, as in the standard ii-V-I progression in jazz.

I? V? ii? What's with the Roman numbers?

I should explain about the numbers. We use Roman numbers to mean the different chords in a certain key. We use numbers rather than the note-names for the chords because the numbers are relative to the key rather than based on a specific root note, and therefore serve the same functional purpose no matter what key you're in. In other words, in the key of C, the V chord (which is G7) serves the same functional purpose as the V chord serves in the key of E (in E, the V chord is B7).

Okay, so how do the numbers come about? Start by writing out a major scale; for purposes of illustration, I'll use the C-Major scale. Its notes are:

C D E F G A B C

Assigning numbers to each note, starting from 1, and you get that C is 1, D is 2, E is 3, etc.

Now, on each note, build a chord by stacking thirds. For example, to build a chord on C, you build a C, an E, and a G (and in jazz, a fourth note: B). These notes—C, E, G, B—form the I chord, so named because its root is the first note of the C-Major scale.

For the second note, D, the chord is D, F, A, C, and these notes therefore make up the ii chord. Repeat this for each note in the scale, and you'll get the following chords:

  • I-chord: C, E, G, B
  • ii-chord: D, F, A, C
  • iii-chord: E, G, B, D
  • IV-chord: F, A, C, E
  • V-chord: G, B, D, F
  • vi- chord: A, C, E, G
  • vii-chord: B, D, F, A

You'll notice that some chords use uppercase Roman numerals and others use lowercase. The uppercase chords are the ones that contain Major triads (C, E, G, for example) and the lowercase chords are based on Minor triads (e.g. A, C, E).

The great thing about the number system is that the chords will be the same type no matter what key you're in. This isn't some magic or convenient coincidence—it works this way because the chords are made up of notes from the major scale of the key you're in, and every major scale (by definition) is composed of the same intervals relative to its root. For example, consider the key of E. The scale is:

E F♯ G♯ A B C♯ D♯ E

Building the I chord on that, you get E, G♯, B, D♯. That's a Major-7th chord, just as the I chord is in the key of C (C-E-G-B). In fact, without having to think about it, I know that the I-chord in any key will always be a Major-7th chord.

With this in mind, what are the types of chords for each number?

  • I-chord: Major 7th
  • ii-chord: minor 7th
  • iii-chord: minor 7th
  • IV-chord: Major 7th
  • V-chord: Dominant 7th
  • vi-chord: minor 7th
  • vii-chord: minor 7th/flat 5, aka half-diminished

This is tremendous. I can now write chord progressions for any key and know that they'll work and how they'll sound. I can learn a song in the key of C, show up to a jam session where the bandleader says "let's play that in F" and know immediately how to transpose the chords correctly. While jamming with other musicians, I can hear someone play a dominant chord and know not only that they're creating tension, but how they're planning to release it, and I can respond accordingly.

That's enough for now

Okay, wow. I wrote a lot more than I expected to at first. This should get you started thinking about harmony the right way, though. I've outlined the biggest ideas, but you should sit down with your guitar or keyboard and actually work through them. Pick a key and find the seven chords that go with that key. Then pick another key and do it again. Pay attention to where the notes in each chord fit within the scale. Play some different chord progressions, paying attention to the functional role of each chord: what number it is, whether it creates or releases tension, etc.

As I said when I started, there's a ton of ideas and material to explore here, and this is just the barest of beginnings. But it's totally worth the effort: the more study you put into understanding harmony, the more you'll hear and understand in music of all kinds.

9
  • 3
    Brilliant explanation Alex! Cheers.
    – Doktor Mayhem
    Commented Apr 5, 2011 at 8:03
  • 1
    Not everything follows those rules, but enough does, or at least rhymes, that this will have you covered for much of what you'd want to do. Well done, Alex. Commented Apr 5, 2011 at 19:07
  • 1
    Alex Basson literally rocks!
    – Anonymous
    Commented Apr 6, 2011 at 12:22
  • 1
    Thanks to all for the kind words; I hope my response is helpful. To that end, please feel free to offer suggestions for improvements, clarifications, elaboration, etc. I think this is an important question, and I'd like to polish the answer so that it's as complete and coherent as possible without being overwhelming. Commented Apr 6, 2011 at 14:00
  • 1
    Just a suggestion...you may want to specifically mention major and minor chords (i.e. not 7ths).
    – jprete
    Commented Apr 12, 2011 at 1:27
10

what do i have to learn to understand chords in sequence?

Functional harmony. See below. And you can google that too.

why are certain combination of chords in sequence harmonic?

I infer that by 'harmonic' your mean functional. There are indeed ways to sequence chords in such a way to PREVENT listener from predicting what the next chord is going to be. Once you choose not to do that, in order to aid listeners' prediction-making you must write music with some regularity like, 'if this chord is ... then the next chord is ...' or like 'if these chords are ... then the next chords are ...' etc. In academic jargon, some call this regularity chord functions.

Whether or not your use explicitly rules or intuition or whatever to compose, such regularity (i.e. 'structures' or 'patterns') must be in your song, or else your listener cannot predict. Without predictability, so-called 'tension and release' cannot happen, because 'satisfying a prediction' is 'RELEASE'. Not satisfying a prediction is a SURPRISE (or more precisely, structuring your song to allow listeners to predict but also structuring it to make the prediction turning out to be wrong results in the effect of surprise in the mind of the listener; structuring it to make the prediction turning out to be right results in the feeling of closure, or a sense of relief, in the so-called 'tension-and-release' listening experience).

I disagree with your assumption that music must be 'boring if it is a single piece repeating over and over'. It is possible to repeat a single piece with VARIATIONS. What you described as your requirement 'to glue several pieces together to form a whole' is just one way to realize an end, namely CONTRAST; however, do keep in mind that other ways are possible. Variation is repeating AND contrasting happening at the same time. However, I respect your assumptions because that is what make your style possible. You want to 'produce a pleasant song' and your assumptions of what is pleasant is basically what your question is about.

To answer 'why certain combination in sequence' sounds pleasant to you, the perhaps shockingly simple answer is 'because you have heard it before'. Since I am not you, I cannot know what you have heard, but I am going to assume your taste in a way that make answering your question possible (for me): I am going to assume that 'functional' chord sequences sounds pleasant to you.

To answer your question properly (of why functional chords sounds pleasant to you) requires contextualizing your taste in social and historical terms, and that is why other answers here deem your question to be 'enormously deep' . By 'social and historical terms', I mean basically the 'you-heard-it-before' line of reasoning. To see this kind of reasoning in action, see my explanation * of how 'structural aspects of compositions' and 'musician listening in a tradition' interact.

The way of chord sequencing described below is based on the fact that you want to 'glue pieces together to produce a song'. This particular way is one (out of many) possible of solution of the problem of allowing prediction, contrast, variations, release, surprise, etc.

Effects such as release or surprise in the minds of the listeners are, in this theory of chord sequencing, prompted by FUNCTIONS of chords. I will describe these functions (to be named soon) as if they corresponds to certain kind of feelings: feeling at home, feeling a need to go somewhere else, feeling as if in the middle of a journey, feeling at home away from home, feeling having to go home, etc. I assume these feelings are pretty much felt by everyone, and in this theory, I say that sequencing of chords is a METAPHOR for this kind of feelings in sequence.

What makes this metaphorically way of communication work has its basis on 2 things: 1) listener's and composer's common understanding of how we feel when we experience contrast, variations, release (i.e. closure), surprise, tension, etc. when our predictions of what is going to happen gets denied or satisfied or somewhere in between, and 2) a 'vocabulary' of chords recognizable by both listeners and composers. BOTH ARE NECESSARY. i.e. suppose the listener can understand 'going back to the same chord' to metaphorically mean 'returning home'; however, if the listener cannot even recognized that the same chord is finally appearing again, how can the listener use such metaphorical understanding to generate the feeling of at home from the stimuli of hearing what is indeed the same chord coming back again? (no, the listener cannot).

It is possible for you to construct your chords to be so complex that your listener cannot even recognize them. If so, even when you refer to it again (and again), on the listener's part the feeling of at-home (or closure or release) may not result. You cannot really be sure if what you deem simple is boring, and if what you deem complex is exciting, because the listeners (not you) decide for themselves what is simple (thus more predictable) and what is complex (thus less so). For the purpose of answering your question, I assume you construct your chords by stacking thirds, one on top of another.

The musical intervals between what is called the root in this way of chord construction and other musical tones in the same chord determines the QUALITY of the chord (a major 7th chord and a minor 7th chord of the same root can have similar function; what makes them very different is mainly their quality). In some styles described below, the association between quality of the chord and the FUNCTION of the chord is actually quite flexible;

However, the association of chord functions and sequential chord root movements (i.e. assigning meanings to intervals in how your BASS LINE moves -- not necessarily all intervals there but only the musical interval between this-chord's root and next-chord's root -- for all chords in the sequence) below are meant to be very consistent, so that your chord sequence can have enough predictability to be capable of being metaphors of home/journey related feelings (which are not necessarily happy/sad related feelings). This means that in these styles you are quite free to associate whatever chord function to whatever chord quality, but you will still need to do it with some consistency (as constrained by musical scales you use), or else you risk losing your listeners.

If quality and functions of chords are related (but is not the same thing), what do I mean by function here? I will name 3 kinds of functions. These names (i.e. jargon) will be associated with various home/journey-related feelings, also known as 'listening experience as metaphor of life experience'. Their definitions are not precise because feelings are not precise. They are rich with metaphorical power precisely because they are not precise, and yet they are different from each other enough so that they can be meaningful (instead of all being the same, which is not so meaningful).

The functions are: 1)tonic, 2)will-return-to-tonic (i.e. 'dominant' in usual music theory jargon), and 3)will-go-to-dominant-or-back-to-tonic. Following W Benjamin's chapter on Mozart in M Tenzer's book on world music, I name these functions T, D, and S. I throw in a piece of heavy reference here to convince you that SOMEBODY, not me, said there are 3 kinds of chords, just like some others referred to Joe Pass in saying there are 2 kinds of chords.

T is easier to define and you can refer to my definition of tonic * elsewhere. T feels stable or homey, but depending on other aspects of your song like rhythm or melody etc., T can also feel somewhat boring like when you have been staying home for too long because you've been sick, wanting to go elsewhere for a breathe fresh air. D or S is that feeling of fresh air, by providing contrast to T. The difference between D and S is this: D almost always go back to T, so often so that listeners expect it to do so, so that when it does not, it is a surprise to them. S sometimes goes to T and sometimes goes to D, with similar likelihood, so that when it does go to either, there is not much of a surprise. As S goes to T, it feels like arriving home; as S goes to D, it feel like the urge to go home. As S goes to another S, it like you are in the middle of a journey; you are not stuck at home, but it is not like that there is a place you have to go either. D, on the other hand, feels like you have to go home soon. Remember these feelings can vary in strength according to how you sequence your chords. Use your life experience about your home(s) and your journey(s) as metaphors to figure out what sequencing of musical experience may theoretically result in how strong of what feeling.

Now some 'usual' usages first. For the D function, people like Mozart tend to use chords whose root is on the 5th or 7th step of the scale (i.e. 'dominant' and 'subtonic') currently in use ('currently' because they can switch between different scales). They tend to use, as the root of S, the 2nd or 4th step (i.e. 'supertonic' and 'subdominant' of the scale in use). T, of course, is on the first step of the scale. This description of T, D, and S chord functions is applicable to works written with chords from major AND/OR minor scales, by people like J. S. Bach just before him, or since him. To understand how they use chords with root on the 3rd or 6th step (i.e. 'median' and 'submedian' of the scale in use), something else must be explained first.

Things gets interesting when chords function like D of D, D of S, S of S, etc. (D of T is simply D, S of T is simply S). As you can see, this kind of function of function forms the basis of a grammar or syntax for sequencing chords, like how you put together sentences from words, but the syntax is not as rigid as that of, say, English. Like English, in which you have have things like subordinate clauses forming sentences, using the grammar of T, D and S, you can build larger sequences of chords out of smaller sequences of chords. To come up with something like a D of D, say to yourself, this chord must of go to the next chord functioning as if that next chord is T, but when the listener get there, they will find out that it is really a D, ready to return to T. Using this grammar, you can create for example D of D of D or even D of D of D of D too.

People like Bach and Mozart tend to use the relative major scale of a minor scale currently in use (e.g. Eb major scale of C natural minor scale) or the relative minor scale of a major scale currently in use (e.g. A natural minor scale of C major scale), not as an 'area' go to and stay there for while, but as an 'area' to go to briefly and quickly return from (they seem to prefer a new scale starting on the 5th degree of the current scale as the 'area' to 'stay longer' or 'modulate to' -- with many exception, of course). So, for people like Mozart, median and submedian chords tend to end a cadence (a formulaic use of a T-D or D-T or S-T or S-D or S-D-T pattern) that briefly tonicizes the relative major or relative minor, or they tend to be a D of S (in another pattern, like S-D, while that pattern's T is not the overall T). For people like Bach, submedian is used a lot for S function too.

However, Mozart and Bach's way is not the only way to associate chords' roots with functions. For example, in 12 bars blues, the 4th degree of the scale functions as root of D (going to T all the time) and the 5th degree of the scale functions as root of S. In other words, using jargon introduced above, 12 bars blues can be described as associating T, D and S functions to 3 chords on different roots but all in the same chord quality, with T's root on the tonic degree of the scale, D's root on the subdominant degree of it, and with the root of S on the dominant degree of the scale. See a glossary summarizing these 'scale-degree jargon' at the very end of this.

Here my theory shows its inconsistency: this S in blues is not going sometimes to T and sometimes to D, but always to D, so it should be called a D of D, but if I call it that, the root movement of DofD-D and D-T is not the same, unlike in the II-V-I case, making my description of S from analyzing Bach and Mozart inconsistent with my description of the blues by labeling some of its chords as S. Actually, the consistency between all the blues makes acceptable their chord functions, with one function that does not really fit my description of S but which I will call S nonetheless. Why do I do it? To keep the number of 'kinds of chords' down to 3.

This example shows why some people say there are two kinds of chords and some people say three - because you can say that there are more kinds too if you want. It also shows why your assumption of 'there must be a way to say that 3 different chords are likely to form music such that given 2 chords, the third must be X and so forth' is WRONG, because the 'must' which you are looking for is actually derived from the consistency of the songs in a style or a repertoire. Once you take away the assumption of the songs in question being in the same style or repertoire, the 'likely' part of your statement no longer applies.

My theory's failure shows that you can even define your own way of using other scale degree as root of D or root of S, but for that to work you will need to be CONSISTENT in your songs with associating functional meanings to chord root movements. This is harder than you many think, so I would suggest you stick with 'usual' associations between chord function and scale degree of chord root to being with (try Bach/Mozart's root-function associations first).

The QUALITY of chords may also carry functional meaning through consistent usage. The chord quality formed with minor 3rd, perfect 5th and major 7th above the root is consistently used in (a lot of styles of) jazz as T, and the chord quality formed with minor 3rd, diminished 5th and minor 7th above the root is used there consistently as S of S (i.e. as ii° in a ii°-V tonicizing yet another S). Such a description is possible only because there is enough consistency within not only a song but many songs, forming a so-called style or repertoire. You are likely to find exceptions to such descriptions in pieces 'outside the style'. For example, Debussy uses the m7b5 chord quality (i.e. the chord quality just mentioned in the previous example) not necessarily to function the way it does in jazz.

For your purpose 'to learn to understand how to compose several pieces and glue them together to produce a song', listen to and analyze how songs-you-like create chord functions differently in different sections of the same song. That is how you learn to understand how these 'several pieces' (to be 'glued together') need to sequence their chord differently. [I explained the process of doing such analysis * elsewhere]. You will find that SECTIONS to be glued together feels different because the complexity of chord functions and the patterning of chord functions are different in some consistent way among different works within a certain style.

Here is a very vague description of a possible result (of your own analysis). You will need to do your own analysis to arrive at a more useful description because I cannot know your taste in all its details. The following description applies to so-called folk / pop style; For other styles, you will have to find yourself the analogy within the style you like to manage the contrast between patterning of chord functions in different sections.

  • In the verse of a song, create a sense of opening (in retrospect) by limiting the use of composite functions so that when things like D of S, or S-SDTofD-T, or D of D of D, etc. are introduced later, there is a feeling of 'opening up' or 'going elsewhere'. One solution is to use only T in the entire verse, or only T and D, or only T and S for the almost the entire verse and just put one D somewhere, near or at the very end of it. Surely you can come up with more solutions.
  • In the bridge of a song, create a feeling of transition by using a long sequence of chords without T. For that to work your chords must be constantly on the move. i.e. use many different chords. If you just think of some chord as not T but then just use it again and again, your listener will make up their own mind and deem it to be T even if you say it is not. If the scale going into the bridge and the scale after are of different quality, and/or if they have different tonics, the feeling of transition or traveling to somewhere else during the bridge would be even stronger.
  • In the chorus of a song, make sure a chord (a T or a D) appear with really regular regularity between other chords, something like one T every 4 chords or one D every phrase or something like that. This regularity creates the 'tourist destination' kind of 'home away from home' feeling often found in (certain styles within the broader) styles sometimes known as pop or folk.

These 3 suggestions are based on many assumptions, of your taste, of your melody being in major or minor scale, of your using chords formed by stacked third, etc. By taking away any of these assumptions, the suggestions are no longer so valid; however, the more basic theory of why simultaneous tone combination can be sequenced into metaphor for home/journey related feelings (i.e. the theory of functional harmony) may still be applicable. Use the more basic theory as a basis to construct your own not-so-basic theories!


[glossary: tonic, supertonic, median, subdominant, dominant, submedian, subtonic =

VI, vii, ♯i, II,  III,♯iv, ♯v° for parallel maj of relative minor of major
vi, vii°, I, ii,  iii, IV,  V                  for relative minor of major
          I, ii,  iii, IV,  V, vi, vii°        for major
          i, ii°,♭III, iv,  v,♭VI,♭VII         for minor
                 ♭III, iv,  v,♭VI,♭VII, i, ii° for relative major of minor
                 ♭iii, iv°,♭V,♭vi,♭vii,♭I,♭II  for parallel minor of 
                                                   relative major of minor

i.e. tonic chords of major and minor scale are symbolized as I and i respectively; tonic chord of relative major scale (relative to tonic minor) is symbolized as ♭III, and tonic chord of relative minor scale (relative to tonic major) is symbolized as vi: yes, as soon as you say things like a scale being relative to or parallel to another scale, you are thinking in two scales at once. thinking in multiple scales simultaneously is how one theorizes chords of composite function (e.g. labeling this or that chord as a D of S or as a D of D, etc.). there are many other scales, each with different intervalic structures and on different relative scale degrees which result in different root-quality relationships: look for online references through links on my other answer on re-harmonization or just google wikipedia for more about them.]

2
  • I haven't forgotten about you, I just haven't had enough free time to read your answer in full! My first impression is that it's......voluminous, to say the least.
    – Babu
    Commented Oct 8, 2011 at 5:23
  • Your language gets a little dense but, as someone teaching there self how to play piano and theory, this is the best reply. It really comes close to explaining that 'x' that binds theory to the enjoyment of music.
    – Benoît
    Commented Jul 9, 2012 at 4:59
6

My own theory knowledge is limited; I'm primarily a "roots" kind of guy. However... Western music is essentially constructed on the idea of tonal centers (the "Key") and of chords that are constructed from the notes of the scale used in that key. Say you have a piece in the key of "C". If you took the standard C-major scale and constructed a chord on each note in the scale, using only the notes from that scale, you'd end up with a "Harmonized scale". What we think of as chord progressions are taken from such harmonized scales.
So, when we talk of a "1-4-5" or I-IV-V" chord progression (very common), that would be C major, F major, and G Major in the key of C. Normally, we make the "G" a 7th chord to give it some tension so that it wants to resolve back to "C".

On a more advanced level, we can add more notes to these 3-note chord "triads" and build more advanced chords, and also use more advanced chord progressions.

In jazz, chord progressions are often built on the idea of the "circle of fifths", harmonized chords that are a fifth interval apart. Helpful? Maybe not... But it'll give you some material to look for.....

6

Alex made a great analysis of the theory. You can understand what chords you can mostly use in any key.


But, I guess you need to know specific chords that sound good together. Using the roman numbers, these are some common progressions:

  • V - I (usually to rest)
  • II - V (increases tension - pop, rock, jazz)
  • II - V - I (jazzier)
  • I - IV - V (blues progression) --> I - IV - I - I - IV - IV - I - I - V - IV - I - V (12-bar blues)
  • I - VI - II - V (usually in oldies)
5

The above approaches work - but they do not get to the root of how to pick what kinds of chords go together. In my opinion, if you want to be a technical composer, you should actually learn music theory. In my response, I will do my best to provide you with exactly the theory you need to know what chords go together. No more, no less.

1) Master the major scale and the minor scale in C Major.

2) Get comfortable playing these 2 scales in every key. A scale is a series of intervals between notes, starting with a 'root' note. Therefore, playing pretty much the same thing, you just need to 'slide' the sequence of notes up and down the fretboard.

3) If you don't already, learn the difference between major chords and minor chords on guitar. Again, a major or minor chord is just a set of intervals between notes, played at the same time of course, and with one note being the 'root'.

4) Determine your 'key'. When you write a chord progression, it will have a focal chord. This is the chord that the progression typically resolves to. Even non-musicians have an intuitive feel for what this chord is. Figure out what the name of this chord is (e.g., D minor)

5) Whatever this chord is, play the corresponding scale. For example, a progression based in G major will have a corresponding G major scale. A progression in D minor will correspond to a D minor scale.

6) Here's where is all becomes clear - the notes in this scale are the notes that can be included in your chord progression. Play around with the scale, and see what chords can be made with those notes. Come up with a combination of those notes that sounds good together, and there is your progression!

Some of the other responses might be really good at telling you what chord sequences go well together. But this part can often be intuitive :). I suggest you take some time to understand this, and you will always know exactly what chords go well with each other.

2

There are a lot of great things in the responses here, so I'll just add one small, slightly technical thing: some more mention should be made of music which is not primarily based on the tonal/functional harmony model.

Here's probably the most famous example of a masterwork that may violate at least one expectation of what music is supposed to do- and still be capable of moving audiences 100 years after its premiere in 1913. It's not all that radical, actually, but it is certainly the most famous piece to put dissonance to bewilderingly beautiful use.

Have fun finding the V chord!

So,

why [are] certain combination of chords...harmonic when played in a sequence?

Here's one overly-simple, perhaps left-field, answer: you can follow any one chord with any other chord you want! …if you create the right musical context for it.

Maybe another way to think of your question is "why are certain combinations of chords pleasing to some people and not others when played in a sequence?" And that is much more complicated thing to respond to, but very much worth the time of anybody who cares and thinks deeply about music.

1

In addition to the other great responses here, you should look into Classical Counterpoint. Rather than looking at the chords themselves, break it up and examine the separate voices that compose the chord. When the chord changes, the easiest way to avoid parallel fifths or octaves (the big counterpoint "no-no"s) is to keep one voice the same and change just two of the three notes. Thus all your chords become linked by the shared notes.

0

Learn harmony. Start with diatonic harmony. You're going to have to pick up a book on it, answers in a forum like this are just going to give you little bits and pieces and it's probably not going to make sense unless you start from the beginning and go from there. Message me offline if you need one or two book recommendations.