PageRenderTime 57ms CodeModel.GetById 43ms app.highlight 10ms RepoModel.GetById 1ms app.codeStats 0ms

/apidocs/echonest.support.midi.MidiInStream.MidiInStream-class.html

http://echo-nest-remix.googlecode.com/
HTML | 246 lines | 205 code | 20 blank | 21 comment | 0 complexity | 01c808b8a16bd1cb520e82f07b6142c5 MD5 | raw file
  1<?xml version="1.0" encoding="ascii"?>
  2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3          "DTD/xhtml1-transitional.dtd">
  4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5<head>
  6  <title>echonest.support.midi.MidiInStream.MidiInStream</title>
  7  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  8  <script type="text/javascript" src="epydoc.js"></script>
  9</head>
 10
 11<body bgcolor="white" text="black" link="blue" vlink="#204080"
 12      alink="#204080">
 13<!-- ==================== NAVIGATION BAR ==================== -->
 14<table class="navbar" border="0" width="100%" cellpadding="0"
 15       bgcolor="#a0c0ff" cellspacing="0">
 16  <tr valign="middle">
 17
 18  <!-- Tree link -->
 19      <th>&nbsp;&nbsp;&nbsp;<a
 20        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
 21
 22  <!-- Index link -->
 23      <th>&nbsp;&nbsp;&nbsp;<a
 24        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
 25
 26  <!-- Help link -->
 27      <th>&nbsp;&nbsp;&nbsp;<a
 28        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
 29
 30  <!-- Project homepage -->
 31      <th class="navbar" align="right" width="100%">
 32        <table border="0" cellpadding="0" cellspacing="0">
 33          <tr><th class="navbar" align="center"
 34            ><a class="navbar" target="_top" href="http://code.google.com/p/echo-nest-remix/">Project Homepage</a></th>
 35          </tr></table></th>
 36  </tr>
 37</table>
 38<table width="100%" cellpadding="0" cellspacing="0">
 39  <tr valign="top">
 40    <td width="100%">
 41      <span class="breadcrumbs">
 42        <a href="echonest-module.html">Package&nbsp;echonest</a> ::
 43        <a href="echonest.support-module.html">Package&nbsp;support</a> ::
 44        <a href="echonest.support.midi-module.html">Package&nbsp;midi</a> ::
 45        <a href="echonest.support.midi.MidiInStream-module.html">Module&nbsp;MidiInStream</a> ::
 46        Class&nbsp;MidiInStream
 47      </span>
 48    </td>
 49    <td>
 50      <table cellpadding="0" cellspacing="0">
 51        <!-- hide/show private -->
 52        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
 53    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
 54        <tr><td align="right"><span class="options"
 55            >[<a href="frames.html" target="_top">frames</a
 56            >]&nbsp;|&nbsp;<a href="echonest.support.midi.MidiInStream.MidiInStream-class.html"
 57            target="_top">no&nbsp;frames</a>]</span></td></tr>
 58      </table>
 59    </td>
 60  </tr>
 61</table>
 62<!-- ==================== CLASS DESCRIPTION ==================== -->
 63<h1 class="epydoc">Class MidiInStream</h1><p class="nomargin-top"><span class="codelink"><a href="echonest.support.midi.MidiInStream-pysrc.html#MidiInStream">source&nbsp;code</a></span></p>
 64Takes midi events from the midi input and calls the apropriate
 65method in the eventhandler object
 66
 67<!-- ==================== INSTANCE METHODS ==================== -->
 68<a name="section-InstanceMethods"></a>
 69<table class="summary" border="1" cellpadding="3"
 70       cellspacing="0" width="100%" bgcolor="white">
 71<tr bgcolor="#70b0f0" class="table-header">
 72  <td colspan="2" class="table-header">
 73    <table border="0" cellpadding="0" cellspacing="0" width="100%">
 74      <tr valign="top">
 75        <td align="left"><span class="table-header">Instance Methods</span></td>
 76        <td align="right" valign="top"
 77         ><span class="options">[<a href="#section-InstanceMethods"
 78         class="privatelink" onclick="toggle_private();"
 79         >hide private</a>]</span></td>
 80      </tr>
 81    </table>
 82  </td>
 83</tr>
 84<tr>
 85    <td width="15%" align="right" valign="top" class="summary">
 86      <span class="summary-type">&nbsp;</span>
 87    </td><td class="summary">
 88      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 89        <tr>
 90          <td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>,
 91        <span class="summary-sig-arg">midiOutStream</span>,
 92        <span class="summary-sig-arg">device</span>)</span><br />
 93      Sets a default output stream, and sets the device from where
 94the input comes</td>
 95          <td align="right" valign="top">
 96            <span class="codelink"><a href="echonest.support.midi.MidiInStream-pysrc.html#MidiInStream.__init__">source&nbsp;code</a></span>
 97            
 98          </td>
 99        </tr>
