On Fri, May 31, 2019 at 03:07:53PM -0700, David Bellows wrote: > Here's my idea. I would have several Csound files with the instrument > definitions and scores: A.csd, B.csd, C.csd. Each of these can be > played back as any other Csound file. > > And then I'd have a main.csd that would call each of those other > Csound files and would control when each would start, stop, and the > volume (maybe tempo?). > > I guess each Csound file would be an instrument? > An off-the-cuff suggestion... How about splitting each csd file into "instrument" (not a full orc) and score. And for each pair add a "harness" csd that includes both appropriately, with the needed global settings. Something like: "myinstr.instr": instr myinstr ...whatever endin and the 'harness', "myinstr.csd": -odac sr = 48000 ksmps = 1 0dbfs = 1 massign 1, "myinstr" ;if you're using MIDI #include "myinstr.instr" ;if appropriate: #include "myinstr.sco ............. Then you create your "master" csd with all the includes you want. You'd have to sort out some scheme for controlling individual parameters of each instrument. I was hoping one could use macros to have the same harness for all the instruments, but experimentally '#include' and macros don't like each other at all -- seems you can only use a plain filename. Maybe that sparks some ideas? -- Pete -- Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here