mirror of
https://github.com/thestk/stk
synced 2026-01-14 21:41:53 +00:00
62 lines
3.4 KiB
HTML
62 lines
3.4 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>The Synthesis ToolKit in C++ (STK)</TITLE>
|
|
<LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF">
|
|
<CENTER>
|
|
<img src="princeton.gif"> <img src="ccrma.gif"> <img src="mcgill.gif"><P>
|
|
<a class="qindex" href="index.html">Home</a> <a class="qindex" href="information.html">Information</a> <a class="qindex" href="classes.html">Classes</a> <a class="qindex" href="download.html">Download</a> <a class="qindex" href="usage.html">Usage</a> <a class="qindex" href="maillist.html">Mail List</a> <a class="qindex" href="system.html">Requirements</a> <a class="qindex" href="links.html">Links</a> <a class="qindex" href="tutorial.html">Tutorial</a></CENTER>
|
|
<HR>
|
|
<!-- Generated by Doxygen 1.3.4 -->
|
|
<h1>RtMidi.h</h1><div class="fragment"><pre>00001 <span class="comment">/***************************************************/</span>
|
|
00030 <span class="comment">/***************************************************/</span>
|
|
00031
|
|
00032 <span class="preprocessor">#if !defined(__RTMIDI_H)</span>
|
|
00033 <span class="preprocessor"></span><span class="preprocessor">#define __RTMIDI_H</span>
|
|
00034 <span class="preprocessor"></span>
|
|
00035 <span class="preprocessor">#include "Stk.h"</span>
|
|
00036
|
|
<a name="l00037"></a><a class="code" href="classRtMidi.html">00037</a> <span class="keyword">class </span><a class="code" href="classRtMidi.html">RtMidi</a> : <span class="keyword">public</span> <a class="code" href="classStk.html">Stk</a>
|
|
00038 {
|
|
00039 <span class="keyword">public</span>:
|
|
00041 <a class="code" href="classRtMidi.html#a0">RtMidi</a>(<span class="keywordtype">int</span> device = 0);
|
|
00042
|
|
00044 <a class="code" href="classRtMidi.html#a1">~RtMidi</a>();
|
|
00045
|
|
00047 <span class="keywordtype">void</span> <a class="code" href="classRtMidi.html#a2">printMessage</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
|
|
00048
|
|
00050
|
|
00053 <span class="keywordtype">int</span> <a class="code" href="classRtMidi.html#a3">nextMessage</a>(<span class="keywordtype">void</span>);
|
|
00054
|
|
00056 <span class="keywordtype">int</span> <a class="code" href="classRtMidi.html#a4">getType</a>() <span class="keyword">const</span>;
|
|
00057
|
|
00059 <span class="keywordtype">int</span> <a class="code" href="classRtMidi.html#a5">getChannel</a>() <span class="keyword">const</span>;
|
|
00060
|
|
00062 MY_FLOAT <a class="code" href="classRtMidi.html#a6">getByteTwo</a>() <span class="keyword">const</span>;
|
|
00063
|
|
00065 MY_FLOAT <a class="code" href="classRtMidi.html#a7">getByteThree</a>() <span class="keyword">const</span>;
|
|
00066
|
|
00068 MY_FLOAT <a class="code" href="classRtMidi.html#a8">getDeltaTime</a>() <span class="keyword">const</span>;
|
|
00069
|
|
00070 <span class="keyword">protected</span>:
|
|
00071 <span class="keywordtype">int</span> messageType;
|
|
00072 <span class="keywordtype">int</span> channel;
|
|
00073 <span class="keywordtype">float</span> byteTwo;
|
|
00074 <span class="keywordtype">float</span> byteThree;
|
|
00075 MY_FLOAT deltaTime;
|
|
00076 <span class="keywordtype">int</span> readIndex;
|
|
00077
|
|
00078 };
|
|
00079
|
|
00080 <span class="preprocessor">#endif</span>
|
|
</pre></div><HR>
|
|
|
|
<table>
|
|
<tr><td><A HREF="http://www-ccrma.stanford.edu/software/stk/"><I>The Synthesis ToolKit in C++ (STK)</I></A></td></tr>
|
|
<tr><td>©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
|
</table>
|
|
|
|
</BODY>
|
|
</HTML>
|