mirror of
https://github.com/thestk/stk
synced 2026-04-19 22:16:54 +00:00
Release 4.0 tarball
This commit is contained in:
committed by
Stephen Sinclair
parent
81475b04c5
commit
43dcd5775a
103
doc/html/SKINI_8h-source.html
Normal file
103
doc/html/SKINI_8h-source.html
Normal file
@@ -0,0 +1,103 @@
|
||||
<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"><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="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>SKINI.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00026 <font class="comment">/***************************************************/</font>
|
||||
00027
|
||||
00028 <font class="preprocessor">#if !defined(__SKINI_H)</font>
|
||||
00029 <font class="preprocessor"></font><font class="preprocessor">#define __SKINI_H</font>
|
||||
00030 <font class="preprocessor"></font>
|
||||
00031 <font class="preprocessor">#include "Stk.h"</font>
|
||||
00032 <font class="preprocessor">#include <stdio.h></font>
|
||||
00033
|
||||
00034 <font class="keyword">class </font><a class="code" href="classSKINI.html">SKINI</a> : <font class="keyword">public</font> <a class="code" href="classStk.html">Stk</a>
|
||||
00035 {
|
||||
00036 <font class="keyword">public</font>:
|
||||
00038 <a class="code" href="classSKINI.html#a0">SKINI</a>();
|
||||
00039
|
||||
00041 <a class="code" href="classSKINI.html#a0">SKINI</a>(<font class="keywordtype">char</font> *fileName);
|
||||
00042
|
||||
00044 <a class="code" href="classSKINI.html#a2">~SKINI</a>();
|
||||
00045
|
||||
00047
|
||||
00050 <font class="keywordtype">long</font> <a class="code" href="classSKINI.html#a3">parseThis</a>(<font class="keywordtype">char</font>* aString);
|
||||
00051
|
||||
00053
|
||||
00056 <font class="keywordtype">long</font> <a class="code" href="classSKINI.html#a4">nextMessage</a>();
|
||||
00057
|
||||
00059 <font class="keywordtype">long</font> <a class="code" href="classSKINI.html#a5">getType</a>() <font class="keyword">const</font>;
|
||||
00060
|
||||
00062 <font class="keywordtype">long</font> <a class="code" href="classSKINI.html#a6">getChannel</a>() <font class="keyword">const</font>;
|
||||
00063
|
||||
00065 MY_FLOAT <a class="code" href="classSKINI.html#a7">getDelta</a>() <font class="keyword">const</font>;
|
||||
00066
|
||||
00068 MY_FLOAT <a class="code" href="classSKINI.html#a8">getByteTwo</a>() <font class="keyword">const</font>;
|
||||
00069
|
||||
00071 MY_FLOAT <a class="code" href="classSKINI.html#a9">getByteThree</a>() <font class="keyword">const</font>;
|
||||
00072
|
||||
00074 <font class="keywordtype">long</font> <a class="code" href="classSKINI.html#a10">getByteTwoInt</a>() <font class="keyword">const</font>;
|
||||
00075
|
||||
00077 <font class="keywordtype">long</font> <a class="code" href="classSKINI.html#a11">getByteThreeInt</a>() <font class="keyword">const</font>;
|
||||
00078
|
||||
00080 <font class="keyword">const</font> <font class="keywordtype">char</font>* <a class="code" href="classSKINI.html#a12">getRemainderString</a>();
|
||||
00081
|
||||
00083 <font class="keyword">const</font> <font class="keywordtype">char</font>* <a class="code" href="classSKINI.html#a13">getMessageTypeString</a>();
|
||||
00084
|
||||
00086 <font class="keyword">const</font> <font class="keywordtype">char</font>* <a class="code" href="classSKINI.html#a14">whatsThisType</a>(<font class="keywordtype">long</font> type);
|
||||
00087
|
||||
00089 <font class="keyword">const</font> <font class="keywordtype">char</font>* <a class="code" href="classSKINI.html#a15">whatsThisController</a>(<font class="keywordtype">long</font> number);
|
||||
00090
|
||||
00091 <font class="keyword">protected</font>:
|
||||
00092
|
||||
00093 FILE *myFile;
|
||||
00094 <font class="keywordtype">long</font> messageType;
|
||||
00095 <font class="keywordtype">char</font> msgTypeString[64];
|
||||
00096 <font class="keywordtype">long</font> channel;
|
||||
00097 MY_FLOAT deltaTime;
|
||||
00098 MY_FLOAT byteTwo;
|
||||
00099 MY_FLOAT byteThree;
|
||||
00100 <font class="keywordtype">long</font> byteTwoInt;
|
||||
00101 <font class="keywordtype">long</font> byteThreeInt;
|
||||
00102 <font class="keywordtype">char</font> remainderString[1024];
|
||||
00103 <font class="keywordtype">char</font> whatString[1024];
|
||||
00104 };
|
||||
00105
|
||||
00106 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">double</font> Midi2Pitch[129] = {
|
||||
00107 8.18,8.66,9.18,9.72,10.30,10.91,11.56,12.25,
|
||||
00108 12.98,13.75,14.57,15.43,16.35,17.32,18.35,19.45,
|
||||
00109 20.60,21.83,23.12,24.50,25.96,27.50,29.14,30.87,
|
||||
00110 32.70,34.65,36.71,38.89,41.20,43.65,46.25,49.00,
|
||||
00111 51.91,55.00,58.27,61.74,65.41,69.30,73.42,77.78,
|
||||
00112 82.41,87.31,92.50,98.00,103.83,110.00,116.54,123.47,
|
||||
00113 130.81,138.59,146.83,155.56,164.81,174.61,185.00,196.00,
|
||||
00114 207.65,220.00,233.08,246.94,261.63,277.18,293.66,311.13,
|
||||
00115 329.63,349.23,369.99,392.00,415.30,440.00,466.16,493.88,
|
||||
00116 523.25,554.37,587.33,622.25,659.26,698.46,739.99,783.99,
|
||||
00117 830.61,880.00,932.33,987.77,1046.50,1108.73,1174.66,1244.51,
|
||||
00118 1318.51,1396.91,1479.98,1567.98,1661.22,1760.00,1864.66,1975.53,
|
||||
00119 2093.00,2217.46,2349.32,2489.02,2637.02,2793.83,2959.96,3135.96,
|
||||
00120 3322.44,3520.00,3729.31,3951.07,4186.01,4434.92,4698.64,4978.03,
|
||||
00121 5274.04,5587.65,5919.91,6271.93,6644.88,7040.00,7458.62,7902.13,
|
||||
00122 8372.02,8869.84,9397.27,9956.06,10548.08,11175.30,11839.82,12543.85,
|
||||
00123 13289.75};
|
||||
00124
|
||||
00125 <font class="preprocessor">#endif</font>
|
||||
00126 <font class="preprocessor"></font>
|
||||
00127
|
||||
</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-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
Reference in New Issue
Block a user