kgotoInstrument Control:Program Flow Controlkgotokgoto
Transfer control during the performance-time passes.
Description
During the p-time passes only, unconditionally transfer control to the statement labeled by label.
Syntaxkgoto label
where label is in the same instrument block and is not an expression.
Examples
Here is an example of the kgoto opcode. It uses the file kgoto.csd.
Example of the kgoto opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.
Its output should include lines like this:
kval = 0.000000, kfreq = 440.000000
kval = 0.999732, kfreq = 440.000000
kval = 1.999639, kfreq = 880.000000See alsoProgram Flow ControlCreditsExample written by &namekevin;.