cntCreate
Create a counter object.
Plugin opcode in counter.
Syntax
Initialization
imax -- optional maximum value for the counter, defaulting to 1.
imin -- optional minimun value for the counter, defaulting to 0.
inc -- optional increment for the counter, defaulting to 1.
icnt -- a handle for the counter.
Performance
Creates a counter object which loops between imin and imax in steps of inc. Used without an argument, using the defaults creates a flip-flop.
Examples
Here is an example of the cndCreate opcode. It uses the file counter.csd.
A musical example featuring the cntCreate opcode: NervousHappyBirthday_Cucchi.csd by Stefano Cucchi.
See also
Credits
By: John ffitch June 2020
New in version 6.15