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

    <refpurpose>
      Sends a Non-Registered Parameter Number to the MIDI OUT port.
      <indexterm id="IndexNrpn"><primary>nrpn</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Sends a NPRN (Non-Registered Parameter Number) message to the MIDI OUT port each time one of the input arguments changes.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis><command>nrpn</command> kchan, kparmnum, kparmvalue</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>kchan</emphasis> -- MIDI channel (1-16)
    </para>

    <para>
      <emphasis>kparmnum</emphasis> -- number of NRPN parameter
    </para>

    <para>
      <emphasis>kparmvalue</emphasis> -- value of NRPN parameter
    </para>

    <para>
      This opcode sends new message when the MIDI translated value of one of the input arguments changes. It operates at k-rate. Useful with the MIDI instruments that recognize NRPNs (for example with the newest sound-cards with internal MIDI synthesizer such as SB AWE32, AWE64, GUS etc. in which each patch parameter can be changed during the performance via NRPN)
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namegabriel;</member>
        <member>Italy</member>
        <member>1998</member>
      </simplelist>
    </para>

    <para>New in Csound version 3.492</para>
    <para>Thanks goes to &namerasmus; for pointing out the correct MIDI channel and controller number ranges.</para>
  </refsect1>
</refentry>
