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

    <refpurpose>
      Send system real-time messages to the MIDI OUT port.
      <indexterm id="IndexMrtmsg"><primary>mrtmsg</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Send system real-time messages to the MIDI OUT port.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis><command>mrtmsg</command> imsgtype</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
     <emphasis>imsgtype</emphasis> -- type of real-time message:
     <itemizedlist>
	<listitem><para>1 sends a START message (0xFA);</para></listitem>
	<listitem><para>2 sends a CONTINUE message (0xFB);</para></listitem>
	<listitem><para>0 sends a STOP message (0xFC);</para></listitem>
	<listitem><para>-1 sends a SYSTEM RESET message (0xFF);</para></listitem>
	<listitem><para>-2 sends an ACTIVE SENSING message (0xFE)</para></listitem>
     </itemizedlist>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      Sends a real-time message once, in init stage of current instrument. <emphasis>imsgtype</emphasis> parameter is a flag to indicate the message type.
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="mclock"><citetitle>mclock</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namegabriel;</member>
        <member>Italy</member>
      </simplelist>
    </para>

    <para>New in Csound version 3.47</para>
  </refsect1>
</refentry>
