Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (526)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (593)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3
  ignore  |  Print  
  Abundant Music: An online procedural music generator  (Read 21841 times)
0 Members and 1 Guest are viewing this topic.
Offline krasse
« Posted 2012-09-04 13:44:42 »

Hello there Smiley
I have been working with generative music for a long time now and want to demonstrate my new fancy system to my fellow Java game constructors.
The idea is to use this "tool" to generate music for whatever purpose you like and be able to modify the structure, intensity etc. on a high level without having to modify everything from scratch.

Try it here!

Get started by reading some tutorials.

If you want to render or edit midi files yourself, I can recommend the free  editor Synthfont.

Some youtube clips that shows some output from the system:
<a href="http://www.youtube.com/v/pV9RZEbfHGA?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/pV9RZEbfHGA?version=3&amp;hl=en_US&amp;start=</a>

<a href="http://www.youtube.com/v/QHslgrhY8d8?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/QHslgrhY8d8?version=3&amp;hl=en_US&amp;start=</a>

I hope that this system will be used someday for generating music from within a game and not just offline. Currently, it uses planning and constraint solvers that takes some time. Each song is approximately composed in 2-5 seconds but can probably be 5-10 times faster.

Note that this music is not generated by the RML Editor, which is one of my previous attempts with generative/reactive music. This is a new, not published software that generates this.

Offline jonjava
« Reply #1 - Posted 2012-09-04 14:49:06 »

What do you mean generate music? These were made with a push of a button?? Are you serious??? Holy shit??!

Offline krasse
« Reply #2 - Posted 2012-09-04 15:02:08 »

What do you mean generate music? These were made with a push of a button?? Are you serious??? Holy shit??!

Yes, that's correct Smiley
It's still very WIP though.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Tjstretchalot

Junior Devvie


Medals: 2
Projects: 1



« Reply #3 - Posted 2012-09-04 16:14:44 »

Wow, this is incredible! By any chance will you be posting a download link for the executable? This would certainly spice up my games, and I would think pretty much any game. Just from clicking a few of the links, this is nearly as good as better than some music that was custom made.

EDIT: Found the link commented out on your websites main page. http://www.springworldgames.com/musicgenerator/
TL;DR Very impressive
Offline sproingie

JGO Kernel


Medals: 202



« Reply #4 - Posted 2012-09-04 17:24:33 »

Wow.  Two small requests:

* Make some epic length tracks (like 10, 20 minutes) so I can get totally baked relax to them.

* Put some of these on youtube and put a [ youtube ] tag in the post so people can "mash butan" and listen instantly.
Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #5 - Posted 2012-09-04 18:27:15 »

This is epic! Reminds me of Transport Tycoon and Theme Hospital, hehe. Even Final Fantasy VII, even though a generator can never beat Nobuo Uematsu, the master of the MIDI.

Too bad they're MP3s. I'd like to try them out with my Yamaha XG SoftSynth S-YXG50 MIDI synthesizer on.

Amazing work you've done.

- Jonas
Offline krasse
« Reply #6 - Posted 2012-09-04 19:33:14 »

EDIT: Found the link commented out on your websites main page. http://www.springworldgames.com/musicgenerator/
TL;DR Very impressive

Actually, that is an old version that doesn't compose music the same way.
The current version uses constraints and planning based on voice leading "rules" while the old one uses no such things.

Offline Tjstretchalot

Junior Devvie


Medals: 2
Projects: 1



« Reply #7 - Posted 2012-09-04 19:37:16 »

Ahh, my apologies then.  I saw the name and assumed it was it.
Offline krasse
« Reply #8 - Posted 2012-09-04 19:51:24 »

Wow.  Two small requests:

* Make some epic length tracks (like 10, 20 minutes) so I can get totally baked relax to them.

* Put some of these on youtube and put a [ youtube ] tag in the post so people can "mash butan" and listen instantly.


Great ideas, thanks!

Offline krasse
« Reply #9 - Posted 2012-09-04 19:58:34 »

Too bad they're MP3s. I'd like to try them out with my Yamaha XG SoftSynth S-YXG50 MIDI synthesizer on.

I have the MIDIs available so you can get them if you like. I will put them at the same place but they will be called test1.mid instead of test1.mp3 and so on Smiley

