<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>multtab</title> <link rel="stylesheet" type="text/css" href="csound.css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1" /> <link rel="home" href="index.html" title="The Canonical Csound Reference Manual" /> <link rel="up" href="OpcodesTop.html" title="Orchestra Opcodes and Operators" /> <link rel="prev" href="OSCsend.html" title="OSCsend" /> <link rel="next" href="multitap.html" title="multitap" /> </head> <body> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center">multtab</th> </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="OSCsend.html">Prev</a> </td> <th width="60%" align="center">Orchestra Opcodes and Operators</th> <td width="20%" align="right"> <a accesskey="n" href="multitap.html">Next</a></td> </tr> </table> <hr /> </div> <div class="refentry" title="multtab"> <a id="multtab"></a> <div class="titlepage"></div> <a id="IndexMulttab" class="indexterm"></a> <div class="refnamediv"> <h2> <span class="refentrytitle">multtab</span> </h2> <p>multtab — Performs an element by element multiplication of two vectors. </p> </div> <div class="refsect1" title="Description"> <a id="idp32543432"></a> <h2>Description</h2> <p> The <span class="emphasis"><em>multtab</em></span> opcode takes two t-vars and performs an element by element multiplication to a third table. </p> </div> <div class="refsect1" title="Syntax"> <a id="idp32544360"></a> <h2>Syntax</h2> <pre class="synopsis">tans <span class="command"><strong>multtab</strong></span> tleft, tright</pre> </div> <div class="refsect1" title="Performance"> <a id="idp32554776"></a> <h2>Performance</h2> <p> <span class="emphasis"><em>tans</em></span> -- tables for results. </p> <p> <span class="emphasis"><em>tleft, tright</em></span> -- tables for inputs. </p> </div> <div class="refsect1" title="Examples"> <a id="idp32556064"></a> <h2>Examples</h2> <p> Here is an example of the multtab opcode. It uses the file <a class="ulink" href="examples/multtab.csd" target="_top"><em class="citetitle">multtab.csd</em></a>. </p> <div class="example"> <a id="idp32557040"></a> <p class="title"> <strong>Example 499. Example of the multtab opcode.</strong> </p> <div class="example-contents"> <p>See the sections <a class="link" href="UsingRealTime.html" title="Real-Time Audio"><em class="citetitle">Real-time Audio</em></a> and <a class="link" href="CommandFlags.html" title="Csound command line"><em class="citetitle">Command Line Flags</em></a> for more information on using command line flags.</p> <pre class="programlisting"> <span class="csdtag"><CsoundSynthesizer></span> <span class="csdtag"><CsInstruments></span> <span class="oblock">instr</span> 1 t1 <span class="opc">init</span> 10 t2 <span class="opc">init</span> 10 t2[3] <span class="op">=</span> 42 t3 <span class="opc">init</span> 10, 2 t1 <span class="opc">multtab</span> t2, t3 k1 <span class="opc">maxtab</span> t1 <span class="opc">printk2</span> k1 <span class="oblock">endin</span> <span class="csdtag"></CsInstruments></span> <span class="csdtag"><CsScore></span> <span class="stamnt">i</span>1 0 0.1 <span class="stamnt">e</span> <span class="csdtag"></CsScore></span> <span class="csdtag"></CsoundSynthesizer></span> </pre> </div> </div> <p><br class="example-break" /> </p> </div> <div class="refsect1" title="See Also"> <a id="idp32592608"></a> <h2>See Also</h2> <p> <a class="link" href="plustab.html" title="plustab"><em class="citetitle">multtab</em></a>, <a class="link" href="maxtab.html" title="maxtab"><em class="citetitle">maxatab</em></a>, <a class="link" href="mintab.html" title="mintab"><em class="citetitle">mintab</em></a>, <a class="link" href="sumtab.html" title="sumtab"><em class="citetitle">sumtab</em></a>, <a class="link" href="scalet.html" title="scalet"><em class="citetitle">scalet</em></a>, </p> </div> <div class="refsect1" title="Credits"> <a id="idp32595544"></a> <h2>Credits</h2> <p> </p> <table border="0" summary="Simple list" class="simplelist"> <tr> <td>Author: John ffitch</td> </tr> <tr> <td>October 2011</td> </tr> </table> <p> </p> <p>New in Csound version 5.14</p> </div> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="OSCsend.html">Prev</a> </td> <td width="20%" align="center"> <a accesskey="u" href="OpcodesTop.html">Up</a> </td> <td width="40%" align="right"> <a accesskey="n" href="multitap.html">Next</a></td> </tr> <tr> <td width="40%" align="left" valign="top">OSCsend </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> <td width="40%" align="right" valign="top"> multitap</td> </tr> </table> </div> </body> </html>