mirror of
https://github.com/thestk/stk
synced 2026-01-17 06:41:51 +00:00
Release 4.2.0 tarball
This commit is contained in:
committed by
Stephen Sinclair
parent
fe20fe92a2
commit
de344668dd
93
doc/html/Skini_8h-source.html
Normal file
93
doc/html/Skini_8h-source.html
Normal file
@@ -0,0 +1,93 @@
|
||||
<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>Skini.h</h1><div class="fragment"><pre>00001 <span class="comment">/***************************************************/</span>
|
||||
00026 <span class="comment">/***************************************************/</span>
|
||||
00027
|
||||
00028 <span class="preprocessor">#ifndef STK_SKINI_H</span>
|
||||
00029 <span class="preprocessor"></span><span class="preprocessor">#define STK_SKINI_H</span>
|
||||
00030 <span class="preprocessor"></span>
|
||||
00031 <span class="preprocessor">#include "Stk.h"</span>
|
||||
00032 <span class="preprocessor">#include <vector></span>
|
||||
00033 <span class="preprocessor">#include <string></span>
|
||||
00034 <span class="preprocessor">#include <fstream></span>
|
||||
00035
|
||||
<a name="l00036"></a><a class="code" href="classSkini.html">00036</a> <span class="keyword">class </span><a class="code" href="classSkini.html">Skini</a> : <span class="keyword">public</span> <a class="code" href="classStk.html">Stk</a>
|
||||
00037 {
|
||||
00038 <span class="keyword">public</span>:
|
||||
00039
|
||||
<a name="l00041"></a><a class="code" href="structSkini_1_1Message.html">00041</a> <span class="keyword">struct </span><a class="code" href="structSkini_1_1Message.html">Message</a> {
|
||||
<a name="l00042"></a><a class="code" href="structSkini_1_1Message.html#o0">00042</a> <span class="keywordtype">long</span> <a class="code" href="structSkini_1_1Message.html#o0">type</a>;
|
||||
<a name="l00043"></a><a class="code" href="structSkini_1_1Message.html#o1">00043</a> <span class="keywordtype">long</span> <a class="code" href="structSkini_1_1Message.html#o1">channel</a>;
|
||||
<a name="l00044"></a><a class="code" href="structSkini_1_1Message.html#o2">00044</a> StkFloat <a class="code" href="structSkini_1_1Message.html#o2">time</a>;
|
||||
<a name="l00045"></a><a class="code" href="structSkini_1_1Message.html#o3">00045</a> std::vector<StkFloat> <a class="code" href="structSkini_1_1Message.html#o3">floatValues</a>;
|
||||
<a name="l00046"></a><a class="code" href="structSkini_1_1Message.html#o4">00046</a> std::vector<long> <a class="code" href="structSkini_1_1Message.html#o4">intValues</a>;
|
||||
<a name="l00047"></a><a class="code" href="structSkini_1_1Message.html#o5">00047</a> std::string <a class="code" href="structSkini_1_1Message.html#o5">remainder</a>;
|
||||
00049 <span class="comment">// Default constructor.</span>
|
||||
00050 <a class="code" href="structSkini_1_1Message.html">Message</a>()
|
||||
00051 :<a class="code" href="structSkini_1_1Message.html#o0">type</a>(0), <a class="code" href="structSkini_1_1Message.html#o1">channel</a>(0), <a class="code" href="structSkini_1_1Message.html#o2">time</a>(0.0), <a class="code" href="structSkini_1_1Message.html#o3">floatValues</a>(2), <a class="code" href="structSkini_1_1Message.html#o4">intValues</a>(2) {}
|
||||
00052 };
|
||||
00053
|
||||
00055 <a class="code" href="classSkini.html#a0">Skini</a>();
|
||||
00056
|
||||
00058 <a class="code" href="classSkini.html#a1">~Skini</a>();
|
||||
00059
|
||||
00061
|
||||
00065 <span class="keywordtype">bool</span> <a class="code" href="classSkini.html#a2">setFile</a>( std::string fileName );
|
||||
00066
|
||||
00068
|
||||
00074 <span class="keywordtype">long</span> <a class="code" href="classSkini.html#a3">nextMessage</a>( <a class="code" href="structSkini_1_1Message.html">Skini::Message</a>& message );
|
||||
00075
|
||||
00077
|
||||
00081 <span class="keywordtype">long</span> <a class="code" href="classSkini.html#a4">parseString</a>( std::string& line, <a class="code" href="structSkini_1_1Message.html">Skini::Message</a>& message );
|
||||
00082
|
||||
00084 <span class="keyword">static</span> std::string <a class="code" href="classSkini.html#e0">whatsThisType</a>(<span class="keywordtype">long</span> type);
|
||||
00085
|
||||
00087 <span class="keyword">static</span> std::string <a class="code" href="classSkini.html#e1">whatsThisController</a>(<span class="keywordtype">long</span> number);
|
||||
00088
|
||||
00089 <span class="keyword">protected</span>:
|
||||
00090
|
||||
00091 <span class="keywordtype">void</span> tokenize( <span class="keyword">const</span> std::string& str, std::vector<std::string>& tokens, <span class="keyword">const</span> std::string& delimiters );
|
||||
00092
|
||||
00093 std::ifstream file_;
|
||||
00094 };
|
||||
00095
|
||||
00096 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">double</span> Midi2Pitch[129] = {
|
||||
00097 8.18,8.66,9.18,9.72,10.30,10.91,11.56,12.25,
|
||||
00098 12.98,13.75,14.57,15.43,16.35,17.32,18.35,19.45,
|
||||
00099 20.60,21.83,23.12,24.50,25.96,27.50,29.14,30.87,
|
||||
00100 32.70,34.65,36.71,38.89,41.20,43.65,46.25,49.00,
|
||||
00101 51.91,55.00,58.27,61.74,65.41,69.30,73.42,77.78,
|
||||
00102 82.41,87.31,92.50,98.00,103.83,110.00,116.54,123.47,
|
||||
00103 130.81,138.59,146.83,155.56,164.81,174.61,185.00,196.00,
|
||||
00104 207.65,220.00,233.08,246.94,261.63,277.18,293.66,311.13,
|
||||
00105 329.63,349.23,369.99,392.00,415.30,440.00,466.16,493.88,
|
||||
00106 523.25,554.37,587.33,622.25,659.26,698.46,739.99,783.99,
|
||||
00107 830.61,880.00,932.33,987.77,1046.50,1108.73,1174.66,1244.51,
|
||||
00108 1318.51,1396.91,1479.98,1567.98,1661.22,1760.00,1864.66,1975.53,
|
||||
00109 2093.00,2217.46,2349.32,2489.02,2637.02,2793.83,2959.96,3135.96,
|
||||
00110 3322.44,3520.00,3729.31,3951.07,4186.01,4434.92,4698.64,4978.03,
|
||||
00111 5274.04,5587.65,5919.91,6271.93,6644.88,7040.00,7458.62,7902.13,
|
||||
00112 8372.02,8869.84,9397.27,9956.06,10548.08,11175.30,11839.82,12543.85,
|
||||
00113 13289.75};
|
||||
00114
|
||||
00115 <span class="preprocessor">#endif</span>
|
||||
00116 <span class="preprocessor"></span>
|
||||
00117
|
||||
</pre></div><HR>
|
||||
|
||||
<table>
|
||||
<tr><td><A HREF="http://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>
|
||||
Reference in New Issue
Block a user