ckgotoInstrument Control:Program Flow Controlckgotockgoto
Conditionally transfer control during the p-time passes.
Description
During the p-time passes only, unconditionally transfer control to the statement labeled by label.
Syntaxckgoto condition, label
where label is in the same instrument block and is not an expression, and where R is one of the Relational operators (<, =, <=, ==, !=) (and = for convenience, see also under Conditional Values).
Examples
Here is an example of the ckgoto opcode. It uses the file ckgoto.csd.
Example of the ckgoto 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:
kval = 0.000000, kfreq = 440.000000
kval = 0.999732, kfreq = 440.000000
kval = 1.999639, kfreq = 880.000000
See Alsocggoto,
cigoto,
cngoto,
goto,
if,
igoto,
tigoto,
timoutCreditsAdded a note by Jim Aikin.Example written by &namekevin;.