| 1 | |
| 2 | <refentry id="pinker"> |
| 3 | <indexterm id="IndexPinker"><primary>pinker</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Generators:Random (Noise) Generators</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>pinker</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>pinker</refname> |
| 13 | <refpurpose> |
| 14 | Generates pink noise. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | Generates pink noise (-3dB/oct response) by the <emphasis>New |
| 22 | Shade of Pink</emphasis> algorithm of Stefan Stenzel. |
| 23 | </para> |
| 24 | </refsect1> |
| 25 | |
| 26 | <refsect1> |
| 27 | <title>Syntax</title> |
| 28 | <synopsis>ares <command>pinker</command></synopsis> |
| 29 | </refsect1> |
| 30 | |
| 31 | <refsect1> |
| 32 | <title>Performance</title> |
| 33 | <para> |
| 34 | <emphasis>pinker</emphasis> generates pink noise (i.e., noise |
| 35 | with equal energy in each octave), by the algorithm of Stefan |
| 36 | Stenzel. For details of the algorithm look at <ulink |
| 37 | url="http://stenzel.waldorfmusic.de/post/pink/"><citetitle>http://stenzel.waldorfmusic.de/post/pink/</citetitle></ulink>. |
| 38 | </para> |
| 39 | </refsect1> |
| 40 | |
| 41 | <refsect1> |
| 42 | <title>Examples</title> |
| 43 | <para> |
| 44 | Here is an example of the pinker opcode. It uses the file <ulink |
| 45 | url="examples/pinker.csd"><citetitle>pinker.csd</citetitle></ulink>.</para> |
| 46 | |
| 47 | <example> |
| 48 | <title>Example of the pinker opcode.</title> |
| 49 | |
| 50 | <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> |
| 51 | <xi:include href="examples-xml/pinker.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 52 | </example> |
| 53 | </refsect1> |
| 54 | |
| 55 | <refsect1> |
| 56 | <title>See also</title> |
| 57 | <para><link linkend="SiggenNoise"><citetitle>Random (Noise) Generators</citetitle></link></para> |
| 58 | </refsect1> |
| 59 | |
| 60 | <refsect1> |
| 61 | <title>Credits</title> |
| 62 | <para> |
| 63 | <simplelist> |
| 64 | <member>Authors: Stefan Stenzel and &namejohn;</member> |
| 65 | <member>University of Bath/Codemist Ltd.</member> |
| 66 | <member>Bath, UK</member> |
| 67 | <member>May 2014</member> |
| 68 | </simplelist> |
| 69 | </para> |
| 70 | |
| 71 | <para>New in Csound Version 6.04</para> |
| 72 | |
| 73 | </refsect1> |
| 74 | </refentry> |