Debian Codegraph @

scoregens/genexp.xml

raw symbols SCIP
1
2 <refentry id="GENexp">
3 <indexterm id="IndexGENexp"><primary>GENexp</primary></indexterm>
4 <refmeta>
5 <refentrytitle>GENexp</refentrytitle>
6 </refmeta>
7
8 <refnamediv>
9 <refname>"exp"</refname>
10 <refpurpose>
11 Generate a table with values on the exp function.
12 </refpurpose>
13 </refnamediv>
14
15 <refsect1>
16 <title>Description</title>
17 <para>
18 Creates an ftable with values of the exp function.
19 </para>
20 </refsect1>
21 <refsect1>
22 <title>Syntax</title>
23 <synopsis><command>f</command> # time size "exp" start end rescale</synopsis>
24 </refsect1>
25
26 <refsect1>
27 <title>Initialization</title>
28 <para>
29 <emphasis>size</emphasis> -- number of points in the table. Must
30 be a power of 2 or power-of-2 plus 1 (see <link
31 linkend="f"><citetitle>f statement</citetitle></link>).
32 </para>
33
34 <para>
35 <emphasis>start, end</emphasis> -- first and last value to be stored; the GEN draws a curve that goes from start to end: exp(start) .... exp(end). The points stored are uniformly spaced between these to the table size
36 </para>
37 <para>
38 <emphasis>rescale</emphasis> -- if not zero the table is not rescaled
39 </para>
40
41 </refsect1>
42
43 <refsect1>
44 <title>Examples</title>
45 <para>
46 Here is a simple example of the GENexp routine. It uses the file <ulink url="examples/genexp.csd"><citetitle>genexp.csd</citetitle></ulink>.
47 <example>
48 <title>Example of the GENexp routine.</title>
49 <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>
50 <xi:include href="examples-xml/genexp.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
51 </example>
52 <textobject>
53 <phrase>These are the diagrams of the waveforms of the GENexp routines, as used in the example:</phrase>
54 </textobject>
55
56 <mediaobject>
57 <imageobject>
58 <imagedata fileref="images/genexp_1.png" format="PNG"/>
59 </imageobject>
60
61 <textobject>
62 <phrase> f 2 0 8192 "exp" 0 15 0</phrase>
63 </textobject>
64
65
66 <caption>
67 <para> f 2 0 8192 "exp" 0 15 0</para>
68 </caption>
69 </mediaobject>
70
71 <mediaobject>
72 <imageobject>
73 <imagedata fileref="images/genexp_2.png" format="PNG"/>
74 </imageobject>
75
76 <textobject>
77 <phrase> f 3 0 8192 "exp" 0 3 0</phrase>
78 </textobject>
79
80 <caption>
81 <para> f 3 0 8192 "exp" 0 3 0</para>
82 </caption>
83 </mediaobject>
84
85 </para>
86 </refsect1>
87
88 <refsect1>
89 <title>See Also</title>
90 <para>
91 <link linkend="GENexp"><citetitle>GENexp</citetitle></link> and
92 <link linkend="GENsone"><citetitle>GENsone</citetitle></link>.
93 </para>
94 <para> More information on this routine: <ulink url="http://www.csoundjournal.com/issue11/distortionSynthesis.html"><citetitle>http://www.csoundjournal.com/issue11/distortionSynthesis.html</citetitle></ulink>, written by Victor Lazzarini</para>
95 </refsect1>
96
97 <refsect1>
98 <title>Credits</title>
99 <para>Written by &namevictor;</para>
100 </refsect1>
101 </refentry>