/apidocs/echonest.support.midi-module.html

http://echo-nest-remix.googlecode.com/ · HTML · 206 lines · 173 code · 12 blank · 21 comment · 0 complexity · 687d66b71d7267bdc542904112f20fab 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</title>
  7. <link rel="stylesheet" href="epydoc.css" type="text/css" />
  8. <script type="text/javascript" src="epydoc.js"></script>
  9. </head>
  10. <body bgcolor="white" text="black" link="blue" vlink="#204080"
  11. alink="#204080">
  12. <!-- ==================== NAVIGATION BAR ==================== -->
  13. <table class="navbar" border="0" width="100%" cellpadding="0"
  14. bgcolor="#a0c0ff" cellspacing="0">
  15. <tr valign="middle">
  16. <!-- Tree link -->
  17. <th>&nbsp;&nbsp;&nbsp;<a
  18. href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
  19. <!-- Index link -->
  20. <th>&nbsp;&nbsp;&nbsp;<a
  21. href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
  22. <!-- Help link -->
  23. <th>&nbsp;&nbsp;&nbsp;<a
  24. href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
  25. <!-- Project homepage -->
  26. <th class="navbar" align="right" width="100%">
  27. <table border="0" cellpadding="0" cellspacing="0">
  28. <tr><th class="navbar" align="center"
  29. ><a class="navbar" target="_top" href="http://code.google.com/p/echo-nest-remix/">Project Homepage</a></th>
  30. </tr></table></th>
  31. </tr>
  32. </table>
  33. <table width="100%" cellpadding="0" cellspacing="0">
  34. <tr valign="top">
  35. <td width="100%">
  36. <span class="breadcrumbs">
  37. <a href="echonest-module.html">Package&nbsp;echonest</a> ::
  38. <a href="echonest.support-module.html">Package&nbsp;support</a> ::
  39. Package&nbsp;midi
  40. </span>
  41. </td>
  42. <td>
  43. <table cellpadding="0" cellspacing="0">
  44. <!-- hide/show private -->
  45. <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
  46. onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
  47. <tr><td align="right"><span class="options"
  48. >[<a href="frames.html" target="_top">frames</a
  49. >]&nbsp;|&nbsp;<a href="echonest.support.midi-module.html"
  50. target="_top">no&nbsp;frames</a>]</span></td></tr>
  51. </table>
  52. </td>
  53. </tr>
  54. </table>
  55. <!-- ==================== PACKAGE DESCRIPTION ==================== -->
  56. <h1 class="epydoc">Package midi</h1><p class="nomargin-top"><span class="codelink"><a href="echonest.support.midi-pysrc.html">source&nbsp;code</a></span></p>
  57. <div class="rst-section" id="rst-this-is-the-documentation-for-the-midi-package">
  58. <h1 class="heading">This is the documentation for the midi package</h1>
  59. <p>The modules follows the following naming convention:</p>
  60. <div class="rst-section" id="rst-midiin-streamtype-py">
  61. <h2 class="heading">MidiIn&lt;StreamType&gt;.py</h2>
  62. <p>The MidiIn modules reads midi content for a specific type of stream. Ie. a file or a midi port. It then generates events and triggers them on a MidiOutStream.</p>
  63. </div>
  64. <div class="rst-section" id="rst-midiout-streamtype-py">
  65. <h2 class="heading">MidiOut&lt;StreamType&gt;.py</h2>
  66. <p>The MidiOut modules are event handlers, that reacts to events generated by a a Midi in module.</p>
  67. </div>
  68. <div class="rst-section" id="rst-midiinbase-py">
  69. <h2 class="heading">MidiInBase.py</h2>
  70. <p>The base class for input streams.</p>
  71. </div>
  72. <div class="rst-section" id="rst-midioutbase-py">
  73. <h2 class="heading">MidiOutBase.py</h2>
  74. <p>The base class for the output streams.</p>
  75. </div>
  76. </div>
  77. <div class="rst-section" id="rst-internal-modules">
  78. <h1 class="heading">Internal modules</h1>
  79. <div class="rst-section" id="rst-datatypeconverters-py">
  80. <h2 class="heading">DataTypeConverters.py</h2>
  81. <p>A collection of functions that converts the special data types used in midi files to and from strings.</p>
  82. </div>
  83. <div class="rst-section" id="rst-constants-py">
  84. <h2 class="heading">constants.py</h2>
  85. <p>A collection of constants from the midi spec.</p>
  86. </div>
  87. </div>
  88. <!-- ==================== SUBMODULES ==================== -->
  89. <a name="section-Submodules"></a>
  90. <table class="summary" border="1" cellpadding="3"
  91. cellspacing="0" width="100%" bgcolor="white">
  92. <tr bgcolor="#70b0f0" class="table-header">
  93. <td colspan="2" class="table-header">
  94. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  95. <tr valign="top">
  96. <td align="left"><span class="table-header">Submodules</span></td>
  97. <td align="right" valign="top"
  98. ><span class="options">[<a href="#section-Submodules"
  99. class="privatelink" onclick="toggle_private();"
  100. >hide private</a>]</span></td>
  101. </tr>
  102. </table>
  103. </td>
  104. </tr>
  105. <tr><td class="summary">
  106. <ul class="nomargin">
  107. <li> <strong class="uidlink"><a href="echonest.support.midi.DataTypeConverters-module.html">echonest.support.midi.DataTypeConverters</a></strong> </li>
  108. <li> <strong class="uidlink"><a href="echonest.support.midi.EventDispatcher-module.html">echonest.support.midi.EventDispatcher</a></strong> </li>
  109. <li> <strong class="uidlink"><a href="echonest.support.midi.MidiFileParser-module.html">echonest.support.midi.MidiFileParser</a></strong> </li>
  110. <li> <strong class="uidlink"><a href="echonest.support.midi.MidiInFile-module.html">echonest.support.midi.MidiInFile</a></strong> </li>
  111. <li> <strong class="uidlink"><a href="echonest.support.midi.MidiInStream-module.html">echonest.support.midi.MidiInStream</a></strong> </li>
  112. <li> <strong class="uidlink"><a href="echonest.support.midi.MidiOutFile-module.html">echonest.support.midi.MidiOutFile</a></strong> </li>
  113. <li> <strong class="uidlink"><a href="echonest.support.midi.MidiOutStream-module.html">echonest.support.midi.MidiOutStream</a></strong> </li>
  114. <li> <strong class="uidlink"><a href="echonest.support.midi.MidiToText-module.html">echonest.support.midi.MidiToText</a></strong> </li>
  115. <li> <strong class="uidlink"><a href="echonest.support.midi.RawInstreamFile-module.html">echonest.support.midi.RawInstreamFile</a></strong> </li>
  116. <li> <strong class="uidlink"><a href="echonest.support.midi.RawOutstreamFile-module.html">echonest.support.midi.RawOutstreamFile</a></strong> </li>
  117. <li> <strong class="uidlink"><a href="echonest.support.midi.constants-module.html">echonest.support.midi.constants</a></strong> </li>
  118. <li> <strong class="uidlink"><a href="echonest.support.midi.example_mimimal_type0-module.html">echonest.support.midi.example_mimimal_type0</a></strong> </li>
  119. <li> <strong class="uidlink"><a href="echonest.support.midi.example_print_channel_0-module.html">echonest.support.midi.example_print_channel_0</a></strong> </li>
  120. <li> <strong class="uidlink"><a href="echonest.support.midi.example_print_events-module.html">echonest.support.midi.example_print_events</a></strong> </li>
  121. <li> <strong class="uidlink"><a href="echonest.support.midi.example_print_file-module.html">echonest.support.midi.example_print_file</a></strong>: <em class="summary">This is an example that uses the MidiToText eventhandler.</em> </li>
  122. <li> <strong class="uidlink"><a href="echonest.support.midi.example_transpose_octave-module.html">echonest.support.midi.example_transpose_octave</a></strong> </li>
  123. </ul></td></tr>
  124. </table>
  125. <br />
  126. <!-- ==================== VARIABLES ==================== -->
  127. <a name="section-Variables"></a>
  128. <table class="summary" border="1" cellpadding="3"
  129. cellspacing="0" width="100%" bgcolor="white">
  130. <tr bgcolor="#70b0f0" class="table-header">
  131. <td colspan="2" class="table-header">
  132. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  133. <tr valign="top">
  134. <td align="left"><span class="table-header">Variables</span></td>
  135. <td align="right" valign="top"
  136. ><span class="options">[<a href="#section-Variables"
  137. class="privatelink" onclick="toggle_private();"
  138. >hide private</a>]</span></td>
  139. </tr>
  140. </table>
  141. </td>
  142. </tr>
  143. <tr>
  144. <td width="15%" align="right" valign="top" class="summary">
  145. <span class="summary-type">&nbsp;</span>
  146. </td><td class="summary">
  147. <a name="__package__"></a><span class="summary-name">__package__</span> = <code title="None">None</code><br />
  148. hash(x)
  149. </td>
  150. </tr>
  151. </table>
  152. <!-- ==================== NAVIGATION BAR ==================== -->
  153. <table class="navbar" border="0" width="100%" cellpadding="0"
  154. bgcolor="#a0c0ff" cellspacing="0">
  155. <tr valign="middle">
  156. <!-- Tree link -->
  157. <th>&nbsp;&nbsp;&nbsp;<a
  158. href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
  159. <!-- Index link -->
  160. <th>&nbsp;&nbsp;&nbsp;<a
  161. href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
  162. <!-- Help link -->
  163. <th>&nbsp;&nbsp;&nbsp;<a
  164. href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
  165. <!-- Project homepage -->
  166. <th class="navbar" align="right" width="100%">
  167. <table border="0" cellpadding="0" cellspacing="0">
  168. <tr><th class="navbar" align="center"
  169. ><a class="navbar" target="_top" href="http://code.google.com/p/echo-nest-remix/">Project Homepage</a></th>
  170. </tr></table></th>
  171. </tr>
  172. </table>
  173. <table border="0" cellpadding="0" cellspacing="0" width="100%%">
  174. <tr>
  175. <td align="left" class="footer">
  176. Generated by Epydoc 3.0.1 on Wed Sep 1 16:08:57 2010
  177. </td>
  178. <td align="right" class="footer">
  179. <a target="mainFrame" href="http://epydoc.sourceforge.net"
  180. >http://epydoc.sourceforge.net</a>
  181. </td>
  182. </tr>
  183. </table>
  184. <script type="text/javascript">
  185. <!--
  186. // Private objects are initially displayed (because if
  187. // javascript is turned off then we want them to be
  188. // visible); but by default, we want to hide them. So hide
  189. // them unless we have a cookie that says to show them.
  190. checkCookie();
  191. // -->
  192. </script>
  193. </body>
  194. </html>