rorywalsh / cabbage

Framework for developing audio plugins with the Csound programming language.
http://cabbageaudio.com
GNU General Public License v3.0
509 stars 35 forks source link

Cabbage crashes if csd file has no cabbage section #113

Closed muziker closed 3 years ago

muziker commented 3 years ago

For Cabbage 2.5.24, if the csd file does not contain a Cabbage start and end tags, when the tab is played, a popup warns about needing enclosing cabbage tags, then cabbage dies.

rorywalsh commented 3 years ago

Good spot. I've pushed a fix for this, and added a 'don't show warning in future' option to the message dialogue that appears. I guess if you are using Cabbage as a straight-up Csound editor this warning could get very annoying! Maybe you can test, and close this out if you are happy that it passes ;)