Skip to content

cntstate

Gives the range and increment of a counter.

⚠ Deprecated alias

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

Plugin opcode in counter.

Syntax

kmax, kmin, kinc = cntstate(icnt)
kmax, kmin, kinc cntState icnt

Initialization

icnt -- a handle for the counter.

Performance

kmax, kmin, kinc -- arguments to the original creation

See also

Program Flow Control: Counter

Credits

By: John ffitch June 2020

New in version 6.15