Debian Codegraph @

opcodes/gaussi.xml

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