Posts Tagged ‘autotracker.py’

A Missing Piece – Music!

Posted by
Friday, April 26th, 2013 8:27 am

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):

  1. 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.
  2. Install Python.  Simply run the file you downloaded and let the program install.  I installed Python to the standard directory, C:\Python27.
  3. Copy the autotracker.py script file to C:\Python27.  Script file is available here: https://github.com/wibblymat/ld24/blob/master/autotracker.py.
  4. Open up a command prompt window (his Windows Key – R, and type ‘cmd’).
  5. Navigate to where you installed Python.  Use cd to change directory, and use .. to move to the parent directory.  To get to the C drive, type C:.
  6. Run this command: python autotracker.py.  The script will output many lines of text, and will end when the file is saved.
  7. Open the file output in VLC.  Sample the greatness.
  8. Convert the .it file to a readable format – in the case, .OGG.  To convert, go to Media -> Convert/Save.  Follow the dialog there.
  9. 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.

[cache: storing page]