PageRenderTime 72ms CodeModel.GetById 59ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://echo-nest-remix.googlecode.com/
HTML | 334 lines | 282 code | 32 blank | 20 comment | 0 complexity | c8e6960fd04a8abca86054c3247112f2 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.EventDispatcher.EventDispatcher</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.EventDispatcher-module.html">Module&nbsp;EventDispatcher</a> ::
 46        Class&nbsp;EventDispatcher
 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.EventDispatcher.EventDispatcher-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 EventDispatcher</h1><p class="nomargin-top"><span class="codelink"><a href="echonest.support.midi.EventDispatcher-pysrc.html#EventDispatcher">source&nbsp;code</a></span></p>
 64<!-- ==================== INSTANCE METHODS ==================== -->
 65<a name="section-InstanceMethods"></a>
 66<table class="summary" border="1" cellpadding="3"
 67       cellspacing="0" width="100%" bgcolor="white">
 68<tr bgcolor="#70b0f0" class="table-header">
 69  <td colspan="2" class="table-header">
 70    <table border="0" cellpadding="0" cellspacing="0" width="100%">
 71      <tr valign="top">
 72        <td align="left"><span class="table-header">Instance Methods</span></td>
 73        <td align="right" valign="top"
 74         ><span class="options">[<a href="#section-InstanceMethods"
 75         class="privatelink" onclick="toggle_private();"
 76         >hide private</a>]</span></td>
 77      </tr>
 78    </table>
 79  </td>
 80</tr>
 81<tr>
 82    <td width="15%" align="right" valign="top" class="summary">
 83      <span class="summary-type">&nbsp;</span>
 84    </td><td class="summary">
 85      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 86        <tr>
 87          <td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>,
 88        <span class="summary-sig-arg">outstream</span>)</span><br />
 89      The event dispatcher generates events on the outstream.</td>
 90          <td align="right" valign="top">
 91            <span class="codelink"><a href="echonest.support.midi.EventDispatcher-pysrc.html#EventDispatcher.__init__">source&nbsp;code</a></span>
 92            
 93          </td>
 94        </tr>
 95      </table>
 96      
 97    </td>
 98  </tr>
 99<tr>
