plustab
Prev | Orchestra Opcodes and Operators | Next

## plustab

plustab — Performs an element by element addition of two vectors.

## Description

The plustab opcode takes two t-vars and performs an element by element addition to a third table.

## Syntax

    tans plustab tleft, tright

## Performance

tans -- tables for results.

tleft, tright -- tables for inputs.

## Examples

Here is an example of the plustab opcode. It uses the file plustab.csd.

Example 599. Example of the plustab opcode.

See the sections Real-time Audio and Command Line Flags for more information on using command line flags.

    <CsoundSynthesizer>
    <CsInstruments>

    instr 1
      t1 init 10
      t2 init 10
      t2[3] = 42
      t3 init 10, -4.2
      t1 plustab t2, t3
      k1 maxtab t1
      printk2 k1
    endin
    </CsInstruments>
    <CsScore>
    i1 0 0.1
    e
    </CsScore>
    </CsoundSynthesizer>

## See Also

multtab, maxatab, mintab, sumtab, scalet,

## Credits

Author: John ffitch
October 2011

New in Csound version 5.14

Prev | Up | Next
pluck | Home | poisson