A Missing Piece – Music!

Posted by
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.

Tags: , , , , , ,

8 Responses to “A Missing Piece – Music!”

  1. De10ter says:

    Looks like I’ll finally be able to include music this time 😀

  2. Overkill says:

    ooo. I will definitely need to try this out! My engine has native .it playing thanks to libmodplug, so I can keep the tiny file sizes of .it songs. 😀 And this is worth a shot, because the alternative was either really bad hand-tracked modules, or recording myself failing to play the acoustic guitar with a mic.

  3. vptarmigan says:

    Holy cow, this is amazing. Thanks for sharing!

  4. Spiridios says:

    Autotracker is still my favorite, but you can also try out abundant-music.com for generated music with a different feel and a lot more customizability (which is why I prefer autotracker – LD should be quick and dirty)

  5. dualtagh says:

    Thank you very much, best music generator I’ve tried!

  6. stqn says:

    Thanks! The generated musics are a bit weird but still usable I think. Anyway it’s a fun toy :).

  7. dylanigan says:

    Wow! The music sounds so good!

  8. DavidErosa says:

    Just for the record, Unity can import .it files directly! I found this out after spending an hour trying to convert my first .it with Audacity or VLC a few LD’s ago…

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]