Boringly long post follows:
I guess what you mean is algorithmically generating the instruments at run time. This would probably mean creating an analogue synthesiser. (Percussion might as well be samples, because they tend to be short).
The central problem is that to make anything decent you need quite a few virtual oscillators and envelope shaping. This takes some fairly heavy maths to do well. You need various noise generators, progressive ramping and all sorts of stuff.
As always - to do this on a PC or Mac would be possible using native code in C++ or Pascal, but I really do doubt if it's possible on average phone number 99876 or whatever, in a byte-code interpreter. I think the bottom line is that if the widget you're running on is powerful enough to do this, it probably has enough memory to use a sample bank anyway.
For a quick look at the issues:
http://www.youtube.com/watch?v=YsZKvLnf7wU
Csound is the premier go-to for electronic music, but do you think your average AppGameKit user could cope with this?:
http://csound.github.io/docs/manual/PrefaceWhatsNew.html
Personally, I would stop worrying about advanced sound synthesis for AppGameKit, because the howls of protest when it doesn't work on x, y, z will be louder than the music. Instead, having a very low CPU-cost system for people to add in T1 would be good for games. AppGameKit tends to be very graphics-orientated and from my observations people tend to spray thousands of sprites around the place and then wonder why their frame-rate has dropped. There are some quite naive users here who think they can make a fortune with yet another Flappy Birds clone. Dream on.
AGK is not and never will be a music engine.
What is more interesting for me is generating music from algorithms. I'm not at all well at the moment, so I can't really do the day-job, so it's a chance to play. So I'll spend a few relaxed hours looking at a neat generation system that will adapt on-the-fly to mood.
A memblock is a waveform in a memory buffer, so, yes I can do this. But much more interesting for me is an adaptive system.
I'm actually a writer, although I do have a software company! Many of you guys are far more equipped to do the maths than I am...
-- Jim - When is there going to be a release?