summaryrefslogtreecommitdiff
path: root/doc/html/classRtMidiOut.html
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2013-10-11 15:38:21 +0200
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 15:38:21 +0200
commit0f31bb3d0ae7fc6f5ff41e3c4963450dad350fc2 (patch)
tree0af744d634b17667adcbd4f2ba8e1c9c08218165 /doc/html/classRtMidiOut.html
parenta9f686ec60569047d7df03bfb034326700a56a57 (diff)
Release 2.0.0 tarball2.0.0
Diffstat (limited to 'doc/html/classRtMidiOut.html')
-rw-r--r--doc/html/classRtMidiOut.html55
1 files changed, 34 insertions, 21 deletions
diff --git a/doc/html/classRtMidiOut.html b/doc/html/classRtMidiOut.html
index 02b1dff..7087b66 100644
--- a/doc/html/classRtMidiOut.html
+++ b/doc/html/classRtMidiOut.html
@@ -28,20 +28,23 @@ Inheritance diagram for RtMidiOut:</div>
<p><a href="classRtMidiOut-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRtMidiOut.html#a8ed1b492900f3410bf91ad53203b9db3">RtMidiOut</a> (const std::string clientName=std::string(&quot;RtMidi Output Client&quot;))</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor that allows an optional client name. <a href="#a8ed1b492900f3410bf91ad53203b9db3"></a><br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab776c431bd84193febb2f78fb8c7e792"></a><!-- doxytag: member="RtMidiOut::~RtMidiOut" ref="ab776c431bd84193febb2f78fb8c7e792" args="()" -->
-&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRtMidiOut.html#ab776c431bd84193febb2f78fb8c7e792">~RtMidiOut</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRtMidiOut.html#a2940966e36b5479fbbf82c07424318cc">RtMidiOut</a> (<a class="el" href="classRtMidi.html#aac66af04a85fe5c5f07c360574a19406">RtMidi::Api</a> api=UNSPECIFIED, const std::string clientName=std::string(&quot;RtMidi Output Client&quot;))</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor that allows an optional client name. <a href="#a2940966e36b5479fbbf82c07424318cc"></a><br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afdc37ccd60d7a31b3970da7a1d423881"></a><!-- doxytag: member="RtMidiOut::~RtMidiOut" ref="afdc37ccd60d7a31b3970da7a1d423881" args="(void)" -->
+&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRtMidiOut.html#afdc37ccd60d7a31b3970da7a1d423881">~RtMidiOut</a> (void) throw ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The destructor closes any open MIDI connections. <br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a532b5712e305bd8afb65a3ad14138e0f"></a><!-- doxytag: member="RtMidiOut::getCurrentApi" ref="a532b5712e305bd8afb65a3ad14138e0f" args="(void)" -->
+<a class="el" href="classRtMidi.html#aac66af04a85fe5c5f07c360574a19406">RtMidi::Api</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRtMidiOut.html#a532b5712e305bd8afb65a3ad14138e0f">getCurrentApi</a> (void) throw ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the MIDI API specifier for the current instance of <a class="el" href="classRtMidiOut.html" title="A realtime MIDI output class.">RtMidiOut</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRtMidiOut.html#a1b280d67317cd473a8816aeb2fe6c186">openPort</a> (unsigned int portNumber=0, const std::string portName=std::string(&quot;RtMidi Output&quot;))</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Open a MIDI output connection. <a href="#a1b280d67317cd473a8816aeb2fe6c186"></a><br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3092e53a8aed2d3b163fcaa05fafd041"></a><!-- doxytag: member="RtMidiOut::closePort" ref="a3092e53a8aed2d3b163fcaa05fafd041" args="()" -->
-void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRtMidiOut.html#a3092e53a8aed2d3b163fcaa05fafd041">closePort</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a28d1ba9e002fd07a317d3a257d87e8"></a><!-- doxytag: member="RtMidiOut::closePort" ref="a5a28d1ba9e002fd07a317d3a257d87e8" args="(void)" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRtMidiOut.html#a5a28d1ba9e002fd07a317d3a257d87e8">closePort</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Close an open MIDI connection (if one exists). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRtMidiOut.html#a47068e1c076d91fd89587c0ccdeddc7a">openVirtualPort</a> (const std::string portName=std::string(&quot;RtMidi Output&quot;))</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a virtual output port, with optional name, to allow software connections (OS X and ALSA only). <a href="#a47068e1c076d91fd89587c0ccdeddc7a"></a><br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad6cddbcc7faa20a7be229f765ade0877"></a><!-- doxytag: member="RtMidiOut::getPortCount" ref="ad6cddbcc7faa20a7be229f765ade0877" args="()" -->
-unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRtMidiOut.html#ad6cddbcc7faa20a7be229f765ade0877">getPortCount</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c4d662e1c398ddf35a2dbaf66f50976"></a><!-- doxytag: member="RtMidiOut::getPortCount" ref="a0c4d662e1c398ddf35a2dbaf66f50976" args="(void)" -->
+unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRtMidiOut.html#a0c4d662e1c398ddf35a2dbaf66f50976">getPortCount</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of available MIDI output ports. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRtMidiOut.html#acc4ae0ab71a49ae7629075d5a9cd837c">getPortName</a> (unsigned int portNumber=0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return a string identifier for the specified MIDI port type and number. <a href="#acc4ae0ab71a49ae7629075d5a9cd837c"></a><br/></td></tr>
@@ -50,27 +53,37 @@ unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" hr
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A realtime MIDI output class. </p>
-<p>This class provides a common, platform-independent API for MIDI output. It allows one to probe available MIDI output ports, to connect to one such port, and to send MIDI bytes immediately over the connection. Create multiple instances of this class to connect to more than one MIDI device at the same time.</p>
-<p>by Gary P. Scavone, 2003-2008. </p>
+<p>This class provides a common, platform-independent API for MIDI output. It allows one to probe available MIDI output ports, to connect to one such port, and to send MIDI bytes immediately over the connection. Create multiple instances of this class to connect to more than one MIDI device at the same time. With the OS-X and Linux ALSA MIDI APIs, it is also possible to open a virtual port to which other MIDI software clients can connect.</p>
+<p>by Gary P. Scavone, 2003-2012. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
-<a class="anchor" id="a8ed1b492900f3410bf91ad53203b9db3"></a><!-- doxytag: member="RtMidiOut::RtMidiOut" ref="a8ed1b492900f3410bf91ad53203b9db3" args="(const std::string clientName=std::string(&quot;RtMidi Output Client&quot;))" -->
+<a class="anchor" id="a2940966e36b5479fbbf82c07424318cc"></a><!-- doxytag: member="RtMidiOut::RtMidiOut" ref="a2940966e36b5479fbbf82c07424318cc" args="(RtMidi::Api api=UNSPECIFIED, const std::string clientName=std::string(&quot;RtMidi Output Client&quot;))" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">RtMidiOut::RtMidiOut </td>
<td>(</td>
+ <td class="paramtype"><a class="el" href="classRtMidi.html#aac66af04a85fe5c5f07c360574a19406">RtMidi::Api</a>&nbsp;</td>
+ <td class="paramname"> <em>api</em> = <code>UNSPECIFIED</code>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
<td class="paramtype">const std::string&nbsp;</td>
- <td class="paramname"> <em>clientName</em> = <code>std::string(&quot;RtMidi&nbsp;Output&nbsp;Client&quot;)</code></td>
- <td>&nbsp;)&nbsp;</td>
+ <td class="paramname"> <em>clientName</em> = <code>std::string(&quot;RtMidi&nbsp;Output&nbsp;Client&quot;)</code></td><td>&nbsp;</td>
+ </tr>
+ <tr>
<td></td>
+ <td>)</td>
+ <td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default constructor that allows an optional client name. </p>
-<p>An exception will be thrown if a MIDI system initialization error occurs. </p>
+<p>An exception will be thrown if a MIDI system initialization error occurs.</p>
+<p>If no API argument is specified and multiple API support has been compiled, the default order of use is JACK, ALSA (Linux) and CORE, Jack (OS-X). </p>
</div>
</div>
@@ -89,12 +102,12 @@ unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" hr
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string&nbsp;</td>
- <td class="paramname"> <em>portName</em> = <code>std::string(&quot;RtMidi&nbsp;Output&quot;)</code></td><td>&nbsp;</td>
+ <td class="paramname"> <em>portName</em> = <code>std::string(&nbsp;&quot;RtMidi&nbsp;Output&quot;&nbsp;)</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td><code> [virtual]</code></td>
+ <td></td><td></td><td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
@@ -115,9 +128,9 @@ unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" hr
<td class="memname">void RtMidiOut::openVirtualPort </td>
<td>(</td>
<td class="paramtype">const std::string&nbsp;</td>
- <td class="paramname"> <em>portName</em> = <code>std::string(&quot;RtMidi&nbsp;Output&quot;)</code></td>
+ <td class="paramname"> <em>portName</em> = <code>std::string(&nbsp;&quot;RtMidi&nbsp;Output&quot;&nbsp;)</code></td>
<td>&nbsp;)&nbsp;</td>
- <td><code> [virtual]</code></td>
+ <td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
@@ -140,7 +153,7 @@ unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" hr
<td class="paramtype">unsigned int&nbsp;</td>
<td class="paramname"> <em>portNumber</em> = <code>0</code></td>
<td>&nbsp;)&nbsp;</td>
- <td><code> [virtual]</code></td>
+ <td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
@@ -163,7 +176,7 @@ unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" hr
<td class="paramtype">std::vector&lt; unsigned char &gt; *&nbsp;</td>
<td class="paramname"> <em>message</em></td>
<td>&nbsp;)&nbsp;</td>
- <td></td>
+ <td><code> [inline]</code></td>
</tr>
</table>
</div>
@@ -181,7 +194,7 @@ unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" hr
<HR>
<table><tr><td><img src="../images/mcgill.gif" width=165></td>
- <td>&copy;2003-2011 Gary P. Scavone, McGill University. All Rights Reserved.<br>
+ <td>&copy;2003-2012 Gary P. Scavone, McGill University. All Rights Reserved.<br>
Maintained by Gary P. Scavone, gary at music.mcgill.ca</td></tr>
</table>