summaryrefslogtreecommitdiff
path: root/scoregens/gen18.xml
blob: 61a39a2f27fe0a17999869a14fa70b1b5a21e76c (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<refentry id="GEN18">
      <indexterm id="IndexGEN18"><primary>GEN18</primary></indexterm>
  <refmeta>
    <refentrytitle>GEN18</refentrytitle>
  </refmeta>

  <refnamediv>
    <refname>GEN18</refname>
    <refpurpose>
      Writes composite waveforms made up of pre-existing waveforms.
    </refpurpose>
  </refnamediv>
  
  <refsect1>
    <title>Description</title>
    <para>
      Writes composite waveforms made up of pre-existing waveforms. Each contributing waveform requires 4 pfields and can overlap with other waveforms.
    </para>
  </refsect1>

  <refsect1>
    <title>Syntax</title>
    <synopsis><command>f</command> # time size 18 fna ampa starta finisha fnb ampb startb finishb ...</synopsis>
  </refsect1>

  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>size</emphasis> -- number of points in the table. Must be a power-of-2 plus 1 (see <link linkend="f">f</link> statement).
    </para>

    <para>
      <emphasis>fna, fnb, etc.</emphasis> -- pre-existing table number to be written into the table.
    </para>

    <para>
      <emphasis>ampa, ampb, etc.</emphasis> -- strength of wavefoms. These are relative strengths, since the composite waveform may be rescaled later. Negative values are permitted and imply a 180 degree phase shift.
    </para>

    <para>
      <emphasis>starta, startb, etc.</emphasis> -- where to start writing the fn into the table.
    </para>

    <para>
      <emphasis>finisha, finishb, etc.</emphasis> -- where to stop writing the fn into the table.
    </para>
  </refsect1>

  <refsect1>
    <title>Examples</title>

    <para>
      <informalexample>
        <programlisting>
<emphasis role="stamnt">f</emphasis> 1  0  4096  10  1
<emphasis role="stamnt">f</emphasis> 2  0  1025  18  1  1  0  512  1  1  513  1025</programlisting>
      </informalexample>

      f2 consists of two copies of f1 written in to locations 0-512 and 513-1025.
    </para>
  </refsect1>

  <refsect1>
    <title>Deprecated Names</title>
    <para>
      <emphasis>GEN18</emphasis> was called <emphasis>GEN22</emphasis> in version 4.18. The name was changed due to a conflict with DirectCsound.
    </para>
  </refsect1>

  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: William <quote>Pete</quote> Moss</member>
        <member>University of Texas at Austin</member>
        <member>Austin, Texas USA</member>
        <member>January 2002</member>
      </simplelist>
    </para>

    <para>New in version 4.18, changed in version 4.19</para>
  </refsect1>
</refentry>