summaryrefslogtreecommitdiff
path: root/opcodes/reinit.xml
blob: 97f38642003750d47bc4cded6f8baf48a4a3a04e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<refentry id="reinit">
<indexterm id="IndexReinit"><primary>reinit</primary></indexterm>
  <refentryinfo><title>Instrument Control:Initialization and Reinitialization</title></refentryinfo>
  <refmeta>
    <refentrytitle>reinit</refentrytitle>
  </refmeta>


 
  <refnamediv>
    <refname>reinit</refname>
    <refpurpose>
      Suspends a performance while a special initialization pass is executed.
          </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Suspends a performance while a special initialization pass is executed.
    </para>

    <para>
      Whenever this statement is encountered during a p-time pass, performance is temporarily suspended while a special Initialization pass, beginning at <emphasis>label</emphasis> and continuing to <emphasis>rireturn</emphasis> or <emphasis>endin</emphasis>, is executed. Performance will then be resumed from where it left off.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis><command>reinit</command> label</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Examples</title>
    <para>
      The following statements will generate an exponential control signal whose value moves from 440 to 880 exactly ten times over the duration p3. They use the file <ulink url="examples/reinit.csd"><citetitle>reinit.csd</citetitle></ulink>.

      <example>
        <title>Example of the reinit opcode.</title>

        

        <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>
          <xi:include href="examples-xml/reinit.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
      </example>
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="rigoto"><citetitle>rigoto</citetitle></link>, 
      <link linkend="rireturn"><citetitle>rireturn</citetitle></link>
    </para>
  </refsect1>
</refentry>