<?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>K-Rate Vectors</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="OrchTop.html" title="Syntax of the Orchestra" /> <link rel="prev" href="OrchUDO.html" title="User Defined Opcodes (UDO)" /> <link rel="next" href="ScoreTop.html" title="The Standard Numeric Score" /> </head> <body> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center">K-Rate Vectors</th> </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="OrchUDO.html">Prev</a> </td> <th width="60%" align="center">Syntax of the Orchestra</th> <td width="20%" align="right"> <a accesskey="n" href="ScoreTop.html">Next</a></td> </tr> </table> <hr /> </div> <div class="section" title="K-Rate Vectors"> <div class="titlepage"> <div> <div> <h2 class="title" style="clear: both"><a id="Orchtab"></a>K-Rate Vectors</h2> </div> </div> </div> <p> Csound allows the declaration and deployment of one-dimensional vectors or tables. They are local to an instrument, and need to be declared for size (with the <a class="link" href="init.html" title="init"><em class="citetitle">init</em></a> opcode. Individual elements are read as part of any expression with square brackets to give an index at k-rate. Individual elements can be assigned, and there are a number of opcodes to query and modify tables. </p> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="OrchUDO.html">Prev</a> </td> <td width="20%" align="center"> <a accesskey="u" href="OrchTop.html">Up</a> </td> <td width="40%" align="right"> <a accesskey="n" href="ScoreTop.html">Next</a></td> </tr> <tr> <td width="40%" align="left" valign="top">User Defined Opcodes (UDO) </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> <td width="40%" align="right" valign="top"> The Standard Numeric Score</td> </tr> </table> </div> </body> </html>