Thomas Dolby apparently made a living for some years composing cellphone ringtones, which I think also have to fit into a small amount of space and be synthesizable in real-time on a limited processor.
But seriously doubt that they were synthesized in real-time.
I doubt you could generate your own waveforms, apply your own custom effects and so on.
I never researched much into MIDI ringtones so I might be wrong.