I wanted to show the mp3s first since they are rendered with a reasonably good soundbank and the Gervill synthesizer (which has some reverb and other nice things available).

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline matheus23

JGO Kernel


Medals: 113
Projects: 3


You think about my Avatar right now!


« Reply #10 - Posted 2012-09-04 20:25:40 »

I hope that this system will be used someday for generating music from within a game and not just offline.
I'd like to be tester Smiley (This fits into a terraria-minecraft2d-like generated sandbox game, from the point of view about the generated stuff)

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #11 - Posted 2012-09-04 20:39:24 »

This is so epic! I made a little evening-project of it Smiley
http://soundcloud.com/ultroman-the-tacoman/auto-generated1

Just played with one of your applets, and ran it through my mastering suite.

What I would love, is to see you put in some crashes. Particularly when there's a significant change in intensity or harshness. Also, it seems intensity has an influence on many factors, including volume or velocity. From a producer's point of view, I'd love to see volume and over-all velocity separated from intensity, if that is the case. If it only has influence on velocity, then nevermind. It just seems that many things change when I turn it up, and because a song usually doesn't change that much in volume, I seem to be restricted from certain levels of intensity, because it has so much influence on the volume that abrupt changes make the transitions sound unnatural. I know it'll probably mean a lot more automation-work for your generator, but I think it'll make it more dynamic.

But brilliant work! This is...unbelievable.

- Jonas
Offline matheus23

JGO Kernel


Medals: 113
Projects: 3


You think about my Avatar right now!


« Reply #12 - Posted 2012-09-04 20:50:17 »

You've got a follower on tumblr Smiley

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline krasse
« Reply #13 - Posted 2012-09-04 21:09:21 »

This is so epic! I made a little evening-project of it Smiley
http://soundcloud.com/ultroman-the-tacoman/auto-generated1

Just played with one of your applets, and ran it through my mastering suite.

What I would love, is to see you put in some crashes. Particularly when there's a significant change in intensity or harshness. Also, it seems intensity has an influence on many factors, including volume or velocity. From a producer's point of view, I'd love to see volume and over-all velocity separated from intensity, if that is the case. If it only has influence on velocity, then nevermind. It just seems that many things change when I turn it up, and because a song usually doesn't change that much in volume, I seem to be restricted from certain levels of intensity, because it has so much influence on the volume that abrupt changes make the transitions sound unnatural. I know it'll probably mean a lot more automation-work for your generator, but I think it'll make it more dynamic.

But brilliant work! This is...unbelievable.

Great! That sounds cool.
It is actually from my old work using the RML editor. There you can actually see exactly what happens if you analyze the RML module, that you modify the parameters for.
You can also change the module with the editor so it fits your needs, if you can decipher the badly designed GUI Smiley

The mp3s above are from the new, hopefully more sophisticated version where I try to use some proper voice leading with constraints and all that.

But the new version can not deal with real-time controllers for the music (yet?), so then the RML editor is the only choice at the moment.
It is also a good thing that the RML editor is available with source and all so you can just embed it if you want that and you find the result good enough.


Offline kaffiene
« Reply #14 - Posted 2012-09-04 21:19:48 »

Brilliant work.  With some runtime inputs for mood, this would be awesome  Smiley  (does that sound greedy?)
Offline krasse
« Reply #15 - Posted 2012-09-04 21:50:04 »

You've got a follower on tumblr Smiley
Wow, that's my first right? Smiley

Offline krasse
« Reply #16 - Posted 2012-09-04 22:21:10 »

Brilliant work.  With some runtime inputs for mood, this would be awesome  Smiley  (does that sound greedy?)

The system will be parameterized better later. It is currently just a box where you enter a single seed and get a MIDI out.

Offline ReBirth
« Reply #17 - Posted 2012-09-04 23:28:56 »

SUBARASHEE! Grin another round-up tool for LD.

Offline deathpat
« Reply #18 - Posted 2012-09-04 23:43:59 »

Impressive !

work in progress : D A E D A L U S
Offline matheus23

JGO Kernel


Medals: 113
Projects: 3


You think about my Avatar right now!


« Reply #19 - Posted 2012-09-05 09:00:25 »

I think so Smiley
You're my second (lol...)

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline moogie

JGO Knight


Medals: 13
Projects: 6
Exp: 10 years


Java games rock!


