Debian Codegraph @

opcodes/cauchy.xml

raw symbols SCIP
1 
2 <refentry id="cauchy">
3 <indexterm id="IndexCauchyXClass"><primary>x-class noise generators</primary></indexterm>
4
5 <indexterm id="IndexCauchy"><primary>cauchy</primary></indexterm>
6 <refentryinfo><title>Signal Generators:Random (Noise) Generators</title></refentryinfo>
7 <refmeta>
8 <refentrytitle>cauchy</refentrytitle>
9 </refmeta>
10
11
12
13 <refnamediv>
14 <refname>cauchy</refname>
15 <refpurpose>
16 Cauchy distribution random number generator.
17 </refpurpose>
18 </refnamediv>
19
20 <refsect1>
21 <title>Description</title>
22 <para>
23 Cauchy distribution random number generator. This is an x-class noise generator.
24 </para>
25 </refsect1>
26
27 <refsect1>
28 <title>Syntax</title>
29 <synopsis>ares <command>cauchy</command> kalpha</synopsis>
30
31 <synopsis>ires <command>cauchy</command> kalpha</synopsis>
32
33 <synopsis>kres <command>cauchy</command> kalpha</synopsis>
34 </refsect1>
35
36 <refsect1>
37 <title>Performance</title>
38 <para>
39 <emphasis>kalpha</emphasis> -- controls the spread from zero (big <emphasis>kalpha</emphasis> = big spread). Outputs both positive and negative numbers.
40 </para>
41
42 <para>
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 C. Roads, ed. 1989. Music machine . Cambridge, Massachusetts: MIT press, pp. 351 - 379.</para>
51 </listitem>
52 </orderedlist>
53 </para>
54 </refsect1>
55
56 <refsect1>
57 <title>Examples</title>
58 <para>
59 Here is an example of the cauchy opcode. It uses the file <ulink url="examples/cauchy.csd"><citetitle>cauchy.csd</citetitle></ulink>.
60
61 <example>
62 <title>Example of the cauchy opcode.</title>
63
64
65
66 <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>
67 <xi:include href="examples-xml/cauchy.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
68 </example>
69
70 Its output should include lines like:
71 <screen>
72 i 1 time 0.00267: -0.20676
73 i 1 time 0.20267: -0.28814
74 i 1 time 0.40267: 0.61651
75 i 1 time 0.60267: -18.18552
76 i 1 time 0.80267: 1.18140
77 i 1 time 1.00000: -0.75432
78 i 1 time 1.20267: -0.02002
79 i 1 time 1.40267: 0.01785
80 i 1 time 1.60267: -0.48834
81 i 1 time 1.80000: 9.69401
82 i 1 time 2.00000: -0.41257
83 Seeding from current time 3112109827
84 i 2 time 3.00267: -0.46887
85 i 2 time 3.20267: 0.06189
86 i 2 time 3.40267: -0.40303
87 i 2 time 3.60000: 0.89312
88 i 2 time 3.80267: -0.40374
89 i 2 time 4.00000: 0.86557
90 i 2 time 4.20000: 0.09192
91 i 2 time 4.40267: -0.16748
92 i 2 time 4.60267: 0.30133
93 i 2 time 4.80267: 0.31657
94 i 2 time 5.00000: 0.44681
95 </screen>
96 </para>
97 </refsect1>
98
99 <refsect1>
100 <title>See also</title>
101 <para><link linkend="SiggenNoise"><citetitle>Random (Noise) Generators</citetitle></link></para>
102 </refsect1>
103
104 <refsect1>
105 <title>Credits</title>
106 <para>
107 <simplelist>
108 <member>Author: &nameparis;</member>
109 <member>MIT, Cambridge</member>
110 <member>1995</member>
111 </simplelist>
112 </para>
113 <para>Existed in 3.30</para>
114 </refsect1>
115 </refentry>