Apr 26

A cool music tutorial for newbies

A video game music composer has put up a pretty cool tutorial for people interested in making tunes.  It starts from absolute basics and builds up a simple piece.  If only I had the budget to get that kind of music into my flash games!  Once I get to where I can earn anything significant out of them, .

He did the tutorial with Garage Band. Since, I don’t have an iPad,  that piece of software isn’t an option for me.  I have been working through some ruby tutorials, though, and so I figured I’d give it a shot in MIDI.  It turns out that it’s not that much of a pain to access C libraries from within Ruby. It breaks platform independence, but hey, this is just a fun project, so why not?

It took me a little while to get used to MIDI’s notation. A note value of 60 is middle C. 59 is half a step lower, 61 is a half step up, and so on. That means that to go up an octave, it’s necessary to increase the note value by 12 instead of 8. After adjusting to this, it wasn’t too tough to get the chords Whitaker used in his blog post. Well, hopefully they’re right! I also started listening to the sound files further down the post, but didn’t get that far in deciphering the melody. Here’s the ruby code to generate what I’ve gotten so far:


Download it and run it on Windows to hear it play!

Tune from Whitaker Blackall

This entry was tagged , , .
Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *