Debian Codegraph @

opcodes/maca.xml

raw symbols SCIP
1
2 <refentry id="maca">
3 <indexterm id="IndexMaca"><primary>maca</primary></indexterm>
4 <refentryinfo><title>Mathematical Operations:Opcode Equivalents of Functions</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>maca</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>maca</refname>
11 <refpurpose>
12 Multiply and accumulate a-rate signals only.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Multiply and accumulate a-rate signals only.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>ares <command>maca</command> asig1 , asig2 [, asig3] [, asig4] [, asig5] [...]</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Performance</title>
30 <para>
31 <emphasis>asig1, asig2, ...</emphasis> -- a-rate input signals
32 </para>
33
34 <para>
35 <emphasis>maca</emphasis> multiplies and accumulates a-rate signals only. It is equivalent to:
36 <literallayout>
37 ares = asig1*asig2 + asig3*asig4 + asig5*asig6 + ...
38 </literallayout>
39 </para>
40 </refsect1>
41
42 <refsect1>
43 <title>Examples</title>
44 <para>
45 Here is an example of the maca opcode. It uses the file <ulink url="examples/maca.csd"><citetitle>maca.csd</citetitle></ulink>. It is written for *NIX systems, and will generate errors on Windows.
46 <example>
47 <title>Example of the maca opcode.</title>
48 <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
49 <xi:include href="examples-xml/maca.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
50 </example>
51 </para>
52 </refsect1>
53
54 <refsect1>
55 <title>See also</title>
56 <para><link linkend="MathOpeqfunc"><citetitle>Opcode Equivalents of Functions</citetitle></link></para>
57 </refsect1>
58
59 <refsect1>
60 <title>Credits</title>
61 <para>
62 <simplelist>
63 <member>Author: &namejohn;</member>
64 <member>University of Bath, Codemist, Ltd.</member>
65 <member>Bath, UK</member>
66 <member>May 1999</member>
67 </simplelist>
68 </para>
69
70 <para>New in Csound version 3.54</para>
71 </refsect1>
72 </refentry>