<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="sekere">
  <refmeta>
    <refentrytitle>sekere</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>sekere</refname>
    <refpurpose>
      Semi-physical model of a sekere sound.
      <indexterm id="IndexSekere"><primary>sekere</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      <emphasis>sekere</emphasis> is a semi-physical model of a sekere 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>ar <command>sekere</command> iamp, idettack [, inum] [, idamp] [, imaxshake]</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>iamp</emphasis> -- Amplitude of output.  Note: As these instruments are stochastic, this is only a approximation.
    </para>

    <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 64.
    </para>

    <para>
      <emphasis>idamp</emphasis> (optional) -- the damping factor, as part of this equation:
      <literallayout>damping_amount = 0.998 + (idamp * 0.002)</literallayout>
    </para>

    <para>
      The default <emphasis>damping_amount</emphasis> is 0.999 which means that the default value of <emphasis>idamp</emphasis> is 0.5. The maximum <emphasis>damping_amount</emphasis> is 1.0 (no damping). This means the maximum value for <emphasis>idamp</emphasis> is 1.0.
    </para>

    <para>
      The recommended range for <emphasis>idamp</emphasis> is usually below 75% of the maximum value.
    </para>

    <para>
      <emphasis>imaxshake</emphasis> (optional) -- amount of energy to add back into the system. The value should be in range 0 to 1.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Examples</title>
    <para>
      Here is an example of the sekere opcode. It uses the files <ulink url="examples/sekere.orc"><citetitle>sekere.orc</citetitle></ulink> and <ulink url="examples/sekere.sco"><citetitle>sekere.sco</citetitle></ulink>.

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

        <programlisting>
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="examples/sekere.orc" format="linespecific">
            </imageobject>
          </inlinemediaobject>
        </programlisting>

        <programlisting>
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="examples/sekere.sco" format="linespecific">
            </imageobject>
          </inlinemediaobject>
        </programlisting>
      </example>
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="cabasa"><citetitle>cabasa</citetitle></link>,
      <link linkend="crunch"><citetitle>crunch</citetitle></link>,
      <link linkend="sandpaper"><citetitle>sandpaper</citetitle></link>,
      <link linkend="stix"><citetitle>stix</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>
