| 1 | <refentry id="capB"> |
| 2 | <indexterm id="IndexBStatement"><primary>B statement</primary></indexterm> |
| 3 | <refmeta> |
| 4 | <refentrytitle>B Statement</refentrytitle> |
| 5 | </refmeta> |
| 6 | |
| 7 | <refnamediv> |
| 8 | <refname>B Statement</refname> |
| 9 | <refpurpose> |
| 10 | This statement adjusts the clock. |
| 11 | </refpurpose> |
| 12 | </refnamediv> |
| 13 | |
| 14 | <refsect1> |
| 15 | <title>Description</title> |
| 16 | <para> |
| 17 | This statement adjusts the clock accumultively. |
| 18 | </para> |
| 19 | </refsect1> |
| 20 | |
| 21 | <refsect1> |
| 22 | <title>Syntax</title> |
| 23 | <synopsis><command>B</command> p1</synopsis> |
| 24 | </refsect1> |
| 25 | |
| 26 | <refsect1> |
| 27 | <title>Performance</title> |
| 28 | <para> |
| 29 | <emphasis>p1</emphasis> -- Specifies how the clock is to be set. |
| 30 | </para> |
| 31 | |
| 32 | <refsect2> |
| 33 | <title>Special Considerations</title> |
| 34 | <para> |
| 35 | p1 is the number of beats by which p2 values of subsequent |
| 36 | <emphasis>i statements</emphasis> are modified. If p1 is |
| 37 | positive, the clock is reset forward, and subsequent notes |
| 38 | appear later, the number of beats specified by p1 being added |
| 39 | to the note's p2. If p1 is negative, the clock is reset |
| 40 | backward, and subsequent notes appear earlier, the number of |
| 41 | beats specified by p1 being subtracted from the note's p2. The |
| 42 | clock is incremented by p1 for subsequent notes. |
| 43 | </para> |
| 44 | </refsect2> |
| 45 | </refsect1> |
| 46 | |
| 47 | <refsect1> |
| 48 | <title>Examples</title> |
| 49 | <para> |
| 50 | Here is an example of the B statement. It uses the file <ulink url="examples/capB.csd"><citetitle>capB.csd</citetitle></ulink>. |
| 51 | <example> |
| 52 | <title>Example of the B statement.</title> |
| 53 | <xi:include href="examples-xml/capB.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 54 | </example> |
| 55 | </para> |
| 56 | </refsect1> |
| 57 | |
| 58 | <refsect1> |
| 59 | <title>See Also</title> |
| 60 | <para> |
| 61 | <link linkend="ScoreStatements"><citetitle>Score Statements</citetitle></link> |
| 62 | </para> |
| 63 | </refsect1> |
| 64 | |
| 65 | <refsect1> |
| 66 | <title>Credits</title> |
| 67 | <para> |
| 68 | New in Csound 6.15. |
| 69 | </para> |
| 70 | </refsect1> |
| 71 | </refentry> |