Can somebody explain what you mean by 'coded music'? I am a web developer and also make electronic music with Logic, and although I have no games programming knowledge, coding and music composition are two very different things.
Electronic music basically comes in two categories - synthesis, or samples. Do you mean the games trigger sampled pieces of music, either individual sounds or entire tracks? That's not really 'coded music.' Or do you mean some kind of synthesis using code? I don't really see how that's possible with based on my (admittedly not comprehensive) knowledge of object oriented programming, you cannot define a note or synth patch in code
Any examples would be appreciated.