compilestr
Compiles a new orchestra passed in as an ASCII string.
Compilestr will compile one or more instruments at init time, which will be added to the running engine. In case of existing instrument numbers or names, these will be replaced, but any instance still running of the old instrument definition will still perform until it terminates. Only new instances will use the new definition. Multi-line strings are accepted, using {{ }} to enclose the string.
Syntax
Initialization
“Sorch” -- a string (in double-quotes or enclosed by {{ }}) containing one or more instruments.
ires -- returns 0 if compilation was successful, or -1 if not.
Examples
Here is an example of the compilestr opcode. It uses the file compilestr.csd.
See also
Credits
Author: Victor Lazzarini, 2013