Use Non-Frames Version Previous Page Next Page
Signal Input and Output: File I/O

vincr, clear

          vincr     asig, aincr 
          clear     avar1[,avar2, avar3,...,avarN]

Description

vincr increments an audio variable of another signal, i.e. accumulates output. clear zeroes a list of audio signals.

Performance

asig - audio variable to be incremented

aincr - incrementing signal

avar1 [,avar2, avar3,...,avarN] - signals to be zeroed

vincr (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).

Author

Gabriel Maldonado
Italy
1999
New in Csound version 3.56


Use Non-Frames Version Previous Page Next Page
Signal Input and Output: File I/O