Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on my Ludum Dare entry and trying to figure out how in the world I'm ever going to get background music. I found WolframTones, but the license is too restrictive:

Unless otherwise specified, this Site and content presented on this Site are for your personal and noncommercial use. You may not modify, copy, distribute, transmit, display, perform, reproduce, publish, license, create derivative works from, transfer, or sell any information or content obtained from this Site. For commercial and other uses, contact us.

But I really like the interface! It's a lot like sfxr - click a genre and download a song. That's so cool. Is there another program that does this same sort of thing but without a restrictive license, so that I can generate a bgm and use it in my game?

share|improve this question
A few ludum dares ago someone passed around a self made python script that did just this, I'll go and hunt. – w4etwetewtwet May 25 '13 at 12:24
up vote 1 down vote accepted

A ancient one exist, called "Melody Raiser"

unfortunately I have no idea of where to find it (my copy is fan translated to portuguese, and probably pirated... I have no idea what was the license of the original software, I never found it... also probably the original software is japanese).

But if I remember well, it was quite popular in RPG Maker communities.

Also, its music is not the best one around... It is easy to tweak it though...

share|improve this answer
Interesting. A bit of searching brought it up (look for "melr1999.exe" but be careful of viruses, I ran my copy in a sandbox because it supposedly had a trojan). In fact it's actually a Portuguese program, not fan-translated, and was freeware. Unfortunately it only generates four measures though, a perfect recipe for the most annoying background music ever. :) – Ricket Aug 22 '10 at 22:21
Your version probably is better translated then :P I think that it is fan translated from japanese, because there are in the same style also "Wave Raiser" (and my version is english, and some strings empty), and the "Melody Raiser" have japanese characters to edit the music. – speeder Aug 23 '10 at 2:39

For tools that generate random music for games, this ludum dare post provides a comprehensive list with good options. My personal favorites on that list are and CGMusic. Autotracker produces great music for retro/8-bit style games, though it lacks a proper user interface. CGMusic has a good UI, good customization, and creates complex piano songs.

I also know of 2 free music creation tools that allow you to manually create your own songs. Pxtone and musagi both are good for anyone familiar with music theory or experienced with making music. Be aware that since pxtone is a japanese program, it will need to be downloaded from a google-translated website and then set to English mode (which is easy to do).

share|improve this answer

WolframTones output is easy to modify to the point of unrecognizability, at which point even the best attorneys would experience some difficulty in collecting royalties. I see nothing in there about "derivative works".

Also, google "generative music" and "algorithmic composition".

share|improve this answer
You may not modify Well, modifying to make it unrecognizable would be cheating, wouldn't it? – Gustavo Maciel Mar 24 '12 at 17:01
Our friend wikipedia "…; says "if the later work embodies a substantial amount of protected expression taken from the earlier, underlying work". So, to me, I have just enough music theory to change the original midi to exceed the standard. Again, just me, but that means I can use whatever I get out of it. – Joe Stavitsky Mar 25 '12 at 17:28
If there is no limitation with derivative works, then you are good to go; but if the music is remotely similar to the original; that's just a ton of troubles waiting to happen. – newbiez Apr 16 at 1:28

Try this A short python script that uses MIDI to generate some random music and save to a file.

share|improve this answer

There was a software called Band in a box; which was doing mostly what you ask.

You could set parameters, and it would generate a correctly balanced melody.

While this works fine from the algorithmic perspective, and it does sound right, due to the musical rules; they are mostly boring and lack of any sort of brilliance. Usable as BGM probably; but mostly they were used to give inspiration and build on top of it, creating something very unique.

If you have time, I would suggest to spend some time with loops; can't get easier than that, but you make something out of your liking, instead than randomly get a melody, until you like one.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.