Any way to check if we are in develeopment mode or in a host?

Hello,

Was wondering if there’s any way to identify with Csound if you’re running your plugin in development mode (compiled in vs-code), or if the plugin is running in a host.

Working on something midi-related, and I’m triggering a synth-voice for testing purposes, but when exporting I need to comment this out every time. Was wondering if there was a more elegant solution :thinking:

I can add a reserved channel for this now. IS_A_PLUGIN is how we did it in Cabbage 2, let’s use that again.

1 Like

Just triggered a new build now that will have that reserved channel in it. Good call on that one. It’s quite useful.