For those of you who can’t make music
but can run Python, here’s a little something for you. It might be a bit too cheesy for your game, unfortunately… if you want to you can try modifying it to use a minor scale. Also, you’ll need some samples, and a tracker to put the samples in.
Suddenly, your game has a somewhat full sounding soundtrack with a bunch of randochords shoved in.
Enjoy!
EDIT: Here’s a version which does minor scales every now and then and generates its own (not very good) samples.
EDIT 2 (Dec 2011!): The links are a bit dead, so try this: http://gm.64pixels.org/stuff/atrk-c-edit.py.txt – this edit was because ExciteMike linked to here. I should probably consider a new version of this thing, most likely from scratch again. Also have some samples.
I’ll have to do a few dozen to see how much variation there is, but I’m really impressed! Definitely gonna use this for my entry as I have NO musical aptitude, lol
How can I customize the output?
Look for this line:
fp.write(struct.pack(“<BBBBBB",128,48,4,125,128,0))