Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f9eb832ba1e4b88d9a5c2b384813bb4 > files > 6900

kdelibs3-apidocs-3.5.10-31.fc15.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>libkmid: MidiOut Class Reference (libkmid)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../..">API Reference</a>
 / <a href=".">libkmid</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.7.4 -->
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">MidiOut Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="MidiOut" -->
<p>External MIDI port output class .  
 <a href="classMidiOut.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="midiout_8h_source.html">midiout.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for MidiOut:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classMidiOut.png" usemap="#MidiOut_map" alt=""/>
  <map id="MidiOut_map" name="MidiOut_map">
<area href="classAlsaOut.html" title="Sends MIDI events to a MIDI devices using ALSA." alt="AlsaOut" shape="rect" coords="0,56,64,80"/>
<area href="classFMOut.html" title="FM device output class ." alt="FMOut" shape="rect" coords="74,56,138,80"/>
<area href="classGUSOut.html" title="Gravis Ultrasound synthesizer output class ." alt="GUSOut" shape="rect" coords="148,56,212,80"/>
<area href="classSynthOut.html" title="Synth (AWE) device output class ." alt="SynthOut" shape="rect" coords="222,56,286,80"/>
</map>
 </div></div>

<p><a href="classMidiOut-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#a5af8f8675ab995fb33d3dac1119b6c60">MidiOut</a> (int d=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#a450e55ada7fc3200967a0ce93f99645c">~MidiOut</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#a866c94cc2ce695ba8c0593dbc27b3716">openDev</a> (int sqfd)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#a9ae4de3c2d802097036e247c15c2a930">closeDev</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#a79b9e6ea9e9eaf66dc2de1fdd6b9168c">initDev</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#ad7626220c90ab073a6efc86013f3d0ce">deviceType</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#a17b1b061e85cf0433b8b5acd313a74e2">deviceName</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#a52394929f0d16ab38572969b3eaca88e">setMidiMapper</a> (<a class="el" href="classMidiMapper.html">MidiMapper</a> *map)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#a43b0635afce32a31500688b3d9968fe4">noteOn</a> (uchar chn, uchar note, uchar vel)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#ad545a502cddf0a8dc7d1082f2b40d193">noteOff</a> (uchar chn, uchar note, uchar vel)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#acf74f00060b87fa392df8ed099383b0a">keyPressure</a> (uchar chn, uchar note, uchar vel)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#a664ed218283f92c502e190a0571a9127">chnPatchChange</a> (uchar chn, uchar patch)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#aa2dadcf3fe72e6f059889ab94920eb27">chnPressure</a> (uchar chn, uchar vel)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#a1b2c0c2da5ca864f19475d034f1b8eb5">chnPitchBender</a> (uchar chn, uchar lsb, uchar msb)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#adc9becdc2a69a435937cdc30b57a9d10">chnController</a> (uchar chn, uchar ctl, uchar v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#af5dd20d7342cc0c3a19f4f9c73d6cf02">sysex</a> (uchar *data, ulong size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#a2034d73150d679de4004e726604644bd">allNotesOff</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#ad9adf1f4f8d4090d6b524a6c2161ade0">channelSilence</a> (uchar chn)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#ac7d8e64f0198052b91f3f70c65987d2e">channelMute</a> (uchar chn, int b)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#a0320f121ab5f5539d819aeb8dd3fccfb">setVolumePercentage</a> (int volper)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#adb7701cf6f4fea7bfdf4b110f3fd2fd2">ok</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#a812772625c6d06d881893ab23a9e64a1">midiMapFilename</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMidiOut.html#a3ae408b02fd00ccdb4a6870171b21188">sync</a> (int i=0)</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef24c0b82207112274b2f0efbf46e41a"></a><!-- doxytag: member="MidiOut::seqbuf_dump" ref="aef24c0b82207112274b2f0efbf46e41a" args="(void)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>seqbuf_dump</b> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e52f722c5270444174adc438149a0d7"></a><!-- doxytag: member="MidiOut::seqbuf_clean" ref="a4e52f722c5270444174adc438149a0d7" args="(void)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>seqbuf_clean</b> (void)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="add319dba549b8c39fe0baf2230b31e6f"></a><!-- doxytag: member="MidiOut::seqfd" ref="add319dba549b8c39fe0baf2230b31e6f" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>seqfd</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a577efacf610cb017cd8b6825be85255d"></a><!-- doxytag: member="MidiOut::device" ref="a577efacf610cb017cd8b6825be85255d" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>device</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a478370ae5b8104d9bda4ab937b024408"></a><!-- doxytag: member="MidiOut::devicetype" ref="a478370ae5b8104d9bda4ab937b024408" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>devicetype</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ed416ae3cd9a551a4d66293cd5dcaa6"></a><!-- doxytag: member="MidiOut::volumepercentage" ref="a1ed416ae3cd9a551a4d66293cd5dcaa6" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>volumepercentage</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af73aa27c1d4eddb6093232e6600b9db9"></a><!-- doxytag: member="MidiOut::map" ref="af73aa27c1d4eddb6093232e6600b9db9" args="" -->
<a class="el" href="classMidiMapper.html">MidiMapper</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>map</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5cce693f562f4a68c6d136c7bf720cb7"></a><!-- doxytag: member="MidiOut::chnpatch" ref="a5cce693f562f4a68c6d136c7bf720cb7" args="[16]" -->
uchar&#160;</td><td class="memItemRight" valign="bottom"><b>chnpatch</b> [16]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af26085344a8dcce3bf527c8eb3a86c52"></a><!-- doxytag: member="MidiOut::chnbender" ref="af26085344a8dcce3bf527c8eb3a86c52" args="[16]" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>chnbender</b> [16]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8678d0a220f07c6cd4694b298679e5d6"></a><!-- doxytag: member="MidiOut::chnpressure" ref="a8678d0a220f07c6cd4694b298679e5d6" args="[16]" -->
uchar&#160;</td><td class="memItemRight" valign="bottom"><b>chnpressure</b> [16]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a016b931258ed28d72d144e54a0dea7ee"></a><!-- doxytag: member="MidiOut::chncontroller" ref="a016b931258ed28d72d144e54a0dea7ee" args="[16][256]" -->
uchar&#160;</td><td class="memItemRight" valign="bottom"><b>chncontroller</b> [16][256]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4f131563e39ba3d4045531d8133cc15"></a><!-- doxytag: member="MidiOut::chnmute" ref="aa4f131563e39ba3d4045531d8133cc15" args="[16]" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>chnmute</b> [16]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa953205fc59f1a640a96c499d52387a2"></a><!-- doxytag: member="MidiOut::_ok" ref="aa953205fc59f1a640a96c499d52387a2" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>_ok</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>External MIDI port output class . </p>
<p>This class is used to send midi events to external midi devices.</p>
<p><a class="el" href="classMidiOut.html" title="External MIDI port output class .">MidiOut</a> is inherited by other MIDI devices classes (like <a class="el" href="classSynthOut.html" title="Synth (AWE) device output class .">SynthOut</a> or <a class="el" href="classFMOut.html" title="FM device output class .">FMOut</a>) to support a common API.</p>
<p>In general, you don't want to use <a class="el" href="classMidiOut.html" title="External MIDI port output class .">MidiOut</a> directly, but within a <a class="el" href="classDeviceManager.html" title="MIDI Device Manager class .">DeviceManager</a> object, which is the preferred way to generate music.</p>
<p>If you want to add support for other devices (I don't think there are any) you just have to create a class that inherits from <a class="el" href="classMidiOut.html" title="External MIDI port output class .">MidiOut</a> and create one object of your new class in <a class="el" href="classDeviceManager.html#a7db7e18ae68dd5fa5ead64f176e6fc9e" title="Initializes the MIDI Device Manager object.">DeviceManager::initManager()</a>.</p>
<p>Sends MIDI events to external MIDI devices </p>
<dl class="version"><dt><b>Version:</b></dt><dd>0.9.5 17/01/2000 </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Antonio Larrosa Jimenez &lt;<a href="mailto:larrosa@kde.org">larrosa@kde.org</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="midiout_8h_source.html#l00051">51</a> of file <a class="el" href="midiout_8h_source.html">midiout.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a5af8f8675ab995fb33d3dac1119b6c60"></a><!-- doxytag: member="MidiOut::MidiOut" ref="a5af8f8675ab995fb33d3dac1119b6c60" args="(int d=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MidiOut::MidiOut </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>d</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>
<p>After constructing a <a class="el" href="classMidiOut.html" title="External MIDI port output class .">MidiOut</a> device, you must open it (using <a class="el" href="classMidiOut.html#a866c94cc2ce695ba8c0593dbc27b3716" title="Opens the device.">openDev()</a> ). Additionally you may want to initialize it (with <a class="el" href="classMidiOut.html#a79b9e6ea9e9eaf66dc2de1fdd6b9168c" title="Initializes the device sending generic standard midi events and controllers, such as changing the pat...">initDev()</a> ), </p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00046">46</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a450e55ada7fc3200967a0ce93f99645c"></a><!-- doxytag: member="MidiOut::~MidiOut" ref="a450e55ada7fc3200967a0ce93f99645c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MidiOut::~MidiOut </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>
<p>It doesn't matter if you close the device ( <a class="el" href="classMidiOut.html#a9ae4de3c2d802097036e247c15c2a930" title="Closes the device.">closeDev()</a> ) before you destruct the object because in other case, it will be closed here. </p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00057">57</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a2034d73150d679de4004e726604644bd"></a><!-- doxytag: member="MidiOut::allNotesOff" ref="a2034d73150d679de4004e726604644bd" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::allNotesOff </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Send a All Notes Off event to every channel. </p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00220">220</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ac7d8e64f0198052b91f3f70c65987d2e"></a><!-- doxytag: member="MidiOut::channelMute" ref="ac7d8e64f0198052b91f3f70c65987d2e" args="(uchar chn, int b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::channelMute </td>
          <td>(</td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>chn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Mute or "unmute" a given channel . </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">chn</td><td>channel to work on </td></tr>
    <tr><td class="paramname">b</td><td>if true, the device will ignore subsequent notes played on the chn channel, and mute all notes being played on it. If b is false, the channel is back to work. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#a46045431e061ed8731cced567c344de6">AlsaOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00240">240</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ad9adf1f4f8d4090d6b524a6c2161ade0"></a><!-- doxytag: member="MidiOut::channelSilence" ref="ad9adf1f4f8d4090d6b524a6c2161ade0" args="(uchar chn)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::channelSilence </td>
          <td>(</td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>chn</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Mutes all notes being played on a given channel. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">chn</td><td>the channel </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#a16676676894141e6b3364df207529a1f">AlsaOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00230">230</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="adc9becdc2a69a435937cdc30b57a9d10"></a><!-- doxytag: member="MidiOut::chnController" ref="adc9becdc2a69a435937cdc30b57a9d10" args="(uchar chn, uchar ctl, uchar v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::chnController </td>
          <td>(</td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>chn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>ctl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>See <a class="el" href="classDeviceManager.html#a5b810226cc168b31edbc80ac8d785227" title="Sends a Controller event to a MIDI channel.">DeviceManager::chnController()</a> </p>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#a9cb7646fcf9af95c7795896a2868a6f8">AlsaOut</a>, <a class="el" href="classFMOut.html#ae921ecda47f7af3e3fb247e15c484efc">FMOut</a>, <a class="el" href="classGUSOut.html#a24ef8810d86d67a25970eb1c86974716">GUSOut</a>, and <a class="el" href="classSynthOut.html#ae51ace64e625925959f967533a0c24a0">SynthOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00186">186</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a664ed218283f92c502e190a0571a9127"></a><!-- doxytag: member="MidiOut::chnPatchChange" ref="a664ed218283f92c502e190a0571a9127" args="(uchar chn, uchar patch)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::chnPatchChange </td>
          <td>(</td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>chn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>patch</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>See <a class="el" href="classDeviceManager.html#a457923289e59bd156e3d57d5d9aecd33" title="Changes the patch (instrument) on a MIDI channel.">DeviceManager::chnPatchChange()</a> </p>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#a1e5a87db80538d52a5af4b336f5a022e">AlsaOut</a>, <a class="el" href="classFMOut.html#a24321aabec0b734130c057f5d8de2506">FMOut</a>, <a class="el" href="classGUSOut.html#acf231cc3b64a9933b31d52171f056de3">GUSOut</a>, and <a class="el" href="classSynthOut.html#a8f14efe1038a2abb4165a0cc5f1433c9">SynthOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00147">147</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a1b2c0c2da5ca864f19475d034f1b8eb5"></a><!-- doxytag: member="MidiOut::chnPitchBender" ref="a1b2c0c2da5ca864f19475d034f1b8eb5" args="(uchar chn, uchar lsb, uchar msb)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::chnPitchBender </td>
          <td>(</td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>chn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>lsb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>msb</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>See <a class="el" href="classDeviceManager.html#a0f6cd1f7c8283dcff2d143de6bce1236" title="Changes the Pitch Bender value on a MIDI channel.">DeviceManager::chnPitchBender()</a> </p>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#aee5d72c136e8fa4a2736bd1b500cf519">AlsaOut</a>, <a class="el" href="classFMOut.html#ab0eb9d516a289c19616b4335cda54aa9">FMOut</a>, <a class="el" href="classGUSOut.html#af87699d2bb0e317d02fdd3e525c54dfb">GUSOut</a>, and <a class="el" href="classSynthOut.html#a3a19b705050eecab3b818f74a031d73d">SynthOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00166">166</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="aa2dadcf3fe72e6f059889ab94920eb27"></a><!-- doxytag: member="MidiOut::chnPressure" ref="aa2dadcf3fe72e6f059889ab94920eb27" args="(uchar chn, uchar vel)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::chnPressure </td>
          <td>(</td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>chn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>vel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>See <a class="el" href="classDeviceManager.html#aa5538517c5a963e4a416cd4aa2b6dbd6" title="Changes the Pressure (Aftertouch) on a MIDI channel.">DeviceManager::chnPressure()</a> </p>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#a7cd1f5e8ab7ccdad6e3ca0ac2bebfbee">AlsaOut</a>, <a class="el" href="classFMOut.html#ad112d7e20974e74c3ef272d75fe96c81">FMOut</a>, <a class="el" href="classGUSOut.html#a9c9c76df32f088d2b8ed842f122a3827">GUSOut</a>, and <a class="el" href="classSynthOut.html#a450a9f7980aad75b038fde8a43d50ce4">SynthOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00158">158</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a9ae4de3c2d802097036e247c15c2a930"></a><!-- doxytag: member="MidiOut::closeDev" ref="a9ae4de3c2d802097036e247c15c2a930" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::closeDev </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Closes the device. </p>
<p>It basically tells the device (the file descriptor) is going to be closed. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classMidiOut.html#a866c94cc2ce695ba8c0593dbc27b3716" title="Opens the device.">openDev</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#a85d1cfed1df0faae6dcb8a7a220a7643">AlsaOut</a>, <a class="el" href="classFMOut.html#a8d9b748793147d3aa26bef877bdacd61">FMOut</a>, <a class="el" href="classGUSOut.html#ac27415d9031d37869f4e6641abf6848f">GUSOut</a>, and <a class="el" href="classSynthOut.html#a6755e8307b12679da8e020648be0f845">SynthOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00077">77</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a17b1b061e85cf0433b8b5acd313a74e2"></a><!-- doxytag: member="MidiOut::deviceName" ref="a17b1b061e85cf0433b8b5acd313a74e2" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * MidiOut::deviceName </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the name and type of this MIDI device. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classMidiOut.html#ad7626220c90ab073a6efc86013f3d0ce">deviceType</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#a00f280ba04dd2f9be899ff419b7376b8">AlsaOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00280">280</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ad7626220c90ab073a6efc86013f3d0ce"></a><!-- doxytag: member="MidiOut::deviceType" ref="ad7626220c90ab073a6efc86013f3d0ce" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MidiOut::deviceType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the device type of the object. This is to identify the inherited class that a given object is polymorphed to. The returned value is one of these :</dd></dl>
<ul>
<li>KMID_EXTERNAL_MIDI if it's a <a class="el" href="classMidiOut.html" title="External MIDI port output class .">MidiOut</a> object </li>
<li>KMID_SYNTH if it's a <a class="el" href="classSynthOut.html" title="Synth (AWE) device output class .">SynthOut</a> object (as an AWE device) </li>
<li>KMID_FM if it's a <a class="el" href="classFMOut.html" title="FM device output class .">FMOut</a> object </li>
<li>KMID_GUS if it's a <a class="el" href="classGUSOut.html" title="Gravis Ultrasound synthesizer output class .">GUSOut</a> object</li>
</ul>
<p>which are defined in <a class="el" href="midispec_8h_source.html">midispec.h</a></p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classMidiOut.html#a17b1b061e85cf0433b8b5acd313a74e2" title="Returns the name and type of this MIDI device.">deviceName</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#ab771d684ddec7baecd93fb0b638d5666">AlsaOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8h_source.html#l00139">139</a> of file <a class="el" href="midiout_8h_source.html">midiout.h</a>.</p>

</div>
</div>
<a class="anchor" id="a79b9e6ea9e9eaf66dc2de1fdd6b9168c"></a><!-- doxytag: member="MidiOut::initDev" ref="a79b9e6ea9e9eaf66dc2de1fdd6b9168c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::initDev </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initializes the device sending generic standard midi events and controllers, such as changing the patches of each channel to an Acoustic Piano (000), setting the volume to a normal value, etc. </p>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#a8ef8b9e18bb1cc9174d4d09890faeedb">AlsaOut</a>, <a class="el" href="classFMOut.html#a1bda31d7316b40dec12cbc5df5615211">FMOut</a>, <a class="el" href="classGUSOut.html#aa02cb206225bec46285f11584a9eb6f7">GUSOut</a>, and <a class="el" href="classSynthOut.html#ab670a47bf6af10438a08f45a3a4fb0b4">SynthOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00086">86</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="acf74f00060b87fa392df8ed099383b0a"></a><!-- doxytag: member="MidiOut::keyPressure" ref="acf74f00060b87fa392df8ed099383b0a" args="(uchar chn, uchar note, uchar vel)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::keyPressure </td>
          <td>(</td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>chn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>note</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>vel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>See <a class="el" href="classDeviceManager.html#ac1c843e8d8f3b0e2d9364ccd570c0623" title="Sends a Key Pressure (or Aftertouch) MIDI event.">DeviceManager::keyPressure()</a> </p>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#a92b1653c9aebeb049cdf37687bec2903">AlsaOut</a>, <a class="el" href="classFMOut.html#a3fe038d3faabbc9d6903c2256b369eee">FMOut</a>, <a class="el" href="classGUSOut.html#a4347f6364c371831ce301021ce766eee">GUSOut</a>, and <a class="el" href="classSynthOut.html#a6e48e60f92c80bc6c082761fc2d4bafd">SynthOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00140">140</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a812772625c6d06d881893ab23a9e64a1"></a><!-- doxytag: member="MidiOut::midiMapFilename" ref="a812772625c6d06d881893ab23a9e64a1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * MidiOut::midiMapFilename </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the path to the file where the current used <a class="el" href="classMidiMapper.html" title="A Midi Mapper class which defines the way MIDI events are translated (or &quot;mapped&quot;) to different ones...">MidiMapper</a> object reads the configuration from, or an empty string if there's no <a class="el" href="classMidiMapper.html" title="A Midi Mapper class which defines the way MIDI events are translated (or &quot;mapped&quot;) to different ones...">MidiMapper</a>. </p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00275">275</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ad545a502cddf0a8dc7d1082f2b40d193"></a><!-- doxytag: member="MidiOut::noteOff" ref="ad545a502cddf0a8dc7d1082f2b40d193" args="(uchar chn, uchar note, uchar vel)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::noteOff </td>
          <td>(</td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>chn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>note</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>vel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>See <a class="el" href="classDeviceManager.html#ab68d50cd0887a9952f90d1ce34f23ae0" title="Sends a Note Off MIDI event.">DeviceManager::noteOff()</a> </p>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#ac5c6bdcb04240208391710d30e9d244e">AlsaOut</a>, <a class="el" href="classFMOut.html#a849c1b3d1ebf33548032eed05ac05601">FMOut</a>, <a class="el" href="classGUSOut.html#a19b08017bd073198306bf623f036e3a1">GUSOut</a>, and <a class="el" href="classSynthOut.html#afe97bb5266e1b3764a86f7073bea260e">SynthOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00130">130</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a43b0635afce32a31500688b3d9968fe4"></a><!-- doxytag: member="MidiOut::noteOn" ref="a43b0635afce32a31500688b3d9968fe4" args="(uchar chn, uchar note, uchar vel)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::noteOn </td>
          <td>(</td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>chn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>note</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uchar&#160;</td>
          <td class="paramname"><em>vel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>See <a class="el" href="classDeviceManager.html#a0a8fa608705b596053d3a033ffc50124" title="Sends a Note On MIDI event.">DeviceManager::noteOn()</a> </p>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#ae526fcc0d4c4f3a345d159247e10930c">AlsaOut</a>, <a class="el" href="classFMOut.html#a8747206cbc173cb7045adcc0a760486a">FMOut</a>, <a class="el" href="classGUSOut.html#a22341d7226833443ae3e3a5ce3719965">GUSOut</a>, and <a class="el" href="classSynthOut.html#a3a48d6c3f493ab5b004df07e20fbf331">SynthOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00113">113</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="adb7701cf6f4fea7bfdf4b110f3fd2fd2"></a><!-- doxytag: member="MidiOut::ok" ref="adb7701cf6f4fea7bfdf4b110f3fd2fd2" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MidiOut::ok </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if everything's ok and false if there has been any problem. </p>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#aba42f50d11f69aba868407b3640d0857">AlsaOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8h_source.html#l00231">231</a> of file <a class="el" href="midiout_8h_source.html">midiout.h</a>.</p>

</div>
</div>
<a class="anchor" id="a866c94cc2ce695ba8c0593dbc27b3716"></a><!-- doxytag: member="MidiOut::openDev" ref="a866c94cc2ce695ba8c0593dbc27b3716" args="(int sqfd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::openDev </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sqfd</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Opens the device. </p>
<p>This is generally called from <a class="el" href="classDeviceManager.html" title="MIDI Device Manager class .">DeviceManager</a> , so you shouldn't call this yourself (except if you created the <a class="el" href="classMidiOut.html" title="External MIDI port output class .">MidiOut</a> object yourself. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">sqfd</td><td>a file descriptor of /dev/sequencer </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classMidiOut.html#a9ae4de3c2d802097036e247c15c2a930" title="Closes the device.">closeDev</a> </dd>
<dd>
<a class="el" href="classMidiOut.html#a79b9e6ea9e9eaf66dc2de1fdd6b9168c" title="Initializes the device sending generic standard midi events and controllers, such as changing the pat...">initDev</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#a8edcd53b1bd09920414d93e9eac061a3">AlsaOut</a>, <a class="el" href="classFMOut.html#a6ea1f64b43541ae16379bd49b3f837bb">FMOut</a>, <a class="el" href="classGUSOut.html#a00ced18d9a643ceffb16faa4b622e55a">GUSOut</a>, and <a class="el" href="classSynthOut.html#a29c8fc9d0e1fc74218ea2635974becd7">SynthOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00063">63</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a52394929f0d16ab38572969b3eaca88e"></a><!-- doxytag: member="MidiOut::setMidiMapper" ref="a52394929f0d16ab38572969b3eaca88e" args="(MidiMapper *map)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::setMidiMapper </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classMidiMapper.html">MidiMapper</a> *&#160;</td>
          <td class="paramname"><em>map</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a <a class="el" href="classMidiMapper.html" title="A Midi Mapper class which defines the way MIDI events are translated (or &quot;mapped&quot;) to different ones...">MidiMapper</a> object to be used to modify the midi events before sending them. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">map</td><td>the <a class="el" href="classMidiMapper.html" title="A Midi Mapper class which defines the way MIDI events are translated (or &quot;mapped&quot;) to different ones...">MidiMapper</a> to use.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classMidiMapper.html" title="A Midi Mapper class which defines the way MIDI events are translated (or &quot;mapped&quot;) to different ones...">MidiMapper</a> </dd>
<dd>
<a class="el" href="classMidiOut.html#a812772625c6d06d881893ab23a9e64a1" title="Returns the path to the file where the current used MidiMapper object reads the configuration from...">midiMapFilename</a> </dd></dl>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00107">107</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a0320f121ab5f5539d819aeb8dd3fccfb"></a><!-- doxytag: member="MidiOut::setVolumePercentage" ref="a0320f121ab5f5539d819aeb8dd3fccfb" args="(int volper)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void MidiOut::setVolumePercentage </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>volper</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Change all channel volume events multiplying it by this percentage correction Instead of forcing a channel to a fixed volume, this method allows to music to fade out even when it was being played softly. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">volper</td><td>is an integer value, where 0 is quiet, 100 is used to send an unmodified value, 200 play music twice louder than it should, etc. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#a797fcf8d2fc1cd8305027c487a9a5b45">AlsaOut</a>, and <a class="el" href="classFMOut.html#a887a4fb2d285ca92247abe8fe6b84cd4">FMOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8h_source.html#l00225">225</a> of file <a class="el" href="midiout_8h_source.html">midiout.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3ae408b02fd00ccdb4a6870171b21188"></a><!-- doxytag: member="MidiOut::sync" ref="a3ae408b02fd00ccdb4a6870171b21188" args="(int i=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::sync </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sends the buffer to the device and returns when it's played, so you can synchronize XXX: sync should be virtual after next bic release. </p>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#a315f1090b6134ffe3e2434b2b1fbce77">AlsaOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00294">294</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<a class="anchor" id="af5dd20d7342cc0c3a19f4f9c73d6cf02"></a><!-- doxytag: member="MidiOut::sysex" ref="af5dd20d7342cc0c3a19f4f9c73d6cf02" args="(uchar *data, ulong size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MidiOut::sysex </td>
          <td>(</td>
          <td class="paramtype">uchar *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ulong&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>See DeviceManager::sysex() </p>

<p>Reimplemented in <a class="el" href="classAlsaOut.html#a60dd751127259bbe1da4033a178f3eae">AlsaOut</a>, <a class="el" href="classFMOut.html#a8622461a99bac839717c0660de305a37">FMOut</a>, <a class="el" href="classGUSOut.html#aff190956fe307114e1330201f06ae5b8">GUSOut</a>, and <a class="el" href="classSynthOut.html#ab995fbd9e19a36bcbce19d49147c1d6b">SynthOut</a>.</p>

<p>Definition at line <a class="el" href="midiout_8cc_source.html#l00205">205</a> of file <a class="el" href="midiout_8cc_source.html">midiout.cc</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="midiout_8h_source.html">midiout.h</a></li>
<li><a class="el" href="midiout_8cc_source.html">midiout.cc</a></li>
</ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>libkmid</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classAlsaOut.html">alsaout</option>,  <option value="classDeviceManager.html">devicemanager</option>,  <option value="classFMOut.html">fmout</option>,  <option value="classGUSOut.html">gusout</option>,  <option value="classMidiMapper.html">midimapper</option>,  <option value="classMidiOut.html">midiout</option>,  <option value="classMidiPlayer.html">midiplayer</option>,  <option value="classMidiStatus.html">midistatus</option>,  <option value="classMidiTrack.html">miditrack</option>,  <option value="classNoteArray.html">notearray</option>,  <option value="classSynthOut.html">synthout</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>