| 1 | |
| 2 | <refentry id="guiro"> |
| 3 | <indexterm id="IndexGuiro"><primary>guiro</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Generators:Models and Emulations</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>guiro</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>guiro</refname> |
| 13 | <refpurpose> |
| 14 | Semi-physical model of a guiro sound. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | <emphasis>guiro</emphasis> is a semi-physical model of a guiro sound. It is one of the PhISEM percussion opcodes. PhISEM (Physically Informed Stochastic Event Modeling) is an algorithmic approach for simulating collisions of multiple independent sound producing objects. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis>ares <command>guiro</command> kamp, idettack [, inum] [, idamp] [, imaxshake] [, ifreq] [, ifreq1]</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Initialization</title> |
| 32 | <para> |
| 33 | <emphasis>idettack</emphasis> -- period of time over which all sound is stopped |
| 34 | </para> |
| 35 | |
| 36 | <para> |
| 37 | <emphasis>inum</emphasis> (optional) -- The number of beads, teeth, bells, timbrels, etc. If zero, the default value is 128. |
| 38 | </para> |
| 39 | |
| 40 | <para> |
| 41 | <emphasis>idamp</emphasis> (optional) -- the damping factor of the instrument. <emphasis>Not used.</emphasis> |
| 42 | </para> |
| 43 | |
| 44 | <para> |
| 45 | <emphasis>imaxshake</emphasis> (optional, default=0) -- amount of energy to add back into the system. The value should be in range 0 to 1. |
| 46 | </para> |
| 47 | |
| 48 | <para> |
| 49 | <emphasis>ifreq</emphasis> (optional) -- the main resonant frequency. The default value is 2500 Hz. |
| 50 | </para> |
| 51 | |
| 52 | <para> |
| 53 | <emphasis>ifreq1</emphasis> (optional) -- the first resonant frequency. Default value here is 4000 Hz |
| 54 | </para> |
| 55 | </refsect1> |
| 56 | |
| 57 | <refsect1> |
| 58 | <title>Performance</title> |
| 59 | <para> |
| 60 | <emphasis>kamp</emphasis> -- Amplitude of output. Note: As these instruments are stochastic, this is only an approximation. |
| 61 | </para> |
| 62 | </refsect1> |
| 63 | |
| 64 | <refsect1> |
| 65 | <title>Examples</title> |
| 66 | <para> |
| 67 | Here is an example of the guiro opcode. It uses the file <ulink url="examples/guiro.csd"><citetitle>guiro.csd</citetitle></ulink>. |
| 68 | |
| 69 | <example> |
| 70 | <title>Example of the guiro opcode.</title> |
| 71 | |
| 72 | |
| 73 | |
| 74 | <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> |
| 75 | <xi:include href="examples-xml/guiro.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 76 | </example> |
| 77 | </para> |
| 78 | </refsect1> |
| 79 | |
| 80 | <refsect1> |
| 81 | <title>See Also</title> |
| 82 | <para> |
| 83 | <link linkend="SiggenModels"><citetitle>Models and Emulations</citetitle></link> |
| 84 | </para> |
| 85 | </refsect1> |
| 86 | |
| 87 | <refsect1> |
| 88 | <title>Credits</title> |
| 89 | <para> |
| 90 | <simplelist> |
| 91 | <member>Author: &nameperry;, part of the PhISEM (Physically Informed Stochastic Event Modeling)</member> |
| 92 | <member>Adapted by &namejohn;</member> |
| 93 | <member>University of Bath, Codemist Ltd.</member> |
| 94 | <member>Bath, UK</member> |
| 95 | </simplelist> |
| 96 | </para> |
| 97 | |
| 98 | <para>New in Csound version 4.07</para> |
| 99 | <para>Added notes by &namerasmus; on May 2002.</para> |
| 100 | </refsect1> |
| 101 | </refentry> |