That could be very useful for creating menu music. With almost no overhead, one can add separate music for main menu, settings menu, highscore and so on.
Would it be possible to compress it down to a smaller size for applet games?
Are the loops just randomly generated?
Yeah, I think the size could be trimmed down significantly. There's some audio data that could be Vorbis-encoded. Originally I made the synth engine for making music to a game. The loops are generated randomly based on a set of rules.
Managed to produce this:
Exception in thread "Thread-11" java.lang.ArrayIndexOutOfBoundsException: 96494
at java.lang.Thread.run(Unknown Source)
Music stopped, but gfx was still alive. Happened when I clicked mouse button. Couldn't reproduce.
Yeah, thanks for the info. I think that's already fixed, but I cannot release the fix yet because there's some other changes in the code that aren't ready yet. Refreshing the page is a simple workaround for now.