| 1 | <refentry id="dust"> |
| 2 | <indexterm id="IndexDust"><primary>dust</primary></indexterm> |
| 3 | <refentryinfo><title>Signal Generators:Random (Noise) Generators</title></refentryinfo> |
| 4 | <refmeta> |
| 5 | <refentrytitle>dust</refentrytitle> |
| 6 | </refmeta> |
| 7 | |
| 8 | <refnamediv> |
| 9 | <refname>dust</refname> |
| 10 | <refpurpose> |
| 11 | Random impulses. |
| 12 | </refpurpose> |
| 13 | </refnamediv> |
| 14 | |
| 15 | <refsect1> |
| 16 | <title>Description</title> |
| 17 | <para> |
| 18 | Generates random impulses from 0 to 1. |
| 19 | </para> |
| 20 | </refsect1> |
| 21 | |
| 22 | <refsect1> |
| 23 | <title>Syntax</title> |
| 24 | <synopsis>ares <command>dust</command> kamp, kdensity</synopsis> |
| 25 | <synopsis>kres <command>dust</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 |
| 36 | second. |
| 37 | </para> |
| 38 | </refsect1> |
| 39 | |
| 40 | <refsect1> |
| 41 | <title>Examples</title> |
| 42 | <para> |
| 43 | Here is an example of the dust opcode. It uses the file <ulink url="examples/dust.csd"><citetitle>dust.csd</citetitle></ulink>. |
| 44 | |
| 45 | <example> |
| 46 | <title>Example of the dust opcode.</title> |
| 47 | |
| 48 | <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> |
| 49 | <xi:include href="examples-xml/dust.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 50 | </example> |
| 51 | </para> |
| 52 | </refsect1> |
| 53 | |
| 54 | <refsect1> |
| 55 | <title>See also</title> |
| 56 | <para><link linkend="SiggenNoise"><citetitle>Random (Noise) Generators</citetitle></link></para> |
| 57 | </refsect1> |
| 58 | |
| 59 | <refsect1> |
| 60 | <title>Credits</title> |
| 61 | <para> |
| 62 | <simplelist> |
| 63 | <member>Based on James McCartney's Dust ugen (SuperCollider)</member> |
| 64 | <member>Author: &nametito;</member> |
| 65 | <member>January 2012</member> |
| 66 | </simplelist> |
| 67 | </para> |
| 68 | <para>New in Csound version 5.16</para> |
| 69 | <para>k-rate version fixed to documentation and SuperCollider, |
| 70 | version 6.09</para> |
| 71 | </refsect1> |
| 72 | </refentry> |