« Reply #20 - Posted 2012-09-05 09:54:39 »

I'll join the chorus and say I am very impressed!

we have procedural graphics, game play and now music all that is left is sound effects and you can pretty much "generate" a game give a random seed Tongue
Offline Riven
« League of Dukes »

« JGO Overlord »


Medals: 833
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #21 - Posted 2012-09-05 10:22:49 »

Each song is approximately composed in 2-5 seconds but can probably be 5-10 times faster.

Make some epic length tracks (like 10, 20 minutes) so I can get totally baked relax to them.


As generation of the audio is faster than the playback, there is no reason not to generate an infinite audio feed!

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline krasse
« Reply #22 - Posted 2012-09-05 13:28:16 »

we have procedural graphics, game play and now music all that is left is sound effects and you can pretty much "generate" a game give a random seed Tongue

Generated gameplay is still left though... Cheesy

Offline matheus23

JGO Kernel


Medals: 113
Projects: 3


You think about my Avatar right now!


« Reply #23 - Posted 2012-09-05 13:50:04 »

we have procedural graphics, game play and now music all that is left is sound effects and you can pretty much "generate" a game give a random seed Tongue
We already have generated sound effects Smiley (sfxr)

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline ReBirth
« Reply #24 - Posted 2012-09-05 13:59:51 »

Where is my procedural generated logic and story?! Grin

Offline matheus23

JGO Kernel


Medals: 113
Projects: 3


You think about my Avatar right now!


« Reply #25 - Posted 2012-09-05 14:22:29 »

Where is my procedural generated logic and story?! Grin
Story is already generated Tongue (Starbound)

Logic? Hmm...

BTW: I've now listened to all these example songs ... 19 is my favourite Smiley (The link number, not the filenamenumber)

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline krasse
« Reply #26 - Posted 2012-09-05 15:03:38 »

I have improved the system to output better counterpoint when there are few voices active. Also, I used a "modern song structure" for all these songs, which gives more familiar music organization perhaps...
Here are 40 more if you can't get enough of machine music Smiley

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40

Offline matheus23

JGO Kernel


Medals: 113
Projects: 3


You think about my Avatar right now!


« Reply #27 - Posted 2012-09-05 16:37:42 »

Here are 40 more if you can't get enough of machine music Smiley
Oh cmon... just hand us out the generator Cheesy
Or simply a site, where you can press a button saying "GENERAAAATE" or "GRANAAAADE" and then generate the music and play it... is easy when you use html5. (And have a music generator)

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline krasse
« Reply #28 - Posted 2012-09-05 17:15:35 »

Oh cmon... just hand us out the generator Cheesy
Or simply a site, where you can press a button saying "GENERAAAATE" or "GRANAAAADE" and then generate the music and play it... is easy when you use html5. (And have a music generator)

I am working on a site where you write a song name and a seed is generated from that and you get a MIDI or can play it in the browser (with webaudio perhaps?) with some fancy visualization.

Offline matheus23

JGO Kernel


Medals: 113
Projects: 3


You think about my Avatar right now!


« Reply #29 - Posted 2012-09-05 17:18:12 »

Oh cmon... just hand us out the generator Cheesy
Or simply a site, where you can press a button saying "GENERAAAATE" or "GRANAAAADE" and then generate the music and play it... is easy when you use html5. (And have a music generator)

I am working on a site where you write a song name and a seed is generated from that and you get a MIDI or can play it in the browser (with webaudio perhaps?) with some fancy visualization.

Also, (I don't want to force you to do that) could you please release the jar or whatever you use to generate the audio? Smiley So we get music generated Smiley

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Pages: [1] 2 3
  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.

toopeicgaming1999 (72 views)
2014-11-26 15:22:04

toopeicgaming1999 (62 views)
2014-11-26 15:20:36

toopeicgaming1999 (15 views)
2014-11-26 15:20:08

SHC (29 views)
2014-11-25 12:00:59

SHC (27 views)
2014-11-25 11:53:45

Norakomi (32 views)
2014-11-25 11:26:43

Gibbo3771 (27 views)
2014-11-24 19:59:16

trollwarrior1 (40 views)
2014-11-22 12:13:56

xFryIx (78 views)
2014-11-13 12:34:49

digdugdiggy (56 views)
2014-11-12 21:11:50
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!