| 1 | <refentry id="dust2"> |
| 2 | <indexterm id="IndexDust2"><primary>dust2</primary></indexterm> |
| 3 | <refentryinfo><title>Signal Generators:Random (Noise) Generators</title></refentryinfo> |
| 4 | <refmeta> |
| 5 | <refentrytitle>dust2</refentrytitle> |
| 6 | </refmeta> |
| 7 | |
| 8 | <refnamediv> |
| 9 | <refname>dust2</refname> |
| 10 | <refpurpose> |
| 11 | Random impulses. |
| 12 | </refpurpose> |
| 13 | </refnamediv> |
| 14 | |
| 15 | <refsect1> |
| 16 | <title>Description</title> |
| 17 | <para> |
| 18 | Generates random impulses from -1 to 1. |
| 19 | </para> |
| 20 | </refsect1> |
| 21 | |
| 22 | <refsect1> |
| 23 | <title>Syntax</title> |
| 24 | <synopsis>ares <command>dust2</command> kamp, kdensity</synopsis> |
| 25 | <synopsis>kres <command>dust2</command> kamp, kdensity</synopsis> |
| 26 | </refsect1> |
| 27 | |
| 28 | <refsect1> |
| 29 | <title>Performance</title> |
| 30 | <para> |
| 31 | <emphasis>kamp</emphasis> -- amplitude. |
| 32 | </para> |
| 33 | |
| 34 | <para> |
| 35 | <emphasis>kdensity</emphasis> -- average number of impulses per second. |
| 36 | </para> |
| 37 | </refsect1> |
| 38 | |
| 39 | <refsect1> |
| 40 | <title>Examples</title> |
| 41 | <para> |
| 42 | Here is an example of the dust2 opcode. It uses the file <ulink url="examples/dust2.csd"><citetitle>dust2.csd</citetitle></ulink>. |
| 43 | |
| 44 | <example> |
| 45 | <title>Example of the dust2 opcode.</title> |
| 46 | |
| 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/dust2.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></para> |
| 56 | </refsect1> |
| 57 | |
| 58 | <refsect1> |
| 59 | <title>Credits</title> |
| 60 | <para> |
| 61 | <simplelist> |
| 62 | <member>Based on James McCartney's Dust2 (SuperCollider)</member> |
| 63 | <member>Author: &nametito;</member> |
| 64 | <member>January 2012</member> |
| 65 | </simplelist> |
| 66 | </para> |
| 67 | <para>New in Csound version 5.16</para> |
| 68 | <para>k-rate version fixed to documentation and SuperCollider, |
| 69 | version 6.09</para> |
| 70 | </refsect1> |
| 71 | </refentry> |