nstrstr
Returns an instrument name from its number, or an empty string if no name matches.
instrstr is another name for this opcode in Csound 7.
Syntax
Initialization
insno -- the instrument number of the named instrument.
Performance
knsno -- the instrument number to look up on each control cycle. The i-rate form looks it up once at initialization.
Sname -- the named instrument's name.
If an instrument with the specified name does not exist an empty string is returned.
Examples
Here is an example of the nstrstr opcode. It uses the file nstrnum_nstrstr.csd.
The example will produce the following output:
See also
Credits
Author: John ffitch
New in version 6.13
Written in the year 2019.