PageRenderTime 70ms CodeModel.GetById 11ms app.highlight 50ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://echo-nest-remix.googlecode.com/
HTML | 1690 lines | 1552 code | 117 blank | 21 comment | 0 complexity | e9816973aa9800fd85f14b04cd15e4a7 MD5 | raw file

Large files files are truncated, but you can click here to view the full 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.MidiToText.MidiToText</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.MidiToText-module.html">Module&nbsp;MidiToText</a> ::
  46        Class&nbsp;MidiToText
  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.MidiToText.MidiToText-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 MidiToText</h1><p class="nomargin-top"><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText">source&nbsp;code</a></span></p>
  64<center>
  65
  66</center>
  67<hr />
  68This class renders a midi file as text. It is mostly used for debugging
  69
  70<!-- ==================== INSTANCE METHODS ==================== -->
  71<a name="section-InstanceMethods"></a>
  72<table class="summary" border="1" cellpadding="3"
  73       cellspacing="0" width="100%" bgcolor="white">
  74<tr bgcolor="#70b0f0" class="table-header">
  75  <td colspan="2" class="table-header">
  76    <table border="0" cellpadding="0" cellspacing="0" width="100%">
  77      <tr valign="top">
  78        <td align="left"><span class="table-header">Instance Methods</span></td>
  79        <td align="right" valign="top"
  80         ><span class="options">[<a href="#section-InstanceMethods"
  81         class="privatelink" onclick="toggle_private();"
  82         >hide private</a>]</span></td>
  83      </tr>
  84    </table>
  85  </td>
  86</tr>
  87<tr>
  88    <td width="15%" align="right" valign="top" class="summary">
  89      <span class="summary-type">&nbsp;</span>
  90    </td><td class="summary">
  91      <table width="100%" cellpadding="0" cellspacing="0" border="0">
  92        <tr>
  93          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#channel_message" class="summary-sig-name">channel_message</a>(<span class="summary-sig-arg">self</span>,
  94        <span class="summary-sig-arg">message_type</span>,
  95        <span class="summary-sig-arg">channel</span>,
  96        <span class="summary-sig-arg">data</span>)</span><br />
  97      The default event handler for channel messages</td>
  98          <td align="right" valign="top">
  99            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.channel_message">source&nbsp;code</a></span>
 100            
 101          </td>
 102        </tr>
 103      </table>
 104      
 105    </td>
 106  </tr>
 107<tr>
 108    <td width="15%" align="right" valign="top" class="summary">
 109      <span class="summary-type">&nbsp;</span>
 110    </td><td class="summary">
 111      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 112        <tr>
 113          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#note_on" class="summary-sig-name">note_on</a>(<span class="summary-sig-arg">self</span>,
 114        <span class="summary-sig-arg">channel</span>=<span class="summary-sig-default">0</span>,
 115        <span class="summary-sig-arg">note</span>=<span class="summary-sig-default">64</span>,
 116        <span class="summary-sig-arg">velocity</span>=<span class="summary-sig-default">64</span>)</span><br />
 117      channel: 0-15
 118note, velocity: 0-127</td>
 119          <td align="right" valign="top">
 120            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.note_on">source&nbsp;code</a></span>
 121            
 122          </td>
 123        </tr>
 124      </table>
 125      
 126    </td>
 127  </tr>
 128<tr>
 129    <td width="15%" align="right" valign="top" class="summary">
 130      <span class="summary-type">&nbsp;</span>
 131    </td><td class="summary">
 132      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 133        <tr>
 134          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#note_off" class="summary-sig-name">note_off</a>(<span class="summary-sig-arg">self</span>,
 135        <span class="summary-sig-arg">channel</span>=<span class="summary-sig-default">0</span>,
 136        <span class="summary-sig-arg">note</span>=<span class="summary-sig-default">64</span>,
 137        <span class="summary-sig-arg">velocity</span>=<span class="summary-sig-default">64</span>)</span><br />
 138      channel: 0-15
 139note, velocity: 0-127</td>
 140          <td align="right" valign="top">
 141            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.note_off">source&nbsp;code</a></span>
 142            
 143          </td>
 144        </tr>
 145      </table>
 146      
 147    </td>
 148  </tr>
 149<tr>
 150    <td width="15%" align="right" valign="top" class="summary">
 151      <span class="summary-type">&nbsp;</span>
 152    </td><td class="summary">
 153      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 154        <tr>
 155          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#aftertouch" class="summary-sig-name">aftertouch</a>(<span class="summary-sig-arg">self</span>,
 156        <span class="summary-sig-arg">channel</span>=<span class="summary-sig-default">0</span>,
 157        <span class="summary-sig-arg">note</span>=<span class="summary-sig-default">64</span>,
 158        <span class="summary-sig-arg">velocity</span>=<span class="summary-sig-default">64</span>)</span><br />
 159      channel: 0-15
 160note, velocity: 0-127</td>
 161          <td align="right" valign="top">
 162            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.aftertouch">source&nbsp;code</a></span>
 163            
 164          </td>
 165        </tr>
 166      </table>
 167      
 168    </td>
 169  </tr>
 170<tr>
 171    <td width="15%" align="right" valign="top" class="summary">
 172      <span class="summary-type">&nbsp;</span>
 173    </td><td class="summary">
 174      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 175        <tr>
 176          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#continuous_controller" class="summary-sig-name">continuous_controller</a>(<span class="summary-sig-arg">self</span>,
 177        <span class="summary-sig-arg">channel</span>,
 178        <span class="summary-sig-arg">controller</span>,
 179        <span class="summary-sig-arg">value</span>)</span><br />
 180      channel: 0-15
 181controller, value: 0-127</td>
 182          <td align="right" valign="top">
 183            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.continuous_controller">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 href="echonest.support.midi.MidiToText.MidiToText-class.html#patch_change" class="summary-sig-name">patch_change</a>(<span class="summary-sig-arg">self</span>,
 198        <span class="summary-sig-arg">channel</span>,
 199        <span class="summary-sig-arg">patch</span>)</span><br />
 200      channel: 0-15
 201patch: 0-127</td>
 202          <td align="right" valign="top">
 203            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.patch_change">source&nbsp;code</a></span>
 204            
 205          </td>
 206        </tr>
 207      </table>
 208      
 209    </td>
 210  </tr>
 211<tr>
 212    <td width="15%" align="right" valign="top" class="summary">
 213      <span class="summary-type">&nbsp;</span>
 214    </td><td class="summary">
 215      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 216        <tr>
 217          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#channel_pressure" class="summary-sig-name">channel_pressure</a>(<span class="summary-sig-arg">self</span>,
 218        <span class="summary-sig-arg">channel</span>,
 219        <span class="summary-sig-arg">pressure</span>)</span><br />
 220      channel: 0-15
 221pressure: 0-127</td>
 222          <td align="right" valign="top">
 223            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.channel_pressure">source&nbsp;code</a></span>
 224            
 225          </td>
 226        </tr>
 227      </table>
 228      
 229    </td>
 230  </tr>
 231<tr>
 232    <td width="15%" align="right" valign="top" class="summary">
 233      <span class="summary-type">&nbsp;</span>
 234    </td><td class="summary">
 235      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 236        <tr>
 237          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#pitch_bend" class="summary-sig-name">pitch_bend</a>(<span class="summary-sig-arg">self</span>,
 238        <span class="summary-sig-arg">channel</span>,
 239        <span class="summary-sig-arg">value</span>)</span><br />
 240      channel: 0-15
 241value: 0-16383</td>
 242          <td align="right" valign="top">
 243            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.pitch_bend">source&nbsp;code</a></span>
 244            
 245          </td>
 246        </tr>
 247      </table>
 248      
 249    </td>
 250  </tr>
 251<tr>
 252    <td width="15%" align="right" valign="top" class="summary">
 253      <span class="summary-type">&nbsp;</span>
 254    </td><td class="summary">
 255      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 256        <tr>
 257          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#system_exclusive" class="summary-sig-name">system_exclusive</a>(<span class="summary-sig-arg">self</span>,
 258        <span class="summary-sig-arg">data</span>)</span><br />
 259      data: list of values in range(128)</td>
 260          <td align="right" valign="top">
 261            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.system_exclusive">source&nbsp;code</a></span>
 262            
 263          </td>
 264        </tr>
 265      </table>
 266      
 267    </td>
 268  </tr>
 269<tr>
 270    <td width="15%" align="right" valign="top" class="summary">
 271      <span class="summary-type">&nbsp;</span>
 272    </td><td class="summary">
 273      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 274        <tr>
 275          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#song_position_pointer" class="summary-sig-name">song_position_pointer</a>(<span class="summary-sig-arg">self</span>,
 276        <span class="summary-sig-arg">value</span>)</span><br />
 277      value: 0-16383</td>
 278          <td align="right" valign="top">
 279            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.song_position_pointer">source&nbsp;code</a></span>
 280            
 281          </td>
 282        </tr>
 283      </table>
 284      
 285    </td>
 286  </tr>
 287<tr>
 288    <td width="15%" align="right" valign="top" class="summary">
 289      <span class="summary-type">&nbsp;</span>
 290    </td><td class="summary">
 291      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 292        <tr>
 293          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#song_select" class="summary-sig-name">song_select</a>(<span class="summary-sig-arg">self</span>,
 294        <span class="summary-sig-arg">songNumber</span>)</span><br />
 295      songNumber: 0-127</td>
 296          <td align="right" valign="top">
 297            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.song_select">source&nbsp;code</a></span>
 298            
 299          </td>
 300        </tr>
 301      </table>
 302      
 303    </td>
 304  </tr>
 305<tr>
 306    <td width="15%" align="right" valign="top" class="summary">
 307      <span class="summary-type">&nbsp;</span>
 308    </td><td class="summary">
 309      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 310        <tr>
 311          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#tuning_request" class="summary-sig-name">tuning_request</a>(<span class="summary-sig-arg">self</span>)</span><br />
 312      No values passed</td>
 313          <td align="right" valign="top">
 314            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.tuning_request">source&nbsp;code</a></span>
 315            
 316          </td>
 317        </tr>
 318      </table>
 319      
 320    </td>
 321  </tr>
 322<tr>
 323    <td width="15%" align="right" valign="top" class="summary">
 324      <span class="summary-type">&nbsp;</span>
 325    </td><td class="summary">
 326      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 327        <tr>
 328          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#midi_time_code" class="summary-sig-name">midi_time_code</a>(<span class="summary-sig-arg">self</span>,
 329        <span class="summary-sig-arg">msg_type</span>,
 330        <span class="summary-sig-arg">values</span>)</span><br />
 331      msg_type: 0-7
 332values: 0-15</td>
 333          <td align="right" valign="top">
 334            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.midi_time_code">source&nbsp;code</a></span>
 335            
 336          </td>
 337        </tr>
 338      </table>
 339      
 340    </td>
 341  </tr>
 342<tr>
 343    <td width="15%" align="right" valign="top" class="summary">
 344      <span class="summary-type">&nbsp;</span>
 345    </td><td class="summary">
 346      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 347        <tr>
 348          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#header" class="summary-sig-name">header</a>(<span class="summary-sig-arg">self</span>,
 349        <span class="summary-sig-arg">format</span>=<span class="summary-sig-default">0</span>,
 350        <span class="summary-sig-arg">nTracks</span>=<span class="summary-sig-default">1</span>,
 351        <span class="summary-sig-arg">division</span>=<span class="summary-sig-default">96</span>)</span><br />
 352      format: type of midi file in [1,2]
 353nTracks: number of tracks
 354division: timing division</td>
 355          <td align="right" valign="top">
 356            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.header">source&nbsp;code</a></span>
 357            
 358          </td>
 359        </tr>
 360      </table>
 361      
 362    </td>
 363  </tr>
 364<tr>
 365    <td width="15%" align="right" valign="top" class="summary">
 366      <span class="summary-type">&nbsp;</span>
 367    </td><td class="summary">
 368      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 369        <tr>
 370          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#eof" class="summary-sig-name">eof</a>(<span class="summary-sig-arg">self</span>)</span><br />
 371      End of file.</td>
 372          <td align="right" valign="top">
 373            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.eof">source&nbsp;code</a></span>
 374            
 375          </td>
 376        </tr>
 377      </table>
 378      
 379    </td>
 380  </tr>
 381<tr>
 382    <td width="15%" align="right" valign="top" class="summary">
 383      <span class="summary-type">&nbsp;</span>
 384    </td><td class="summary">
 385      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 386        <tr>
 387          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#start_of_track" class="summary-sig-name">start_of_track</a>(<span class="summary-sig-arg">self</span>,
 388        <span class="summary-sig-arg">n_track</span>=<span class="summary-sig-default">0</span>)</span><br />
 389      n_track: number of track</td>
 390          <td align="right" valign="top">
 391            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.start_of_track">source&nbsp;code</a></span>
 392            
 393          </td>
 394        </tr>
 395      </table>
 396      
 397    </td>
 398  </tr>
 399<tr>
 400    <td width="15%" align="right" valign="top" class="summary">
 401      <span class="summary-type">&nbsp;</span>
 402    </td><td class="summary">
 403      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 404        <tr>
 405          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#end_of_track" class="summary-sig-name">end_of_track</a>(<span class="summary-sig-arg">self</span>)</span><br />
 406      n_track: number of track</td>
 407          <td align="right" valign="top">
 408            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.end_of_track">source&nbsp;code</a></span>
 409            
 410          </td>
 411        </tr>
 412      </table>
 413      
 414    </td>
 415  </tr>
 416<tr>
 417    <td width="15%" align="right" valign="top" class="summary">
 418      <span class="summary-type">&nbsp;</span>
 419    </td><td class="summary">
 420      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 421        <tr>
 422          <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>,
 423        <span class="summary-sig-arg">data</span>)</span></td>
 424          <td align="right" valign="top">
 425            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.sysex_event">source&nbsp;code</a></span>
 426            
 427          </td>
 428        </tr>
 429      </table>
 430      
 431    </td>
 432  </tr>
 433<tr>
 434    <td width="15%" align="right" valign="top" class="summary">
 435      <span class="summary-type">&nbsp;</span>
 436    </td><td class="summary">
 437      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 438        <tr>
 439          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#meta_event" class="summary-sig-name">meta_event</a>(<span class="summary-sig-arg">self</span>,
 440        <span class="summary-sig-arg">meta_type</span>,
 441        <span class="summary-sig-arg">data</span>)</span><br />
 442      Handles any undefined meta events</td>
 443          <td align="right" valign="top">
 444            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.meta_event">source&nbsp;code</a></span>
 445            
 446          </td>
 447        </tr>
 448      </table>
 449      
 450    </td>
 451  </tr>
 452<tr>
 453    <td width="15%" align="right" valign="top" class="summary">
 454      <span class="summary-type">&nbsp;</span>
 455    </td><td class="summary">
 456      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 457        <tr>
 458          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#sequence_number" class="summary-sig-name">sequence_number</a>(<span class="summary-sig-arg">self</span>,
 459        <span class="summary-sig-arg">value</span>)</span><br />
 460      value: 0-16383</td>
 461          <td align="right" valign="top">
 462            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.sequence_number">source&nbsp;code</a></span>
 463            
 464          </td>
 465        </tr>
 466      </table>
 467      
 468    </td>
 469  </tr>
 470<tr>
 471    <td width="15%" align="right" valign="top" class="summary">
 472      <span class="summary-type">&nbsp;</span>
 473    </td><td class="summary">
 474      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 475        <tr>
 476          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#text" class="summary-sig-name">text</a>(<span class="summary-sig-arg">self</span>,
 477        <span class="summary-sig-arg">text</span>)</span><br />
 478      Text event
 479text: string</td>
 480          <td align="right" valign="top">
 481            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.text">source&nbsp;code</a></span>
 482            
 483          </td>
 484        </tr>
 485      </table>
 486      
 487    </td>
 488  </tr>
 489<tr>
 490    <td width="15%" align="right" valign="top" class="summary">
 491      <span class="summary-type">&nbsp;</span>
 492    </td><td class="summary">
 493      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 494        <tr>
 495          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#copyright" class="summary-sig-name">copyright</a>(<span class="summary-sig-arg">self</span>,
 496        <span class="summary-sig-arg">text</span>)</span><br />
 497      Copyright notice
 498text: string</td>
 499          <td align="right" valign="top">
 500            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.copyright">source&nbsp;code</a></span>
 501            
 502          </td>
 503        </tr>
 504      </table>
 505      
 506    </td>
 507  </tr>
 508<tr>
 509    <td width="15%" align="right" valign="top" class="summary">
 510      <span class="summary-type">&nbsp;</span>
 511    </td><td class="summary">
 512      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 513        <tr>
 514          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#sequence_name" class="summary-sig-name">sequence_name</a>(<span class="summary-sig-arg">self</span>,
 515        <span class="summary-sig-arg">text</span>)</span><br />
 516      Sequence/track name
 517text: string</td>
 518          <td align="right" valign="top">
 519            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.sequence_name">source&nbsp;code</a></span>
 520            
 521          </td>
 522        </tr>
 523      </table>
 524      
 525    </td>
 526  </tr>
 527<tr>
 528    <td width="15%" align="right" valign="top" class="summary">
 529      <span class="summary-type">&nbsp;</span>
 530    </td><td class="summary">
 531      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 532        <tr>
 533          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#instrument_name" class="summary-sig-name">instrument_name</a>(<span class="summary-sig-arg">self</span>,
 534        <span class="summary-sig-arg">text</span>)</span><br />
 535      text: string</td>
 536          <td align="right" valign="top">
 537            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.instrument_name">source&nbsp;code</a></span>
 538            
 539          </td>
 540        </tr>
 541      </table>
 542      
 543    </td>
 544  </tr>
 545<tr>
 546    <td width="15%" align="right" valign="top" class="summary">
 547      <span class="summary-type">&nbsp;</span>
 548    </td><td class="summary">
 549      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 550        <tr>
 551          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#lyric" class="summary-sig-name">lyric</a>(<span class="summary-sig-arg">self</span>,
 552        <span class="summary-sig-arg">text</span>)</span><br />
 553      text: string</td>
 554          <td align="right" valign="top">
 555            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.lyric">source&nbsp;code</a></span>
 556            
 557          </td>
 558        </tr>
 559      </table>
 560      
 561    </td>
 562  </tr>
 563<tr>
 564    <td width="15%" align="right" valign="top" class="summary">
 565      <span class="summary-type">&nbsp;</span>
 566    </td><td class="summary">
 567      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 568        <tr>
 569          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#marker" class="summary-sig-name">marker</a>(<span class="summary-sig-arg">self</span>,
 570        <span class="summary-sig-arg">text</span>)</span><br />
 571      text: string</td>
 572          <td align="right" valign="top">
 573            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.marker">source&nbsp;code</a></span>
 574            
 575          </td>
 576        </tr>
 577      </table>
 578      
 579    </td>
 580  </tr>
 581<tr>
 582    <td width="15%" align="right" valign="top" class="summary">
 583      <span class="summary-type">&nbsp;</span>
 584    </td><td class="summary">
 585      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 586        <tr>
 587          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#cuepoint" class="summary-sig-name">cuepoint</a>(<span class="summary-sig-arg">self</span>,
 588        <span class="summary-sig-arg">text</span>)</span><br />
 589      text: string</td>
 590          <td align="right" valign="top">
 591            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.cuepoint">source&nbsp;code</a></span>
 592            
 593          </td>
 594        </tr>
 595      </table>
 596      
 597    </td>
 598  </tr>
 599<tr>
 600    <td width="15%" align="right" valign="top" class="summary">
 601      <span class="summary-type">&nbsp;</span>
 602    </td><td class="summary">
 603      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 604        <tr>
 605          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#midi_ch_prefix" class="summary-sig-name">midi_ch_prefix</a>(<span class="summary-sig-arg">self</span>,
 606        <span class="summary-sig-arg">channel</span>)</span><br />
 607      channel: midi channel for subsequent data (deprecated in the spec)</td>
 608          <td align="right" valign="top">
 609            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.midi_ch_prefix">source&nbsp;code</a></span>
 610            
 611          </td>
 612        </tr>
 613      </table>
 614      
 615    </td>
 616  </tr>
 617<tr>
 618    <td width="15%" align="right" valign="top" class="summary">
 619      <span class="summary-type">&nbsp;</span>
 620    </td><td class="summary">
 621      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 622        <tr>
 623          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#midi_port" class="summary-sig-name">midi_port</a>(<span class="summary-sig-arg">self</span>,
 624        <span class="summary-sig-arg">value</span>)</span><br />
 625      value: Midi port (deprecated in the spec)</td>
 626          <td align="right" valign="top">
 627            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.midi_port">source&nbsp;code</a></span>
 628            
 629          </td>
 630        </tr>
 631      </table>
 632      
 633    </td>
 634  </tr>
 635<tr>
 636    <td width="15%" align="right" valign="top" class="summary">
 637      <span class="summary-type">&nbsp;</span>
 638    </td><td class="summary">
 639      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 640        <tr>
 641          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#tempo" class="summary-sig-name">tempo</a>(<span class="summary-sig-arg">self</span>,
 642        <span class="summary-sig-arg">value</span>)</span><br />
 643      value: 0-2097151
 644tempo in us/quarternote
 645(to calculate value from bpm: int(60,000,000.00 / BPM))</td>
 646          <td align="right" valign="top">
 647            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.tempo">source&nbsp;code</a></span>
 648            
 649          </td>
 650        </tr>
 651      </table>
 652      
 653    </td>
 654  </tr>
 655<tr>
 656    <td width="15%" align="right" valign="top" class="summary">
 657      <span class="summary-type">&nbsp;</span>
 658    </td><td class="summary">
 659      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 660        <tr>
 661          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#smtp_offset" class="summary-sig-name">smtp_offset</a>(<span class="summary-sig-arg">self</span>,
 662        <span class="summary-sig-arg">hour</span>,
 663        <span class="summary-sig-arg">minute</span>,
 664        <span class="summary-sig-arg">second</span>,
 665        <span class="summary-sig-arg">frame</span>,
 666        <span class="summary-sig-arg">framePart</span>)</span><br />
 667      hour,
 668minute,
 669second: 3 bytes specifying the hour (0-23), minutes (0-59) and 
 670        seconds (0-59), respectively.</td>
 671          <td align="right" valign="top">
 672            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.smtp_offset">source&nbsp;code</a></span>
 673            
 674          </td>
 675        </tr>
 676      </table>
 677      
 678    </td>
 679  </tr>
 680<tr>
 681    <td width="15%" align="right" valign="top" class="summary">
 682      <span class="summary-type">&nbsp;</span>
 683    </td><td class="summary">
 684      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 685        <tr>
 686          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#time_signature" class="summary-sig-name">time_signature</a>(<span class="summary-sig-arg">self</span>,
 687        <span class="summary-sig-arg">nn</span>,
 688        <span class="summary-sig-arg">dd</span>,
 689        <span class="summary-sig-arg">cc</span>,
 690        <span class="summary-sig-arg">bb</span>)</span><br />
 691      nn: Numerator of the signature as notated on sheet music
 692dd: Denominator of the signature as notated on sheet music
 693    The denominator is a negative power of 2: 2 = quarter 
 694    note, 3 = eighth, etc.</td>
 695          <td align="right" valign="top">
 696            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.time_signature">source&nbsp;code</a></span>
 697            
 698          </td>
 699        </tr>
 700      </table>
 701      
 702    </td>
 703  </tr>
 704<tr>
 705    <td width="15%" align="right" valign="top" class="summary">
 706      <span class="summary-type">&nbsp;</span>
 707    </td><td class="summary">
 708      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 709        <tr>
 710          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#key_signature" class="summary-sig-name">key_signature</a>(<span class="summary-sig-arg">self</span>,
 711        <span class="summary-sig-arg">sf</span>,
 712        <span class="summary-sig-arg">mi</span>)</span><br />
 713      (+ve) that identifies the key signature (-7 = 7 flats, -1
 714= 1 flat, 0 = key of C, 1 = 1 sharp, etc).</td>
 715          <td align="right" valign="top">
 716            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.key_signature">source&nbsp;code</a></span>
 717            
 718          </td>
 719        </tr>
 720      </table>
 721      
 722    </td>
 723  </tr>
 724<tr>
 725    <td width="15%" align="right" valign="top" class="summary">
 726      <span class="summary-type">&nbsp;</span>
 727    </td><td class="summary">
 728      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 729        <tr>
 730          <td><span class="summary-sig"><a href="echonest.support.midi.MidiToText.MidiToText-class.html#sequencer_specific" class="summary-sig-name">sequencer_specific</a>(<span class="summary-sig-arg">self</span>,
 731        <span class="summary-sig-arg">data</span>)</span><br />
 732      data: The data as byte values</td>
 733          <td align="right" valign="top">
 734            <span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.sequencer_specific">source&nbsp;code</a></span>
 735            
 736          </td>
 737        </tr>
 738      </table>
 739      
 740    </td>
 741  </tr>
 742  <tr>
 743    <td colspan="2" class="summary">
 744    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html">MidiOutStream.MidiOutStream</a></code></b>:
 745      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#__init__">__init__</a></code>,
 746      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#abs_time">abs_time</a></code>,
 747      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#active_sensing">active_sensing</a></code>,
 748      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#get_current_track">get_current_track</a></code>,
 749      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#get_run_stat">get_run_stat</a></code>,
 750      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#rel_time">rel_time</a></code>,
 751      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#reset_run_stat">reset_run_stat</a></code>,
 752      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#reset_time">reset_time</a></code>,
 753      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#set_current_track">set_current_track</a></code>,
 754      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#set_run_stat">set_run_stat</a></code>,
 755      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#song_continue">song_continue</a></code>,
 756      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#song_start">song_start</a></code>,
 757      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#song_stop">song_stop</a></code>,
 758      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#system_reset">system_reset</a></code>,
 759      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#timing_clock">timing_clock</a></code>,
 760      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#update_time">update_time</a></code>
 761      </p>
 762    </td>
 763  </tr>
 764</table>
 765<!-- ==================== METHOD DETAILS ==================== -->
 766<a name="section-MethodDetails"></a>
 767<table class="details" border="1" cellpadding="3"
 768       cellspacing="0" width="100%" bgcolor="white">
 769<tr bgcolor="#70b0f0" class="table-header">
 770  <td colspan="2" class="table-header">
 771    <table border="0" cellpadding="0" cellspacing="0" width="100%">
 772      <tr valign="top">
 773        <td align="left"><span class="table-header">Method Details</span></td>
 774        <td align="right" valign="top"
 775         ><span class="options">[<a href="#section-MethodDetails"
 776         class="privatelink" onclick="toggle_private();"
 777         >hide private</a>]</span></td>
 778      </tr>
 779    </table>
 780  </td>
 781</tr>
 782</table>
 783<a name="channel_message"></a>
 784<div>
 785<table class="details" border="1" cellpadding="3"
 786       cellspacing="0" width="100%" bgcolor="white">
 787<tr><td>
 788  <table width="100%" cellpadding="0" cellspacing="0" border="0">
 789  <tr valign="top"><td>
 790  <h3 class="epydoc"><span class="sig"><span class="sig-name">channel_message</span>(<span class="sig-arg">self</span>,
 791        <span class="sig-arg">message_type</span>,
 792        <span class="sig-arg">channel</span>,
 793        <span class="sig-arg">data</span>)</span>
 794  </h3>
 795  </td><td align="right" valign="top"
 796    ><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.channel_message">source&nbsp;code</a></span>&nbsp;
 797    </td>
 798  </tr></table>
 799  
 800  The default event handler for channel messages
 801  <dl class="fields">
 802    <dt>Overrides:
 803        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#channel_message">MidiOutStream.MidiOutStream.channel_message</a>
 804    </dt>
 805  </dl>
 806</td></tr></table>
 807</div>
 808<a name="note_on"></a>
 809<div>
 810<table class="details" border="1" cellpadding="3"
 811       cellspacing="0" width="100%" bgcolor="white">
 812<tr><td>
 813  <table width="100%" cellpadding="0" cellspacing="0" border="0">
 814  <tr valign="top"><td>
 815  <h3 class="epydoc"><span class="sig"><span class="sig-name">note_on</span>(<span class="sig-arg">self</span>,
 816        <span class="sig-arg">channel</span>=<span class="sig-default">0</span>,
 817        <span class="sig-arg">note</span>=<span class="sig-default">64</span>,
 818        <span class="sig-arg">velocity</span>=<span class="sig-default">64</span>)</span>
 819  </h3>
 820  </td><td align="right" valign="top"
 821    ><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.note_on">source&nbsp;code</a></span>&nbsp;
 822    </td>
 823  </tr></table>
 824  
 825  channel: 0-15
 826note, velocity: 0-127
 827  <dl class="fields">
 828    <dt>Overrides:
 829        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#note_on">MidiOutStream.MidiOutStream.note_on</a>
 830        <dd><em class="note">(inherited documentation)</em></dd>
 831    </dt>
 832  </dl>
 833</td></tr></table>
 834</div>
 835<a name="note_off"></a>
 836<div>
 837<table class="details" border="1" cellpadding="3"
 838       cellspacing="0" width="100%" bgcolor="white">
 839<tr><td>
 840  <table width="100%" cellpadding="0" cellspacing="0" border="0">
 841  <tr valign="top"><td>
 842  <h3 class="epydoc"><span class="sig"><span class="sig-name">note_off</span>(<span class="sig-arg">self</span>,
 843        <span class="sig-arg">channel</span>=<span class="sig-default">0</span>,
 844        <span class="sig-arg">note</span>=<span class="sig-default">64</span>,
 845        <span class="sig-arg">velocity</span>=<span class="sig-default">64</span>)</span>
 846  </h3>
 847  </td><td align="right" valign="top"
 848    ><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.note_off">source&nbsp;code</a></span>&nbsp;
 849    </td>
 850  </tr></table>
 851  
 852  channel: 0-15
 853note, velocity: 0-127
 854  <dl class="fields">
 855    <dt>Overrides:
 856        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#note_off">MidiOutStream.MidiOutStream.note_off</a>
 857        <dd><em class="note">(inherited documentation)</em></dd>
 858    </dt>
 859  </dl>
 860</td></tr></table>
 861</div>
 862<a name="aftertouch"></a>
 863<div>
 864<table class="details" border="1" cellpadding="3"
 865       cellspacing="0" width="100%" bgcolor="white">
 866<tr><td>
 867  <table width="100%" cellpadding="0" cellspacing="0" border="0">
 868  <tr valign="top"><td>
 869  <h3 class="epydoc"><span class="sig"><span class="sig-name">aftertouch</span>(<span class="sig-arg">self</span>,
 870        <span class="sig-arg">channel</span>=<span class="sig-default">0</span>,
 871        <span class="sig-arg">note</span>=<span class="sig-default">64</span>,
 872        <span class="sig-arg">velocity</span>=<span class="sig-default">64</span>)</span>
 873  </h3>
 874  </td><td align="right" valign="top"
 875    ><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.aftertouch">source&nbsp;code</a></span>&nbsp;
 876    </td>
 877  </tr></table>
 878  
 879  channel: 0-15
 880note, velocity: 0-127
 881  <dl class="fields">
 882    <dt>Overrides:
 883        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#aftertouch">MidiOutStream.MidiOutStream.aftertouch</a>
 884        <dd><em class="note">(inherited documentation)</em></dd>
 885    </dt>
 886  </dl>
 887</td></tr></table>
 888</div>
 889<a name="continuous_controller"></a>
 890<div>
 891<table class="details" border="1" cellpadding="3"
 892       cellspacing="0" width="100%" bgcolor="white">
 893<tr><td>
 894  <table width="100%" cellpadding="0" cellspacing="0" border="0">
 895  <tr valign="top"><td>
 896  <h3 class="epydoc"><span class="sig"><span class="sig-name">continuous_controller</span>(<span class="sig-arg">self</span>,
 897        <span class="sig-arg">channel</span>,
 898        <span class="sig-arg">controller</span>,
 899        <span class="sig-arg">value</span>)</span>
 900  </h3>
 901  </td><td align="right" valign="top"
 902    ><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.continuous_controller">source&nbsp;code</a></span>&nbsp;
 903    </td>
 904  </tr></table>
 905  
 906  channel: 0-15
 907controller, value: 0-127
 908  <dl class="fields">
 909    <dt>Overrides:
 910        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#continuous_controller">MidiOutStream.MidiOutStream.continuous_controller</a>
 911        <dd><em class="note">(inherited documentation)</em></dd>
 912    </dt>
 913  </dl>
 914</td></tr></table>
 915</div>
 916<a name="patch_change"></a>
 917<div>
 918<table class="details" border="1" cellpadding="3"
 919       cellspacing="0" width="100%" bgcolor="white">
 920<tr><td>
 921  <table width="100%" cellpadding="0" cellspacing="0" border="0">
 922  <tr valign="top"><td>
 923  <h3 class="epydoc"><span class="sig"><span class="sig-name">patch_change</span>(<span class="sig-arg">self</span>,
 924        <span class="sig-arg">channel</span>,
 925        <span class="sig-arg">patch</span>)</span>
 926  </h3>
 927  </td><td align="right" valign="top"
 928    ><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.patch_change">source&nbsp;code</a></span>&nbsp;
 929    </td>
 930  </tr></table>
 931  
 932  channel: 0-15
 933patch: 0-127
 934  <dl class="fields">
 935    <dt>Overrides:
 936        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#patch_change">MidiOutStream.MidiOutStream.patch_change</a>
 937        <dd><em class="note">(inherited documentation)</em></dd>
 938    </dt>
 939  </dl>
 940</td></tr></table>
 941</div>
 942<a name="channel_pressure"></a>
 943<div>
 944<table class="details" border="1" cellpadding="3"
 945       cellspacing="0" width="100%" bgcolor="white">
 946<tr><td>
 947  <table width="100%" cellpadding="0" cellspacing="0" border="0">
 948  <tr valign="top"><td>
 949  <h3 class="epydoc"><span class="sig"><span class="sig-name">channel_pressure</span>(<span class="sig-arg">self</span>,
 950        <span class="sig-arg">channel</span>,
 951        <span class="sig-arg">pressure</span>)</span>
 952  </h3>
 953  </td><td align="right" valign="top"
 954    ><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.channel_pressure">source&nbsp;code</a></span>&nbsp;
 955    </td>
 956  </tr></table>
 957  
 958  channel: 0-15
 959pressure: 0-127
 960  <dl class="fields">
 961    <dt>Overrides:
 962        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#channel_pressure">MidiOutStream.MidiOutStream.channel_pressure</a>
 963        <dd><em class="note">(inherited documentation)</em></dd>
 964    </dt>
 965  </dl>
 966</td></tr></table>
 967</div>
 968<a name="pitch_bend"></a>
 969<div>
 970<table class="details" border="1" cellpadding="3"
 971       cellspacing="0" width="100%" bgcolor="white">
 972<tr><td>
 973  <table width="100%" cellpadding="0" cellspacing="0" border="0">
 974  <tr valign="top"><td>
 975  <h3 class="epydoc"><span class="sig"><span class="sig-name">pitch_bend</span>(<span class="sig-arg">self</span>,
 976        <span class="sig-arg">channel</span>,
 977        <span class="sig-arg">value</span>)</span>
 978  </h3>
 979  </td><td align="right" valign="top"
 980    ><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.pitch_bend">source&nbsp;code</a></span>&nbsp;
 981    </td>
 982  </tr></table>
 983  
 984  channel: 0-15
 985value: 0-16383
 986  <dl class="fields">
 987    <dt>Overrides:
 988        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#pitch_bend">MidiOutStream.MidiOutStream.pitch_bend</a>
 989        <dd><em class="note">(inherited documentation)</em></dd>
 990    </dt>
 991  </dl>
 992</td></tr></table>
 993</div>
 994<a name="system_exclusive"></a>
 995<div>
 996<table class="details" border="1" cellpadding="3"
 997       cellspacing="0" width="100%" bgcolor="white">
 998<tr><td>
 999  <table width="100%" cellpadding="0" cellspacing="0" border="0">
