Based on the discussion we had in another thread, I’ve been moving my test code behind a preprocessor definition. It’s working great, but while doing this I realized that it might be handy to have Cabbage automatically insert a define into the csound orchestra when exporting, so the instruments can be aware of whether or not they’re running exported or natively in cabbage… something like #define CABBAGE_EXPORTED #1#
I don’t know if you’d consider it useful, but it might even make sense to export a different variable name or perhaps value depending on whether it’s exported as an effect or an instrument.