A Missing Piece – Music!
Another post with an amazing revelation (for me)!!!
There is a program out there called autotracker.py. This code file, when run in python, will automatically generate a piece of background music for you to use in your games – I have just downloaded it, got it to run, and have exported a few background tracks that sound great. I just discovered this tool today, and am supremely happy I did. Music (and all art in general) is something sorely lacking in my games – that is no longer the case!
How to use (for Windows):
- Download Python 2.x (if you don’t have it already). Using 2.x is important, as I tried this on 3.x and got errors. Use 2.x! Python 2.x can be downloaded here: http://www.python.org/getit/. Make sure to use the 2.x link.
- Install Python. Simply run the file you downloaded and let the program install. I installed Python to the standard directory, C:\Python27.
- Copy the autotracker.py script file to C:\Python27. Script file is available here: https://github.com/wibblymat/ld24/blob/master/autotracker.py.
- Open up a command prompt window (his Windows Key – R, and type ‘cmd’).
- Navigate to where you installed Python. Use
cdto change directory, and use..to move to the parent directory. To get to the C drive, type C:. - Run this command:
python autotracker.py. The script will output many lines of text, and will end when the file is saved. - Open the file output in VLC. Sample the greatness.
- Convert the .it file to a readable format – in the case, .OGG. To convert, go to Media -> Convert/Save. Follow the dialog there.
- Your converted file is ready to be used!
I hope these directions are helpful – I already enjoy the output from this autotracker.py script, hope you do too!
Note: I am in no way affiliated with the creator of autotracker.
Tags: autotracker, autotracker.py, generation, music, music generation, video game music, video game music generation