summaryrefslogtreecommitdiff
path: root/opcodes/guiro.xml
blob: 4ffcb8a9a914c6c07501e6ca239041960e723d45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<refentry id="guiro">
<indexterm id="IndexGuiro"><primary>guiro</primary></indexterm>
  <refentryinfo><title>Signal Generators:Models and Emulations</title></refentryinfo>
  <refmeta>
    <refentrytitle>guiro</refentrytitle>
  </refmeta>


 
  <refnamediv>
    <refname>guiro</refname>
    <refpurpose>
      Semi-physical model of a guiro sound.
          </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      <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.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>ares <command>guiro</command> kamp, idettack [, inum] [, idamp] [, imaxshake] [, ifreq] [, ifreq1]</synopsis>
  </refsect1>

  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>idettack</emphasis> -- period of time over which all sound is stopped
    </para>
 
    <para>
      <emphasis>inum</emphasis> (optional) -- The number of beads, teeth, bells, timbrels, etc.  If zero, the default value is 128.
    </para>

    <para>
      <emphasis>idamp</emphasis> (optional) -- the damping factor of the instrument. <emphasis>Not used.</emphasis>
    </para>

    <para>
      <emphasis>imaxshake</emphasis> (optional, default=0) -- amount of energy to add back into the system. The value should be in range 0 to 1.
    </para>

    <para>
      <emphasis>ifreq</emphasis> (optional) -- the main resonant frequency. The default value is 2500.
    </para>

    <para>
      <emphasis>ifreq1</emphasis> (optional) -- the first resonant frequency.
    </para>
 </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>kamp</emphasis> -- Amplitude of output.  Note: As these instruments are stochastic, this is only an approximation.
    </para>
 </refsect1>
 
  <refsect1>
    <title>Examples</title>
    <para>
      Here is an example of the guiro opcode. It uses the file <ulink url="examples/guiro.csd"><citetitle>guiro.csd</citetitle></ulink>.

      <example>
        <title>Example of the guiro opcode.</title>

        

        <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>
          <xi:include href="examples-xml/guiro.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
      </example>
    </para>
  </refsect1>
 
  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="bamboo"><citetitle>bamboo</citetitle></link>, 
      <link linkend="dripwater"><citetitle>dripwater</citetitle></link>, 
      <link linkend="sleighbells"><citetitle>sleighbells</citetitle></link>, 
      <link linkend="tambourine"><citetitle>tambourine</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &nameperry;, part of the PhISEM (Physically Informed Stochastic Event Modeling)</member>
        <member>Adapted by &namejohn;</member>
        <member>University of Bath, Codemist Ltd.</member>
        <member>Bath, UK</member>
      </simplelist>
    </para>

    <para>New in Csound version 4.07</para>
    <para>Added notes by &namerasmus; on May 2002.</para>
  </refsect1>
</refentry>