Debian Codegraph @

opcodes/rndseed.xml

raw symbols SCIP
1
2 <refentry id="rndseed">
3 <indexterm id="IndexRndseed"><primary>rndseed</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Random (Noise) Generators</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>rndseed</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>rndseed</refname>
11
12 <refpurpose>
13 Sets the global rndseed value.
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>
20 Sets the global seed value for <link
21 linkend="rnd"><citetitle>rnd</citetitle></link> and <link linkend="birnd"><citetitle>birnd</citetitle></link>.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis><command>rndseed</command> ival</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 <emphasis>ival</emphasis> (default=0.5) -- should be between 0 and 1.
34 </para>
35
36 <para>
37 Use of <emphasis>rndseed</emphasis> will provide alternative results from the rnd and birnd opcodes to the default (= 0.5).
38 </para>
39 </refsect1>
40
41 <refsect1>
42 <title>Examples</title>
43 <para>
44 Here is an example of the rndseed opcode. It uses the file <ulink url="examples/rndseed.csd"><citetitle>rndseed.csd</citetitle></ulink>.
45 <example>
46 <title>Example of the rndseed opcode.</title>
47 <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>
48 <xi:include href="examples-xml/rndseed.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
49 </example>
50 </para>
51 </refsect1>
52
53 <refsect1>
54 <title>See also</title>
55 <para><link linkend="SiggenNoise"><citetitle>Random (Noise) Generators</citetitle></link>
56 </para>
57 </refsect1>
58
59 <refsect1>
60 <title>Credits</title>
61 <para>
62 <simplelist>
63 <member>Author: &namejohn;</member>
64 <member>April 2020</member>
65 </simplelist>
66 </para>
67
68 <para>New in Csound version 6.15</para>
69 </refsect1>
70 </refentry>