<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="octmidib">
  <refmeta>
    <refentrytitle>octmidib</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>octmidib</refname>

    <refpurpose>
      Get the note number of the current MIDI event and modify it by the current pitch-bend value, express it in octave-point-decimal.
      <indexterm id="IndexOctmidib"><primary>octmidib</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Get the note number of the current MIDI event and modify it by the current pitch-bend value, express it in octave-point-decimal.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>ioct <command>octmidib</command> [irange]</synopsis>

    <synopsis>koct <command>octmidib</command> [irange]</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>irange</emphasis> (optional) -- the pitch bend range in semitones
    </para>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      Get the note number of the current MIDI event, modify it by the current pitch-bend value, and express the result in octave-point-decimal units. Available as an i-time value or as a continuous k-rate value.
    </para>
  </refsect1>

  <refsect1>
    <title>Examples</title>
    <para>
      Here is an example of the octmidib opcode. It uses the files <ulink url="examples/octmidib.orc"><citetitle>octmidib.orc</citetitle></ulink> and <ulink url="examples/octmidib.sco"><citetitle>octmidib.sco</citetitle></ulink>.

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

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

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

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="aftouch"><citetitle>aftouch</citetitle></link>,
      <link linkend="ampmidi"><citetitle>ampmidi</citetitle></link>,
      <link linkend="cpsmidi"><citetitle>cpsmidi</citetitle></link>,
      <link linkend="cpsmidib"><citetitle>cpsmidib</citetitle></link>,
      <link linkend="midictrl"><citetitle>midictrl</citetitle></link>,
      <link linkend="notnum"><citetitle>notnum</citetitle></link>,
      <link linkend="octmidi"><citetitle>octmidi</citetitle></link>,
      <link linkend="pchbend"><citetitle>pchbend</citetitle></link>,
      <link linkend="pchmidi"><citetitle>pchmidi</citetitle></link>,
      <link linkend="pchmidib"><citetitle>pchmidib</citetitle></link>,
      <link linkend="veloc"><citetitle>veloc</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namebarry; - &namemike;</member>
        <member>MIT - Mills</member>
        <member>May 1997</member>
      </simplelist>
    </para>
    <para>Example written by &namekevin;.</para>
  </refsect1>
</refentry>
