| 1 | <refentry id="fractalnoise"> |
| 2 | <indexterm id="IndexFractalNoise"><primary>fractalnoise</primary></indexterm> |
| 3 | <refentryinfo><title>Signal Generators:Random (Noise) Generators</title></refentryinfo> |
| 4 | <refmeta> |
| 5 | <refentrytitle>fractalnoise</refentrytitle> |
| 6 | </refmeta> |
| 7 | |
| 8 | <refnamediv> |
| 9 | <refname>fractalnoise</refname> |
| 10 | <refpurpose> |
| 11 | A fractal noise generator. |
| 12 | </refpurpose> |
| 13 | </refnamediv> |
| 14 | |
| 15 | <refsect1> |
| 16 | <title>Description</title> |
| 17 | <para>Plugin opcode in fractalnoise.</para> |
| 18 | <para> |
| 19 | A fractal noise generator implemented as a white noise filtered |
| 20 | by a cascade of 15 first-order filters. |
| 21 | </para> |
| 22 | </refsect1> |
| 23 | |
| 24 | <refsect1> |
| 25 | <title>Syntax</title> |
| 26 | <synopsis>ares <command>fractalnoise</command> kamp, kbeta</synopsis> |
| 27 | </refsect1> |
| 28 | |
| 29 | <refsect1> |
| 30 | <title>Performance</title> |
| 31 | <para> |
| 32 | <emphasis>kamp</emphasis> -- amplitude. |
| 33 | </para> |
| 34 | |
| 35 | <para> |
| 36 | <emphasis>kbeta</emphasis> -- spectral parameter related to the fractal dimension |
| 37 | <itemizedlist> |
| 38 | <listitem><para>0 - white</para></listitem> |
| 39 | <listitem><para>1 - pink</para></listitem> |
| 40 | <listitem><para>2 - brown</para></listitem> |
| 41 | </itemizedlist> |
| 42 | </para> |
| 43 | </refsect1> |
| 44 | |
| 45 | <refsect1> |
| 46 | <title>Examples</title> |
| 47 | <para> |
| 48 | Here is an example of the fractalnoise opcode. It uses the file <ulink url="examples/fractalnoise.csd"><citetitle>fractalnoise.csd</citetitle></ulink>. |
| 49 | |
| 50 | <example> |
| 51 | <title>Example of the fractalnoise opcode.</title> |
| 52 | |
| 53 | <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> |
| 54 | <xi:include href="examples-xml/fractalnoise.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 55 | </example> |
| 56 | </para> |
| 57 | </refsect1> |
| 58 | |
| 59 | <refsect1> |
| 60 | <title>References</title> |
| 61 | <para> |
| 62 | <orderedlist> |
| 63 | <listitem> |
| 64 | <para> |
| 65 | R. Saletti. A comparison between two methods to generate |
| 66 | 1/(f^gamma) noise. In Proc. IEEE, volume 74, |
| 67 | pp. 1595-1596, November 1986. |
| 68 | </para> |
| 69 | </listitem> |
| 70 | <listitem> |
| 71 | <para> |
| 72 | G. Corsini and R. Saletti. A 1/(f^gamma) power spectrum |
| 73 | noise sequence generator. IEEE Trans. on Instrumentation |
| 74 | and Measurement, 37(4):615-619, December 1988. |
| 75 | </para> |
| 76 | </listitem> |
| 77 | <listitem> |
| 78 | <para> |
| 79 | The Sounding Object, edited by Davide Rocchesso and |
| 80 | Federico Fontana, Edizioni di Mondo Estremo. Chapter 8 by |
| 81 | Federico Avanzini, pp. 154-157. |
| 82 | </para> |
| 83 | </listitem> |
| 84 | </orderedlist> |
| 85 | </para> |
| 86 | </refsect1> |
| 87 | |
| 88 | <refsect1> |
| 89 | <title>See also</title> |
| 90 | <para><link linkend="SiggenNoise"><citetitle>Random (Noise) Generators</citetitle></link></para> |
| 91 | </refsect1> |
| 92 | |
| 93 | <refsect1> |
| 94 | <title>Credits</title> |
| 95 | <para> |
| 96 | <simplelist> |
| 97 | <member>Author: &nametito;</member> |
| 98 | <member>January 2012</member> |
| 99 | </simplelist> |
| 100 | </para> |
| 101 | <para>New in Csound version 5.16</para> |
| 102 | </refsect1> |
| 103 | </refentry> |