Debian Codegraph @

opcodes/exprandi.xml

raw symbols SCIP
1
2 <refentry id="exprandi">
3 <indexterm id="IndexExprandiXClass"><primary>x-class noise generators</primary></indexterm>
4
5 <indexterm id="IndexExprandi"><primary>exprandi</primary></indexterm>
6 <refentryinfo><title>Signal Generators:Random (Noise) Generators</title></refentryinfo>
7 <refmeta>
8 <refentrytitle>exprandi</refentrytitle>
9 </refmeta>
10
11 <refnamediv>
12 <refname>exprandi</refname>
13 <refpurpose>
14 Exponential distribution random number generator with
15 interpolation (positive values only).
16 </refpurpose>
17 </refnamediv>
18
19 <refsect1>
20 <title>Description</title>
21 <para>
22 Exponential distribution random number generator with controlled
23 interpolation between values (positive values only). This is an
24 x-class noise generator.
25 </para>
26 </refsect1>
27
28 <refsect1>
29 <title>Syntax</title>
30 <synopsis>ares <command>exprandi</command> klambda, xamp, xcps</synopsis>
31 <synopsis>ires <command>exprandi</command> klambda, xamp, xcps</synopsis>
32 <synopsis>kres <command>exprandi</command> klambda, xamp, xcps</synopsis>
33 </refsect1>
34
35 <refsect1>
36 <title>Performance</title>
37 <para>
38 <emphasis>klambda</emphasis> -- lambda parameter for the exponential distribution.
39 </para>
40
41 <para>
42 The probablity density function of an exponential distribution is an exponential curve, whose mean is 0.69515/lambda.
43 For more detailed explanation of these distributions, see:
44 <orderedlist>
45 <listitem>
46 <para>C. Dodge - T.A. Jerse 1985. Computer music. Schirmer books. pp.265 - 286</para>
47 </listitem>
48
49 <listitem>
50 <para>D. Lorrain. A panoply of stochastic cannons. In
51 C. Roads, ed. 1989. Music machine . Cambridge,
52 Massachusetts: MIT press, pp. 351 - 379.</para>
53 </listitem>
54 </orderedlist>
55 </para>
56
57 <para>
58 <emphasis>xamp</emphasis> -- range over which random numbers are distributed.
59 </para>
60
61 <para>
62 <emphasis>xcps</emphasis> -- the frequency which new random
63 numbers are generated.
64 </para>
65
66 </refsect1>
67
68 <refsect1>
69 <title>Examples</title>
70 <para>
71 Here is an example of the exprandi opcode. It uses the file <ulink url="examples/exprandi.csd"><citetitle>exprandi.csd</citetitle></ulink>.
72
73 <example>
74 <title>Example of the exprandi opcode.</title>
75
76 <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>
77 <xi:include href="examples-xml/exprandi.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
78 </example>
79 </para>
80 </refsect1>
81
82 <refsect1>
83 <title>See also</title>
84 <para><link linkend="SiggenNoise"><citetitle>Random (Noise) Generators</citetitle></link></para>
85 </refsect1>
86
87 <refsect1>
88 <title>Credits</title>
89 <para>
90 <simplelist>
91 <member>Author: &namejohn;</member>
92 <member>Bath</member>
93 <member>May 2011</member>
94 <member>New in version 5.14</member>
95 </simplelist>
96 </para>
97 </refsect1>
98 </refentry>