moon

the moon
Regular
Joined
Apr 26, 2012
Messages
173
Reaction score
111
First Language
English
Primarily Uses
Note: This was an article, intended to be part of a series, that I was writing ages ago to post on RMN but decided to scrap it because I didn't think it would have been much use to anyone. Anyway for whatever reason I've decided to dust it off and post it here in the hope that it might be illuminating or useful to folks. Let's see.

Introduction:

So.. I hesitated about writing this article for a long time because, well, firstly I wasn't sure if I was particularly qualified to do so and I wasn't sure how much help it would be to anyone and also because the content of these articles will have very little to do with rpgs, rpgmaker, or videogames at all and so I wasn't sure if it was the sort of content that would really suit this site. Anyway, a few people I mentioned the idea to seemed to think it was a decent enough idea and so here I am.

So who is this for and why? Essentially it's for people who would like to get into making music for their games (or for any other reason, really) or for people who already make music who would like to increase their understanding of how it works from a theoretical/compositional perspective. I make no claims of being particularly adept and I know there are already a bunch of very talented composers or musicians in the community who this will most likely find my explanations woefully reductionist. All I can say to that is: This is series is aimed at beginners/intermediates and not people who already have a firm grasp of music theory.

As for why: I've been casually (and sometimes not as casually) "involved" in music for most of my life to some degree or another but for as long as I can remember I was always annoyed at how I couldn't mentally piece together all of the things that I intuitively understood about music and more annoyed still at how of the available resources (at least outside of formal training perhaps, but I wouldn't know about that) seemed only to further mystify the "how" and "why" of music (namely, music theory) and render the subject more opaque or didn't address things in a context that I could relate to anything I was personally familiar with. So after many years of approaching music in a hodge-podge way, gleaning information from various sources, breaking songs apart to understand how they worked and figuring things out from my own experiences I'm pretty sure that I've (and only in recent months too!) managed to put together for myself a logically satisfying, unified understanding of music and I hope to convey that here.

So in this article series I'm going to attempt to reduce the most functionally useful aspects of music theory into a coherent, easy to understand framework that you can use to understand and write music.

So, a final disclaimer: I may get terminology and other things wrong but I aim to provide the most practical understanding of music theory I can muster based on what I have had to learn and piece together myself, hopefully with few barriers to entry.

What these articles are not about: What software to use, how to get music making software, how to use music making software, file formats, MIDI, DAW, etc (although I'll briefly mention that there are lots of programs you can buy, plus a bunch of free programs, I'll leave this to you and google.)

Part 1: Notes
There are 12 notes in western music. That's right, just 12:

[IMG]http://rpgmaker.net/media/content/users/8976/locker/12Notes.png[/IMG]

(As the vast majority of music software includes or even sometimes exclusively uses a piano roll in lieu of a staff I will be using the keyboard to illustrate things. Also I'm a piano/keyboard player and not a brilliant music reader ._.)

They are called A, B, C, D, E, F, G and C#/Db, D#/Eb, F#/Gb, G#/Ab and A#/Bb. Why do the last five have two names? Well for now let's just say it's because the name given to the note depends on whether you're coming "up" (going right) to it or "down" (going left) to it. The black note to the left of C is C# and the black note to the right of D is Db - They just happen to be the same note.

These 12 notes keep repeating along the length of the keyboard getting higher in pitch to the right and lower in pitch to the left and are usually referred to with a number when it is required to distinguish which particular "version" of that note you're referring to, for instance "C4" or "D5" (where a higher number indicates a higher octave). So C3 and C4 for instance are the same note - just that C4 is double the pitch of C3.

The 12 notes always appear in these positions (provided you're not in a non-standard tuning or modulating or anything else, but ignore that for the sake of this :>). Notice that you have two black notes, then a gap and then three black notes? The note to the immediate left of the left black key of the two black keys together will always be a C, the middle black key of the three black keys together is always G#/Ab, and so on for every note on the keyboard.

Interesting Aside:

Musical notes correspond to certain frequencies and are sometimes referred to by those frequencies for the sake of tuning. For instance A440 refers to the note A at a frequency of 440Hz. If you halved the frequency of that note you'd get an A still but with a frequency of 220hz - That is, the note A an octave lower. Same goes for doubling and getting A an octave higher and so on.
Terminology Breakdown #1:

[IMG]http://rpgmaker.net/media/content/users/8976/locker/MusicSharpFlat.png[/IMG]

# = "Sharp" - This refers to a note that is a semitone or "half step" higher than another note.
b = "Flat" - This refers to a note that is a semitone or "half step" lower than another note.

(note: the symbol for "flat" is not actually a lowercase "b", but it looks a lot like one so I use it for the sake of ease.)

The distance between C and C# is called a semitone or "half step" whereas the distance between C and D is called a "tone" or "whole step". TAKE NOTE: The distance between E and F or B and C is also a semitone/half step because there is no black key in between them! A whole step always involves skipping a single key on the keyboard/piano roll regardless of whether it is black or white.

[IMG]http://rpgmaker.net/media/content/users/8976/locker/MusicSteps1.png[/IMG]
(oh and for the record, it doesn't matter if you're going up or down the keyboard, I just didn't put any arrows pointing left for this one)

Actually, if you are a beginner in making or understanding music - do yourself a huge favor right now and stop thinking of black notes as somehow different to white notes. Trust me, you'll thank yourself later.

Which leads into...

Part 2: Scales
There are two types of scale you should familiarize yourself early with if you want to get a decent grasp of music theory and they are the Chromatic Scale and the Diatonic Scale (I may also refer to the diatonic scale as the Major Scale, although they're not actually identical terms; for the sake of this explaination I'm going to consider them functionally identical, but for those who care, the natural minor scale is also diatonic and a scale can be diatonic regardless of the starting point of the scale, if that meant nothing to you then don't worry).

The Chromatic Scale:
The chromatic scale is your musical spectrum, if each note were a colour then the chromatic scale = the whole range of colours available to you (and oh hey, chroma means colour, zing). If you start from any note on the keyboard and move up or down playing every note (black and white) until you hit the next one of the same note you started from then you've just played a chromatic scale. That is to say, a chromatic scale is a scale that uses all 12 of the musical notes (with the 13th note being the same note that you started on, just either an octave higher or lower). For example: C, C#, D, D#, E, F, F#, G, G#, A, A#, B and finishing on C an octave higher = a chromatic scale (although you can start from any key and it would still be a chromatic scale provided you used every key between the starting note and its counterpart an octave above or below).

http://rpgmaker.net/media/content/users/8976/locker/ChromaticScale.mp3
Chromatic scale, up and down, starting from C.

Another way to explain this is: A chromatic scale is a scale composed entirely of half-steps/semitones. If you try this for yourself you may notice it doesn't sound particularly musical and that's because most music isn't chromatic (although some genres such as jazz, various ethnic folk traditions and some eras of classical music involve a lot of chromatic elements, but that's not important right now) just as most works of art don't use every single hue in the spectrum because some colours clash. To make music that sounds good we need a more limited "palette" and preferably one composed of tones that work well together. Which leads to...

Diatonic Scales:
If you start from the note C and "walk up" the keyboard using only white notes until you reach C an octave above, you have just played a C Major Scale. Notice that it only contains 7 unique tones (the 8th note being a repeat of the 1st note but an octave higher) as opposed to the 12 tones of the chromatic scale. Also notice that it sounds a lot more musical than the chromatic scale too:

http://rpgmaker.net/media/content/users/8976/locker/MajorScale.mp3
C Major Scale, Up and Down.

Most people are familiar with the sound of the major scale (or at least with the 5 tone up-and-down variant of it). In fact if you know "Do, Re, Mi, Fa, So, La, Ti, Do" (this is actually called "Solfege" btw) then you know the sound of a Major Scale (Tip: if you don't already know what a major scale sounds like, learn it, it will be invaluable to you, especially if you don't naturally have "an ear for music"). This is a good time to mention:

Diatonic Scales = "Keys"
Although this is not strictly always the case, for the same of argument and explanation I'll say that this is true. To elaborate: If you play/compose only using the notes of the C major scale - You're playing in the "the key of C Major". In other words if a piece uses only the notes that make up the C major scale (C,D,E,F,G,A,B ) then then C Major is that piece's "key".

So just by eliminating 5 of the 12 musical notes we've managed to "create" a diatonic scale, that is, a set of 7 unique tones that sound good together. For the C Major Scale we've "removed" the 5 black keys from the total 12 and are left with 7 unique notes that all happen to be on white keys (and this is no accident).

The main rule to remember with diatonic scales is that they must include one of every letter. For example, C Major is comprised of C-D-E-F-G-A-B, Ab Major is Ab-Bb-C-Db-Eb-F-G and B Major contains the notes B-C#-D#-E-F#-G#-A#.

Super-good-useful tip: If you want to make a major scale (and therefore find a diatonic key to write your song in) from any note on the keyboard, then start from your note of choice and then progress like so: W-W-H-W-W-W-H (where W means "whole step" and H means "half step") and you've found the key of *whatever* Major, now if you write a song using only those 7 notes in any combination you'll never technically be "out of tune/key" (but this does not guarantee that it will sound great either, it just helps a fair bit :p ).

What's the deal with C anyway?
You may notice that despite the notes being "A B C D E F G" the first note in the image of the keyboard is C and you may also notice that in teaching music theory people use C as an example all the time. There are a variety of reasons why C is focused on a lot (including a lot to do with history and tradition and how music/tuning was systematized), especially in beginners' music lessons, but the easiest explanation I can give right now is because "the key of C major" has no black keys and therefore if you play with nothing but the white keys you'll never hit a note that's "out of key". As a result of the way the piano is designed and laid out; C and the key or "C Major" provide a sort of easy territory to start learning. The key of A Major has three black notes and as a result doesn't make the best "beginners' key" despite being the first note by alphabetical name.

Part 3: Degrees

[IMG]http://rpgmaker.net/media/content/users/8976/locker/MusicScaleDegrees.png[/IMG]

 
Yeah it's probably best to ignore the weird names like "Submediant" and stuff, for now. Those are just there for nerdy reference atm. 

Anyway, the numbers and the letters are the most important thing here. Each note of a diatonic scale can be assigned a number which is known as a "scale degree" - in this example above, the 6th scale degree of C Major is A, the 2nd degree of C Major is D, and so on. Why this is even important is that scale degrees behave identically regardless of the "key". But I guess that means "behavior" needs some explaining.

In the Key of C major - the note "C" behaves as a sort of "tonal center" or "home" for the music happening in the piece and the various scale degrees will have a tonal relationship with the "tonic" (or "1st scale degree" in this case C) that is always the same regardless of the key you're playing or writing in. Notes are not as important as the relationships of distance between them and how they sound together based on that distance and tonal relationship

(and for ease and reference's sake here is a diagram lifted from the net, of all 12 diatonic scales (in Major form) ).


[IMG]http://www.ragatracks.com/keyboard_pictures/major.PNG[/IMG]
 
So the C in "C major" behaves the same and performs the same "musical tasks" as the A in "A Major" and the same applies for all the other scale degrees across all keys.  This is why instead of using note names we can use numbers - implying that the actual key is interchangeable and that the relationships between the degrees of the scale are what really matter. (a useful analogy may be that of hue-shifting or palette-swapping images. You can hue-shift an image so that red becomes green but all the other colour (tonal) relationships and distances that were present in the image remain intact despite the fact you have changed the actual colours (notes) themselves).

----

*Snip*

...and that is as far as I got with my first part attempt! (actually I tacked on a bit for clarification) If this is even interesting or useful to anyone or anyone thinks this would be worth carrying on with then PLZ DO SAY and I will try my best to explain more things, more clearly and stuff. and add more to this ever-growing thingy. If music folk want to chip in too, that's welcomed.


 
 

Philsco

Flipped Out RPG2Knet.com vet
Regular
Joined
Apr 5, 2015
Messages
41
Reaction score
10
First Language
English
Primarily Uses
This is excellent!  I'm a bit of a musician, myself (albeit primarily a percussionist), and I'm quite impressed by this!  You could hack this into a few pages and start giving out music lessons...which I guess is what you're doing here haha.  I can't wait until you get to rhythm, tempo, velocity/dynamics, and the whole timing and time signatures sections (parts where as a percussionist I'll have a lot more to input on :p )
Great job!
 

Neverward

Regular
Regular
Joined
Sep 29, 2013
Messages
447
Reaction score
279
First Language
English
Primarily Uses
RMMV
This is very well written, you manage to make the theory a little more understandable. I would say that there are not enough examples throughout the text, not much breathing room for people to absorb. I could see how the onslaught of information, which regularly step by step takes people months to learn, could become too much pretty fast. Perhaps a few links to some sort of wav files playing the way the keys sound chromatically and diatonically, I dunno... But I believe the determined reader will come out the other end much more educated ;)


Bravo for making this, it's interesting to see the way you phrase everything, makes it easy for people creating music with computer programs for soundtracks.
 

Tigersong

Furry Fellow
Regular
Joined
Oct 22, 2012
Messages
457
Reaction score
46
First Language
English
Primarily Uses
I remember the piano puzzle in Myst taking a while because I wasn't "musically literate". Perhaps this article will let me solve it faster. ;) Good on you for helping folks learn the ropes.
 

padr81

Guy whose game is taking too long.
Regular
Joined
Apr 26, 2013
Messages
759
Reaction score
794
First Language
english
Primarily Uses
N/A
As a musician I find this great and other musicians will but I think their may actually be too much for other non musicians to get their heads around. Its a brilliant piece for anyone whose a novice musician and has taken their first baby steps in music theory already.
 

The Magic Circle

Listen to my Soundcloud fam?
Regular
Joined
Jul 12, 2017
Messages
37
Reaction score
14
First Language
English
Primarily Uses
RMMV
This is extremely well written and is making me think about starting to write some music tutorials myself. Do you have any plans to continue working on this?
 
  • Like
Reactions: DHZ

teeobi

Regular
Regular
Joined
Feb 12, 2019
Messages
59
Reaction score
6
First Language
Indonesian
Primarily Uses
Other
Wow, i needed this...

how do you maximize your hand mind coordination?
 

astracat111

Astra Cat
Regular
Joined
Jun 16, 2015
Messages
207
Reaction score
123
First Language
English
Primarily Uses
Whenever I make a song, if I'm singing the melody, I'm imagining a keyboard in my head, that's how I'm knowing what the hit.
 

b_princess

Villager
Member
Joined
Dec 28, 2019
Messages
26
Reaction score
5
First Language
English
Primarily Uses
RMMV
Thanks for this! I guess I'm an amateur musician. I was classically trained ages ago as a child but didn't absorb much of the music theory-- just the technique. But since then I've gone back and brushed up a bit on music theory and experimented with making music which I'm planning to make for my game.

If you don't mind, my two cents:

My best bit of advice for anyone trying to play around with making music: get an app like Garageband (what I use), familiarize yourself with scales and some basic chords, and just start playing around! Even if you're not a professional musician, you still have an ear for what sounds good and what doesn't.

So the best way to play around is pick one scale and just play around with different instruments playing different notes in that scale. As long as you stay in key, it will sound alright! The best part about using an editor like Garageband also is that even as you're recording if you're offbeat or mess up, it's pretty easy to fix it up! (Something live musicians don't have the privilege of) so even if you're not sure what you're doing, you can still make something that sounds great!

So yeah, pick a scale, play that scale up and down, learn some chords, and then just have fun playing around!


For scales, one way to think about it that I find helpful (and I've used this to teach basic music theory in the past):

Think of an octave-- it's the interval between two notes where one is exactly double the frequency of the other. So a common standard for tuning is A = 440 Hz (440 vibrations per second.) So the next A one octave above is 880 Hz (880 vibrations per second.)

Because of the way the vibrations fit together when one is exactly double the other, two notes that are exactly 1 octave apart sound good together. Basically 2 waves of the higher octave note fit inside 1 wave of the lower octave note, creating a harmonious sound.

Western musical systems, and many different musical systems in the world are based around the octave as the starting point. In the western system, this is subdivided into 12 pieces, which are the semitones moon wrote about above. It doesn't have to be that way; that's just the way western music evolved historically. Other cultures have other musical systems that work differently.

So a typical key consists of using SEVEN out of those TWELVE. So you can think of each key as a kind of subset consisting of SEVEN out of TWELVE notes. The white keys on the piano are the keys of the C major key (CDEFGAB, i.e. no sharps or flats.) So if you are playing in C major, then any white keys you play will sound "good" and the black keys will sound "bad." On the other hand, if you're doing D minor, for instance, it's 6 out of the 7 white keys, and one of the black keys.

Basically, this is a long way of saying just try playing around in a given key. As long as you stick to those 7 notes, you should find something that sounds good! Then, once you get the hang of that, if you want to throw in something that intentionally sounds a little "off," try throwing in one of the notes that's not in that key, and see how it sounds! (Like if you want to make something that sounds "unsettling") but try playing around in key first. Generally, it's a good idea to start with the tonic note (i.e. in C major that's C), and keep in mind that whatever you're doing melodically, that tonic note will generally sound "resolved" like your home base in a way.

Okay I've blabbered on enough. Have fun!
 

lianderson

Regular
Regular
Joined
Dec 27, 2012
Messages
861
Reaction score
1,296
First Language
English
Primarily Uses
N/A
If you're reading this and you're authentically brand new to music, all you got to know is that there's only 12 notes. Everything else are just different octaves of the same notes. Have fun.
 

standardplayer

Keeper of Kitties
Regular
Joined
Apr 6, 2016
Messages
702
Reaction score
3,477
First Language
English
Primarily Uses
N/A
This is really well written. It would be great if in another article, you wrote about the circle of fourths and circle of fifths :D After talking with many people over the years about this, I've heard many different ways that people remembered the order. My music theory teacher, I think gave me the best one, it works in reverse for the circle of fourths as well.
Fifths:
Father Charles Goes Down And Ends Battle
Fourths:
Battle Ends And Down Goes Charles's Father
 

DHZ

Aspiring Game Dev
Member
Joined
Feb 27, 2019
Messages
13
Reaction score
5
First Language
Arabic
Primarily Uses
RMMV
I'm so happy I found this, I want to learn music theory to create my own game music. This is great, thank you~
 

Latest Threads

Latest Profile Posts

I just saw someone's post that had an instagram link. I have yet to be able to open that site up once, ever, or have an embed of it work (it just straight up won't show either of them). And I haven't really found a reason to try to fix the problem, either XD
I want to go play piano now. This is gonna be my stopping point today (yes, I’m very slow at drafting). Might have a few too many curly Qs? Obviously gotta finish the limbs and clean up. There are a few more outfit details I need to add. Probably going to do a background so that the pose makes sense, LOL.

IMG_0515.jpeg
Do you believe me now?

BTW not my insta, not my post. Different John.
It's been long time since last I'm tinkering with RPG Maker ~

Forum statistics

Threads
135,049
Messages
1,253,310
Members
178,024
Latest member
itaire
Top