vincr asig, aincr clear avar1[,avar2, avar3,...,avarN]
vincr increments an audio variable of another signal, i.e. accumulates output. clear zeroes a list of audio signals.
asig – audio variable to be incremented
aincr – incrementing signal
avar1 [,avar2, avar3,...,avarN] – signals to be zeroedvincr (variable increment) and clear are intended to be used together. vincr stores the result of the sum of two audio variables into the first variable itself (which is intended to be used as an accumulator in polyphony). The accumulator variable can be used for output signal by means of fout opcode. After the disk writing operation, the accumulator variable should be set to zero by means of clear opcode (or it will explode).
New in Csound version 3.56