count_iInstrument Control:Sensing and Controlcount_icount_i
Get the next value from a counter.
DescriptionPlugin opcode in counter.
Get the next value from a counter a init time by adding the increment and
keeping the counter in the declared range.
Syntaxival count_i icntInitializationicnt -- the handle of a counter object from
a call to cntCreate.
Performance
Calculate the next value from the counter object and return that
value.
ival -- returned value.
Examples
Here is an example of the count_i opcode. It uses the file counter.csd.
Example of the count_i opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoProgram Flow Control: CounterCreditsBy: &namejohn; June 2020New in version 6.15