Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (578)
games submitted by our members
Games in WIP (499)
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 3051 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!
Legends of Yore - The Casual Retro Roguelike
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

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 70
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

JGO Kernel


Medals: 42
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.

 

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

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (28 views)
2014-04-15 18:08:23

BurntPizza (26 views)
2014-04-15 03:46:01

UprightPath (41 views)
2014-04-14 17:39:50

UprightPath (23 views)
2014-04-14 17:35:47

Porlus (40 views)
2014-04-14 15:48:38

tom_mai78101 (62 views)
2014-04-10 04:04:31

BurntPizza (121 views)
2014-04-08 23:06:04

tom_mai78101 (221 views)
2014-04-05 13:34:39

trollwarrior1 (188 views)
2014-04-04 12:06:45

CJLetsGame (196 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!