mac Mathematical Operations:Opcode Equivalents of Functions mac mac Multiplies and accumulates a- and k-rate signals. Description Multiplies and accumulates a- and k-rate signals. Syntax ares mac ksig1, asig1 [, ksig2] [, asig2] [, ksig3] [, asig3] [...] Performance ksig1, etc. -- k-rate input signals asig1, etc. -- a-rate input signals mac multiplies and accumulates a- and k-rate signals. It is equivalent to: ares = asig1*ksig1 + asig2*ksig2 + asig3*ksig3 + ... Examples Here is an example of the mac opcode. It uses the file mac.csd. It is written for *NIX systems, and will generate errors on Windows. Example of the mac opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See also Opcode Equivalents of Functions Credits Author: &namejohn; University of Bath, Codemist, Ltd. Bath, UK May 1999 New in Csound version 3.54