Cabbage Logo
Back to Cabbage Site

Idea for Cabbage 2

As there are very few mean to debug Csound/ cabbage instrument, could it be possible for Cabbage to extract all channels names, check if there are used or not and also the name of all variable and show them in a window or panel next to the code?
hope this is a good idea.

I actually looked into doing this but it’s not that easy. There is an Csound API method that will give us the list of channels, but only if we declare them first in instr 0 space, just before the first instr definition. This is rather impractical as it means we potentially have to declare every channel we use in the top of our Csound file. I’ll keep looking and see if I can find a way. It is a nice idea.