100      </table>
101      
102    </td>
103  </tr>
104<tr>
105    <td width="15%" align="right" valign="top" class="summary">
106      <span class="summary-type">&nbsp;</span>
107    </td><td class="summary">
108      <table width="100%" cellpadding="0" cellspacing="0" border="0">
109        <tr>
110          <td><span class="summary-sig"><a name="close"></a><span class="summary-sig-name">close</span>(<span class="summary-sig-arg">self</span>)</span><br />
111      Stop the MidiInstream</td>
112          <td align="right" valign="top">
113            <span class="codelink"><a href="echonest.support.midi.MidiInStream-pysrc.html#MidiInStream.close">source&nbsp;code</a></span>
114            
115          </td>
116        </tr>
117      </table>
118      
119    </td>
120  </tr>
121<tr>
122    <td width="15%" align="right" valign="top" class="summary">
123      <span class="summary-type">&nbsp;</span>
124    </td><td class="summary">
125      <table width="100%" cellpadding="0" cellspacing="0" border="0">
126        <tr>
127          <td><span class="summary-sig"><a href="echonest.support.midi.MidiInStream.MidiInStream-class.html#read" class="summary-sig-name">read</a>(<span class="summary-sig-arg">self</span>,
128        <span class="summary-sig-arg">time</span>=<span class="summary-sig-default">0</span>)</span><br />
129      Start the MidiInstream.</td>
130          <td align="right" valign="top">
131            <span class="codelink"><a href="echonest.support.midi.MidiInStream-pysrc.html#MidiInStream.read">source&nbsp;code</a></span>
132            
133          </td>
134        </tr>
135      </table>
136      
137    </td>
138  </tr>
139<tr>
140    <td width="15%" align="right" valign="top" class="summary">
141      <span class="summary-type">&nbsp;</span>
142    </td><td class="summary">
143      <table width="100%" cellpadding="0" cellspacing="0" border="0">
144        <tr>
145          <td><span class="summary-sig"><a name="resetTimer"></a><span class="summary-sig-name">resetTimer</span>(<span class="summary-sig-arg">self</span>,
146        <span class="summary-sig-arg">time</span>=<span class="summary-sig-default">0</span>)</span><br />
147      Resets the timer, probably a good idea if there is some kind
148of looping going on</td>
149          <td align="right" valign="top">
150            <span class="codelink"><a href="echonest.support.midi.MidiInStream-pysrc.html#MidiInStream.resetTimer">source&nbsp;code</a></span>
151            
152          </td>
153        </tr>
154      </table>
155      
156    </td>
157  </tr>
158</table>
159<!-- ==================== METHOD DETAILS ==================== -->
160<a name="section-MethodDetails"></a>
161<table class="details" border="1" cellpadding="3"
162       cellspacing="0" width="100%" bgcolor="white">
163<tr bgcolor="#70b0f0" class="table-header">
164  <td colspan="2" class="table-header">
165    <table border="0" cellpadding="0" cellspacing="0" width="100%">
166      <tr valign="top">
167        <td align="left"><span class="table-header">Method Details</span></td>
168        <td align="right" valign="top"
169         ><span class="options">[<a href="#section-MethodDetails"
170         class="privatelink" onclick="toggle_private();"
171         >hide private</a>]</span></td>
172      </tr>
173    </table>
174  </td>
175</tr>
176</table>
177<a name="read"></a>
178<div>
179<table class="details" border="1" cellpadding="3"
180       cellspacing="0" width="100%" bgcolor="white">
181<tr><td>
182  <table width="100%" cellpadding="0" cellspacing="0" border="0">
183  <tr valign="top"><td>
184  <h3 class="epydoc"><span class="sig"><span class="sig-name">read</span>(<span class="sig-arg">self</span>,
185        <span class="sig-arg">time</span>=<span class="sig-default">0</span>)</span>
186  </h3>
187  </td><td align="right" valign="top"
188    ><span class="codelink"><a href="echonest.support.midi.MidiInStream-pysrc.html#MidiInStream.read">source&nbsp;code</a></span>&nbsp;
189    </td>
190  </tr></table>
191  
192  <p>Start the MidiInstream.</p>
193<p>&quot;time&quot; sets timer to specific start value.</p>
194  <dl class="fields">
195  </dl>
196</td></tr></table>
197</div>
198<br />
199<!-- ==================== NAVIGATION BAR ==================== -->
200<table class="navbar" border="0" width="100%" cellpadding="0"
201       bgcolor="#a0c0ff" cellspacing="0">
202  <tr valign="middle">
203
204  <!-- Tree link -->
205      <th>&nbsp;&nbsp;&nbsp;<a
206        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
207
208  <!-- Index link -->
209      <th>&nbsp;&nbsp;&nbsp;<a
210        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
211
212  <!-- Help link -->
213      <th>&nbsp;&nbsp;&nbsp;<a
214        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
215
216  <!-- Project homepage -->
217      <th class="navbar" align="right" width="100%">
218        <table border="0" cellpadding="0" cellspacing="0">
219          <tr><th class="navbar" align="center"
220            ><a class="navbar" target="_top" href="http://code.google.com/p/echo-nest-remix/">Project Homepage</a></th>
221          </tr></table></th>
222  </tr>
223</table>
224<table border="0" cellpadding="0" cellspacing="0" width="100%%">
225  <tr>
226    <td align="left" class="footer">
227    Generated by Epydoc 3.0.1 on Wed Sep  1 16:08:58 2010
228    </td>
229    <td align="right" class="footer">
230      <a target="mainFrame" href="http://epydoc.sourceforge.net"
231        >http://epydoc.sourceforge.net</a>
232    </td>
233  </tr>
234</table>
235
236<script type="text/javascript">
237  <!--
238  // Private objects are initially displayed (because if
239  // javascript is turned off then we want them to be
240  // visible); but by default, we want to hide them.  So hide
241  // them unless we have a cookie that says to show them.
242  checkCookie();
243  // -->
244</script>
245</body>
246</html>