Cabbage Logo
Back to Cabbage Site

Error with STK opcodes

Hello,
I copied and pasted in Cabbage the “STKFlute” example from the manual.
But when I run it, it gives me this error:

error: syntax error, unexpected T_IDENT  (token "STKFlute")
 from file /mypath/stkflute.csd (1), line 22:
 >>> asig	STKFlute <<<
Unexpected untyped word asig when expecting a variable
Parsing failed due to invalid input!
Stopping on parser failure
cannot compile orchestra

So I think my Csound is missing the STK opcodes.
Should I install another version of Csound?

Cabbage: 2.9.233
Csound: version 6.18 (double samples) Mar 3 2024
OS: Ubuntu 22.04

Thanks,
t

I don’t think those opcodes are still part of the official release. They seem to live here now. A lot of opcodes were moved out of the main repo because their authors stopped supporting them. If you’re on Linux it should be simple enough to build them.