1000  <tr valign="top"><td>
1001  <h3 class="epydoc"><span class="sig"><span class="sig-name">system_exclusive</span>(<span class="sig-arg">self</span>,
1002        <span class="sig-arg">data</span>)</span>
1003  </h3>
1004  </td><td align="right" valign="top"
1005    ><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.system_exclusive">source&nbsp;code</a></span>&nbsp;
1006    </td>
1007  </tr></table>
1008  
1009  data: list of values in range(128)
1010  <dl class="fields">
1011    <dt>Overrides:
1012        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#system_exclusive">MidiOutStream.MidiOutStream.system_exclusive</a>
1013        <dd><em class="note">(inherited documentation)</em></dd>
1014    </dt>
1015  </dl>
1016</td></tr></table>
1017</div>
1018<a name="song_position_pointer"></a>
1019<div>
1020<table class="details" border="1" cellpadding="3"
1021       cellspacing="0" width="100%" bgcolor="white">
1022<tr><td>
1023  <table width="100%" cellpadding="0" cellspacing="0" border="0">
1024  <tr valign="top"><td>
1025  <h3 class="epydoc"><span class="sig"><span class="sig-name">song_position_pointer</span>(<span class="sig-arg">self</span>,
1026        <span class="sig-arg">value</span>)</span>
1027  </h3>
1028  </td><td align="right" valign="top"
1029    ><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.song_position_pointer">source&nbsp;code</a></span>&nbsp;
1030    </td>
1031  </tr></table>
1032  
1033  value: 0-16383
1034  <dl class="fields">
1035    <dt>Overrides:
1036        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#song_position_pointer">MidiOutStream.MidiOutStream.song_position_pointer</a>
1037        <dd><em class="note">(inherited documentation)</em></dd>
1038    </dt>
1039  </dl>
1040</td></tr></table>
1041</div>
1042<a name="song_select"></a>
1043<div>
1044<table class="details" border="1" cellpadding="3"
1045       cellspacing="0" width="100%" bgcolor="white">
1046<tr><td>
1047  <table width="100%" cellpadding="0" cellspacing="0" border="0">
1048  <tr valign="top"><td>
1049  <h3 class="epydoc"><span class="sig"><span class="sig-name">song_select</span>(<span class="sig-arg">self</span>,
1050        <span class="sig-arg">songNumber</span>)</span>
1051  </h3>
1052  </td><td align="right" valign="top"
1053    ><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.song_select">source&nbsp;code</a></span>&nbsp;
1054    </td>
1055  </tr></table>
1056  
1057  songNumber: 0-127
1058  <dl class="fields">
1059    <dt>Overrides:
1060        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#song_select">MidiOutStream.MidiOutStream.song_select</a>
1061        <dd><em class="note">(inherited documentation)</em></dd>
1062    </dt>
1063  </dl>
1064</td></tr></table>
1065</div>
1066<a name="tuning_request"></a>
1067<div>
1068<table class="details" border="1" cellpadding="3"
1069       cellspacing="0" width="100%" bgcolor="white">
1070<tr><td>
1071  <table width="100%" cellpadding="0" cellspacing="0" border="0">
1072  <tr valign="top"><td>
1073  <h3 class="epydoc"><span class="sig"><span class="sig-name">tuning_request</span>(<span class="sig-arg">self</span>)</span>
1074  </h3>
1075  </td><td align="right" valign="top"
1076    ><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.tuning_request">source&nbsp;code</a></span>&nbsp;
1077    </td>
1078  </tr></table>
1079  
1080  No values passed
1081  <dl class="fields">
1082    <dt>Overrides:
1083        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#tuning_request">MidiOutStream.MidiOutStream.tuning_request</a>
1084        <dd><em class="note">(inherited documentation)</em></dd>
1085    </dt>
1086  </dl>
1087</td></tr></table>
1088</div>
1089<a name="midi_time_code"></a>
1090<div>
1091<table class="details" border="1" cellpadding="3"
1092       cellspacing="0" width="100%" bgcolor="white">
1093<tr><td>
1094  <table width="100%" cellpadding="0" cellspacing="0" border="0">
1095  <tr valign="top"><td>
1096  <h3 class="epydoc"><span class="sig"><span class="sig-name">midi_time_code</span>(<span class="sig-arg">self</span>,
1097        <span class="sig-arg">msg_type</span>,
1098        <span class="sig-arg">values</span>)</span>
1099  </h3>
1100  </td><td align="right" valign="top"
1101    ><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.midi_time_code">source&nbsp;code</a></span>&nbsp;
1102    </td>
1103  </tr></table>
1104  
1105  msg_type: 0-7
1106values: 0-15
1107  <dl class="fields">
1108    <dt>Overrides:
1109        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#midi_time_code">MidiOutStream.MidiOutStream.midi_time_code</a>
1110        <dd><em class="note">(inherited documentation)</em></dd>
1111    </dt>
1112  </dl>
1113</td></tr></table>
1114</div>
1115<a name="header"></a>
1116<div>
1117<table class="details" border="1" cellpadding="3"
1118       cellspacing="0" width="100%" bgcolor="white">
1119<tr><td>
1120  <table width="100%" cellpadding="0" cellspacing="0" border="0">
1121  <tr valign="top"><td>
1122  <h3 class="epydoc"><span class="sig"><span class="sig-name">header</span>(<span class="sig-arg">self</span>,
1123        <span class="sig-arg">format</span>=<span class="sig-default">0</span>,
1124        <span class="sig-arg">nTracks</span>=<span class="sig-default">1</span>,
1125        <span class="sig-arg">division</span>=<span class="sig-default">96</span>)</span>
1126  </h3>
1127  </td><td align="right" valign="top"
1128    ><span class="codelink"><a href="echonest.support.midi.MidiToText-pysrc.html#MidiToText.header">source&nbsp;code</a></span>&nbsp;
1129    </td>
1130  </tr></table>
1131  
1132  format: type of midi file in [1,2]
1133nTracks: number of tracks
1134division: timing division
1135  <dl class="fields">
1136    <dt>Overrides:
1137        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#header">MidiOutStream.MidiOutStream.header</a>
1138        <dd><em class

Large files files are truncated, but you can click here to view the full file