Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (407)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Generative Music using the Java Midi Player  (Read 2688 times)
0 Members and 1 Guest are viewing this topic.
Offline krasse
« Posted 2009-10-05 11:06:42 »

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:

http://www.youtube.com/watch?v=YbDMyVVIJD0
http://www.youtube.com/watch?v=GZ7uESmonBc
http://www.youtube.com/watch?v=Hfg1FjPnxoc

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.

Offline CommanderKeith
« Reply #1 - Posted 2009-10-05 12:49:26 »

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/topics/real-time-sound-synthesis-in-java-applet/21200/view.html


Offline krasse
« Reply #2 - Posted 2009-10-05 13:27:31 »

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!

Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline krasse
« Reply #3 - Posted 2009-10-05 19:10:59 »

I have another better (I hope) video here:

http://www.youtube.com/watch?v=GZ7uESmonBc

Online kappa
« League of Dukes »

JGO Kernel


Medals: 50
Projects: 15


★★★★★


« Reply #4 - Posted 2009-10-05 20:19:55 »

wow that is pretty awesome stuff, the music produced is pretty good.
Offline Eli Delventhal
« League of Dukes »

JGO Kernel


Medals: 39
Projects: 12


Game Engineer


« Reply #5 - Posted 2009-10-05 21:07:49 »

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?

See my work:
OTC Software
Offline krasse
« Reply #6 - Posted 2009-10-05 22:35:57 »

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

Offline krasse
« Reply #7 - Posted 2009-10-07 10:34:15 »

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

http://www.youtube.com/watch?v=YbDMyVVIJD0

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Try the Free Demo of Revenge of the Titans

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (99 views)
2013-05-17 21:29:12

alaslipknot (107 views)
2013-05-16 21:24:48

gouessej (137 views)
2013-05-16 00:53:38

gouessej (132 views)
2013-05-16 00:17:58

theagentd (144 views)
2013-05-15 15:01:13

theagentd (130 views)
2013-05-15 15:00:54

StreetDoggy (173 views)
2013-05-14 15:56:26

kutucuk (195 views)
2013-05-12 17:10:36

kutucuk (197 views)
2013-05-12 15:36:09

UnluckyDevil (203 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.083 seconds with 20 queries.