Skip to content

cntcycles

Get the number of times a counter has cycled.

⚠ Deprecated alias

cntCycles is a deprecated alias of cntcycles in Csound 7. Use cntcycles in new code. The old name still works for compatibility.

Plugin opcode in counter.

Syntax

kval = cntcycles(icnt)
kval cntCycles icnt

Initialization

icnt -- the handle of a counter object from a call to cntcreate.

Performance

Counts the number of times a counter has been restarted.

kval -- returned value.

See also

Program Flow Control: Counter

Credits

By: John ffitch June 2020

New in version 6.15