multtab — Performs an element by element multiplication of two vectors.
The multtab opcode takes two t-vars and performs an element by element multiplication to a third table.
Here is an example of the multtab opcode. It uses the file multtab.csd.
Example 499. Example of the multtab 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, 2 t1 multtab t2, t3 k1 maxtab t1 printk2 k1 endin </CsInstruments> <CsScore> i1 0 0.1 e </CsScore> </CsoundSynthesizer>