Generative Music using the Java Midi Player

Hello,

I just wanted to show my generative music experiment which is supposed to be used within a game eventually.

Here are some Youtube videos:



The percussion is perhaps the most annoying at the moment but I think that this little hack can become something really great when coupled to a game engine if I manage to find good ways to express certain moods.

Hope you like it!

Suggestions are most welcome.

Nice work, i like all the different instruments working together. You’re right that the percussion jars a bit. Maybe just turn its volume right down? Also the harmony instruments sound better when there’s at least one piano. I don’t like the banjo or elec guitar - too twangy and sudden.

This would be a great alternative to boring repetitive music loops!

By the way you might be interested in this: http://www.java-gaming.org/index.php/topic,21200.0.html

Thanks CommanderKeith for the link and comments!

I am currently trying to specify attributes for the instruments such as intensity so that the right instruments are chosen for whatever you want to say with the music. I would like to have stronger and more intensive instruments in combat and also increase the beat intensity when there is much speed and movement. I am really looking forward to connect a game into this and see how it sounds!

I have another better (I hope) video here:

wow that is pretty awesome stuff, the music produced is pretty good.

That certainly isn’t bad at all. Does this use the MIDI generator that requires the user to have the JDK installed or was there something else you did?

I don’t think that the JDK must be installed but I am not 100%.
However, I use the deluxe version of the Sun soundbank (available at http://java.sun.com/products/java-media/sound/soundbanks.html) and I guess that you have to ship that if you want to distribute it (if it is free to distribute that way).

Added a new video where the module is integrated into a game. It also selects instruments based on preferred harshness.