You can use the automated CSound Orchestra in Tune Smithy to convert a midi file to an audio file directly, or play CSound instruments in real time. You can do this with up to sixteen different CSound instruments simultaneously (one instrument for each Midi channel), and set the stereo pan position for each instrument individually just as for Midi. It's Windows software.
What makes this special is that no coding or programming is required to use the instruments that come with the program. All you need to so is to select the CSound instrument for each Midi part from a drop list.
Tune Smithy rewrites the CSound orchestra to make all the instruments compatible. Then it can record your playing or convert a midi file to an appropriate CSound score.
To make the instruments compatible, Tune Smithy renumbers tables in the score and in the orchestra, remaps shared global memory, renumbers instruments and so on to eliminate clashes between the instruments. All this is done automatically.
You just need to look at the code if you wish to edit individual instruments, or make new CSound instruments to add to the list for the program. Conversion of existing CSound instruments to make them compatible with the program is usually a simple process of adding a new section to the file to describe the parameters and give preset values for all the parameters.
For details and to get the program, see: