PageRenderTime 83ms CodeModel.GetById 40ms app.highlight 7ms RepoModel.GetById 33ms app.codeStats 0ms

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

http://echo-nest-remix.googlecode.com/
HTML | 148 lines | 117 code | 11 blank | 20 comment | 0 complexity | 55e8cd8d65d242d0447dc4bc38b806f9 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.example_print_file</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        Module&nbsp;example_print_file
 46      </span>
 47    </td>
 48    <td>
 49      <table cellpadding="0" cellspacing="0">
 50        <!-- hide/show private -->
 51        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
 52    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
 53        <tr><td align="right"><span class="options"
 54            >[<a href="frames.html" target="_top">frames</a
 55            >]&nbsp;|&nbsp;<a href="echonest.support.midi.example_print_file-module.html"
 56            target="_top">no&nbsp;frames</a>]</span></td></tr>
 57      </table>
 58    </td>
 59  </tr>
 60</table>
 61<!-- ==================== MODULE DESCRIPTION ==================== -->
 62<h1 class="epydoc">Module example_print_file</h1><p class="nomargin-top"><span class="codelink"><a href="echonest.support.midi.example_print_file-pysrc.html">source&nbsp;code</a></span></p>
 63<p>This is an example that uses the MidiToText eventhandler. When an
 64event is triggered on it, it prints the event to the console.</p>
 65<p>It gets the events from the MidiInFile.</p>
 66<p>So it prints all the events from the infile to the console. great for
 67debugging :-s</p>
 68
 69<!-- ==================== VARIABLES ==================== -->
 70<a name="section-Variables"></a>
 71<table class="summary" border="1" cellpadding="3"
 72       cellspacing="0" width="100%" bgcolor="white">
 73<tr bgcolor="#70b0f0" class="table-header">
 74  <td colspan="2" class="table-header">
 75    <table border="0" cellpadding="0" cellspacing="0" width="100%">
 76      <tr valign="top">
 77        <td align="left"><span class="table-header">Variables</span></td>
 78        <td align="right" valign="top"
 79         ><span class="options">[<a href="#section-Variables"
 80         class="privatelink" onclick="toggle_private();"
 81         >hide private</a>]</span></td>
 82      </tr>
 83    </table>
 84  </td>
 85</tr>
 86<tr>
 87    <td width="15%" align="right" valign="top" class="summary">
 88      <span class="summary-type">&nbsp;</span>
 89    </td><td class="summary">
 90        <a name="test_file"></a><span class="summary-name">test_file</span> = <code title="'test/midifiles/minimal-cubase-type0.mid'">'test/midifiles/minimal-cubase-type0.mid'</code>
 91    </td>
 92  </tr>
 93<tr>
 94    <td width="15%" align="right" valign="top" class="summary">
 95      <span class="summary-type">&nbsp;</span>
 96    </td><td class="summary">
 97        <a name="midiIn"></a><span class="summary-name">midiIn</span> = <code title="MidiInFile(MidiToText(), test_file)">MidiInFile(MidiToText(), test_file)</code>
 98    </td>
 99  </tr>
100</table>
101<!-- ==================== NAVIGATION BAR ==================== -->
102<table class="navbar" border="0" width="100%" cellpadding="0"
103       bgcolor="#a0c0ff" cellspacing="0">
104  <tr valign="middle">
105
106  <!-- Tree link -->
107      <th>&nbsp;&nbsp;&nbsp;<a
108        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
109
110  <!-- Index link -->
111      <th>&nbsp;&nbsp;&nbsp;<a
112        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
113
114  <!-- Help link -->
115      <th>&nbsp;&nbsp;&nbsp;<a
116        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
117
118  <!-- Project homepage -->
119      <th class="navbar" align="right" width="100%">
120        <table border="0" cellpadding="0" cellspacing="0">
121          <tr><th class="navbar" align="center"
122            ><a class="navbar" target="_top" href="http://code.google.com/p/echo-nest-remix/">Project Homepage</a></th>
123          </tr></table></th>
124  </tr>
125</table>
126<table border="0" cellpadding="0" cellspacing="0" width="100%%">
127  <tr>
128    <td align="left" class="footer">
129    Generated by Epydoc 3.0.1 on Wed Sep  1 16:08:57 2010
130    </td>
131    <td align="right" class="footer">
132      <a target="mainFrame" href="http://epydoc.sourceforge.net"
133        >http://epydoc.sourceforge.net</a>
134    </td>
135  </tr>
136</table>
137
138<script type="text/javascript">
139  <!--
140  // Private objects are initially displayed (because if
141  // javascript is turned off then we want them to be
142  // visible); but by default, we want to hide them.  So hide
143  // them unless we have a cookie that says to show them.
144  checkCookie();
145  // -->
146</script>
147</body>
148</html>