By using the same sort of idea as pdefs in logic, I have create a small yet satisfying (to me anyway) piece which I have arranged “on the fly” . By using the code:
(\type, \midi, \midiout, m,\chan,0,
I have sent an instrument through to Logic which will be played on channel 1. By changing the channel number at the end of this piece of code, you can essentially have as many instrument tracks as you like, providing they start at 0 in SC and 1 in Logic.
Here is the piece I’ve created…merely as a trial of course!!!!!