| 1 | |
| 2 | <refentry id="getseed"> |
| 3 | <indexterm id="IndexGetseed"><primary>getseed</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Generators:Random (Noise) Generators</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>getseed</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>getseed</refname> |
| 11 | <refpurpose> |
| 12 | Reads the global seed value. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para> |
| 19 | Returns the global seed value used for all <emphasis>x-class |
| 20 | noise generators</emphasis>. |
| 21 | </para> |
| 22 | </refsect1> |
| 23 | |
| 24 | <refsect1> |
| 25 | <title>Syntax</title> |
| 26 | <synopsis>ians<command> getseed</command></synopsis> |
| 27 | <synopsis>kans<command> getseed</command></synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Performance</title> |
| 32 | <para> |
| 33 | Reads the global seed value of the internal pseudo-random number generator. |
| 34 | </para> |
| 35 | </refsect1> |
| 36 | |
| 37 | <refsect1> |
| 38 | <title>Examples</title> |
| 39 | <para> |
| 40 | Here is an example of the getseed opcode. It uses the file <ulink |
| 41 | url="examples/getseed.csd"><citetitle>getseed.csd</citetitle></ulink>. |
| 42 | <example> |
| 43 | <title>Example of the getseed opcode.</title> |
| 44 | <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> |
| 45 | <xi:include href="examples-xml/getseed.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 46 | </example> |
| 47 | </para> |
| 48 | </refsect1> |
| 49 | |
| 50 | <refsect1> |
| 51 | <title>See also</title> |
| 52 | <para><link linkend="SiggenNoise"><citetitle>Random (Noise) Generators</citetitle></link></para> |
| 53 | </refsect1> |
| 54 | |
| 55 | <refsect1> |
| 56 | <title>Credits</title> |
| 57 | <para> |
| 58 | <simplelist> |
| 59 | <member>Author: &namejohn;</member> |
| 60 | <member>University of Bath/NUIM/Codemist Ltd.</member> |
| 61 | <member>Bath, UK</member> |
| 62 | <member>August 2015</member> |
| 63 | </simplelist> |
| 64 | </para> |
| 65 | |
| 66 | <para>New in Csound6.06</para> |
| 67 | </refsect1> |
| 68 | </refentry> |