Hi

The Java4k seems to getting start and so I. This year, I really want to try to put some music in my game.
Midi synthetizer seems to be a good choise since there is everything that I need and you only need a few line of code :
1 2 3 4 5 6 7 8
| synth = MidiSystem.getSynthesizer(); synth.open(); synth.getChannels()[0].programChange(XX);
...
synth.getChannels()[0].allNotesOff(); synth.getChannels()[0].noteOn( XX,YY); |
Now my problem is the music data. I don't think I can store raw data like that (it will take too much space). So I want to use an algorithm to produce procedural music. But I'm not use to those sort of things (and I'm no good at music

).
While googling, I found some interresting site :
Fractal melodyFractal MusicTune Toys (I have play a lot with the exemples

)
Even so I didn't manage to do anything good (in a small size). Does anyone have some expercience in this field ?