100    <td width="15%" align="right" valign="top" class="summary">
101      <span class="summary-type">&nbsp;</span>
102    </td><td class="summary">
103      <table width="100%" cellpadding="0" cellspacing="0" border="0">
104        <tr>
105          <td><span class="summary-sig"><a name="header"></a><span class="summary-sig-name">header</span>(<span class="summary-sig-arg">self</span>,
106        <span class="summary-sig-arg">format</span>,
107        <span class="summary-sig-arg">nTracks</span>,
108        <span class="summary-sig-arg">division</span>)</span><br />
109      Triggers the header event</td>
110          <td align="right" valign="top">
111            <span class="codelink"><a href="echonest.support.midi.EventDispatcher-pysrc.html#EventDispatcher.header">source&nbsp;code</a></span>
112            
113          </td>
114        </tr>
115      </table>
116      
117    </td>
118  </tr>
119<tr>
120    <td width="15%" align="right" valign="top" class="summary">
121      <span class="summary-type">&nbsp;</span>
122    </td><td class="summary">
123      <table width="100%" cellpadding="0" cellspacing="0" border="0">
124        <tr>
125          <td><span class="summary-sig"><a name="start_of_track"></a><span class="summary-sig-name">start_of_track</span>(<span class="summary-sig-arg">self</span>,
126        <span class="summary-sig-arg">current_track</span>)</span><br />
127      Triggers the start of track event</td>
128          <td align="right" valign="top">
129            <span class="codelink"><a href="echonest.support.midi.EventDispatcher-pysrc.html#EventDispatcher.start_of_track">source&nbsp;code</a></span>
130            
131          </td>
132        </tr>
133      </table>
134      
135    </td>
136  </tr>
137<tr>
138    <td width="15%" align="right" valign="top" class="summary">
139      <span class="summary-type">&nbsp;</span>
140    </td><td class="summary">
141      <table width="100%" cellpadding="0" cellspacing="0" border="0">
142        <tr>
143          <td><span class="summary-sig"><a name="sysex_event"></a><span class="summary-sig-name">sysex_event</span>(<span class="summary-sig-arg">self</span>,
144        <span class="summary-sig-arg">data</span>)</span><br />
145      Dispatcher for sysex events</td>
146          <td align="right" valign="top">
147            <span class="codelink"><a href="echonest.support.midi.EventDispatcher-pysrc.html#EventDispatcher.sysex_event">source&nbsp;code</a></span>
148            
149          </td>
150        </tr>
151      </table>
152      
153    </td>
154  </tr>
155<tr>
156    <td width="15%" align="right" valign="top" class="summary">
157      <span class="summary-type">&nbsp;</span>
158    </td><td class="summary">
159      <table width="100%" cellpadding="0" cellspacing="0" border="0">
160        <tr>
161          <td><span class="summary-sig"><a name="eof"></a><span class="summary-sig-name">eof</span>(<span class="summary-sig-arg">self</span>)</span><br />
162      End of file!</td>
163          <td align="right" valign="top">
164            <span class="codelink"><a href="echonest.support.midi.EventDispatcher-pysrc.html#EventDispatcher.eof">source&nbsp;code</a></span>
165            
166          </td>
167        </tr>
168      </table>
169      
170    </td>
171  </tr>
172<tr>
173    <td width="15%" align="right" valign="top" class="summary">
174      <span class="summary-type">&nbsp;</span>
175    </td><td class="summary">
176      <table width="100%" cellpadding="0" cellspacing="0" border="0">
177        <tr>
178          <td><span class="summary-sig"><a name="update_time"></a><span class="summary-sig-name">update_time</span>(<span class="summary-sig-arg">self</span>,
179        <span class="summary-sig-arg">new_time</span>=<span class="summary-sig-default">0</span>,
180        <span class="summary-sig-arg">relative</span>=<span class="summary-sig-default">1</span>)</span><br />
181      Updates relative/absolute time.</td>
182          <td align="right" valign="top">
183            <span class="codelink"><a href="echonest.support.midi.EventDispatcher-pysrc.html#EventDispatcher.update_time">source&nbsp;code</a></span>
184            
185          </td>
186        </tr>
187      </table>
188      
189    </td>
190  </tr>
191<tr>
192    <td width="15%" align="right" valign="top" class="summary">
193      <span class="summary-type">&nbsp;</span>
194    </td><td class="summary">
195      <table width="100%" cellpadding="0" cellspacing="0" border="0">
196        <tr>
197          <td><span class="summary-sig"><a name="reset_time"></a><span class="summary-sig-name">reset_time</span>(<span class="summary-sig-arg">self</span>)</span><br />
198      Updates relative/absolute time.</td>
199          <td align="right" valign="top">
200            <span class="codelink"><a href="echonest.support.midi.EventDispatcher-pysrc.html#EventDispatcher.reset_time">source&nbsp;code</a></span>
201            
202          </td>
203        </tr>
204      </table>
205      
206    </td>
207  </tr>
208<tr>
209    <td width="15%" align="right" valign="top" class="summary">
210      <span class="summary-type">&nbsp;</span>
211    </td><td class="summary">
212      <table width="100%" cellpadding="0" cellspacing="0" border="0">
213        <tr>
214          <td><span class="summary-sig"><a name="channel_messages"></a><span class="summary-sig-name">channel_messages</span>(<span class="summary-sig-arg">self</span>,
215        <span class="summary-sig-arg">hi_nible</span>,
216        <span class="summary-sig-arg">channel</span>,
217        <span class="summary-sig-arg">data</span>)</span><br />
218      Dispatches channel messages</td>
219          <td align="right" valign="top">
220            <span class="codelink"><a href="echonest.support.midi.EventDispatcher-pysrc.html#EventDispatcher.channel_messages">source&nbsp;code</a></span>
221            
222          </td>
223        </tr>
224      </table>
225      
226    </td>
227  </tr>
228<tr>
229    <td width="15%" align="right" valign="top" class="summary">
230      <span class="summary-type">&nbsp;</span>
231    </td><td class="summary">
232      <table width="100%" cellpadding="0" cellspacing="0" border="0">
233        <tr>
234          <td><span class="summary-sig"><a name="continuous_controllers"></a><span class="summary-sig-name">continuous_controllers</span>(<span class="summary-sig-arg">self</span>,
235        <span class="summary-sig-arg">channel</span>,
236        <span class="summary-sig-arg">controller</span>,
237        <span class="summary-sig-arg">value</span>)</span><br />
238      Dispatches channel messages</td>
239          <td align="right" valign="top">
240            <span class="codelink"><a href="echonest.support.midi.EventDispatcher-pysrc.html#EventDispatcher.continuous_controllers">source&nbsp;code</a></span>
241            
242          </td>
243        </tr>
244      </table>
245      
246    </td>
247  </tr>
248<tr>
249    <td width="15%" align="right" valign="top" class="summary">
250      <span class="summary-type">&nbsp;</span>
251    </td><td class="summary">
252      <table width="100%" cellpadding="0" cellspacing="0" border="0">
253        <tr>
254          <td><span class="summary-sig"><a name="system_commons"></a><span class="summary-sig-name">system_commons</span>(<span class="summary-sig-arg">self</span>,
255        <span class="summary-sig-arg">common_type</span>,
256        <span class="summary-sig-arg">common_data</span>)</span><br />
257      Dispatches system common messages</td>
258          <td align="right" valign="top">
259            <span class="codelink"><a href="echonest.support.midi.EventDispatcher-pysrc.html#EventDispatcher.system_commons">source&nbsp;code</a></span>
260            
261          </td>
262        </tr>
263      </table>
264      
265    </td>
266  </tr>
267<tr>
268    <td width="15%" align="right" valign="top" class="summary">
269      <span class="summary-type">&nbsp;</span>
270    </td><td class="summary">
271      <table width="100%" cellpadding="0" cellspacing="0" border="0">
272        <tr>
273          <td><span class="summary-sig"><a name="meta_event"></a><span class="summary-sig-name">meta_event</span>(<span class="summary-sig-arg">self</span>,
274        <span class="summary-sig-arg">meta_type</span>,
275        <span class="summary-sig-arg">data</span>)</span><br />
276      Dispatches meta events</td>
277          <td align="right" valign="top">
278            <span class="codelink"><a href="echonest.support.midi.EventDispatcher-pysrc.html#EventDispatcher.meta_event">source&nbsp;code</a></span>
279            
280          </td>
281        </tr>
282      </table>
283      
284    </td>
285  </tr>
286</table>
287<!-- ==================== NAVIGATION BAR ==================== -->
288<table class="navbar" border="0" width="100%" cellpadding="0"
289       bgcolor="#a0c0ff" cellspacing="0">
290  <tr valign="middle">
291
292  <!-- Tree link -->
293      <th>&nbsp;&nbsp;&nbsp;<a
294        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
295
296  <!-- Index link -->
297      <th>&nbsp;&nbsp;&nbsp;<a
298        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
299
300  <!-- Help link -->
301      <th>&nbsp;&nbsp;&nbsp;<a
302        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
303
304  <!-- Project homepage -->
305      <th class="navbar" align="right" width="100%">
306        <table border="0" cellpadding="0" cellspacing="0">
307          <tr><th class="navbar" align="center"
308            ><a class="navbar" target="_top" href="http://code.google.com/p/echo-nest-remix/">Project Homepage</a></th>
309          </tr></table></th>
310  </tr>
311</table>
312<table border="0" cellpadding="0" cellspacing="0" width="100%%">
313  <tr>
314    <td align="left" class="footer">
315    Generated by Epydoc 3.0.1 on Wed Sep  1 16:08:58 2010
316    </td>
317    <td align="right" class="footer">
318      <a target="mainFrame" href="http://epydoc.sourceforge.net"
319        >http://epydoc.sourceforge.net</a>
320    </td>
321  </tr>
322</table>
323
324<script type="text/javascript">
325  <!--
326  // Private objects are initially displayed (because if
327  // javascript is turned off then we want them to be
328  // visible); but by default, we want to hide them.  So hide
329  // them unless we have a cookie that says to show them.
330  checkCookie();
331  // -->
332</script>
333</body>
334</html>