strsetStrings:Definitionstrsetstrset
Allows a string to be linked with a numeric value.
Description
Allows a string to be linked with a numeric value.
Syntaxstrset iarg, istringInitializationiarg -- the numeric value.
istring -- the alphanumeric string (in double-quotes).
strset (optional) allows a string, such as a filename, to be linked with a numeric value. Its use is optional.
Examples
The following statement, used in the orchestra header, will allow the numeric value 10 to be substituted anywhere the soundfile asound.wav is called for.
strset 10, "asound.wav"
Examples
Here is an example of the strset opcode. It uses the file strset.csd.
Example of the strset opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See AlsoString Manipulation OpcodesOrchestra Header Statements