PageRenderTime 537ms CodeModel.GetById 423ms app.highlight 10ms RepoModel.GetById 100ms app.codeStats 0ms

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

http://echo-nest-remix.googlecode.com/
HTML | 182 lines | 151 code | 10 blank | 21 comment | 0 complexity | 4301829e0e9925447371ea7ade0aaefd 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_transpose_octave</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_transpose_octave
 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_transpose_octave-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_transpose_octave</h1><p class="nomargin-top"><span class="codelink"><a href="echonest.support.midi.example_transpose_octave-pysrc.html">source&nbsp;code</a></span></p>
 63<!-- ==================== CLASSES ==================== -->
 64<a name="section-Classes"></a>
 65<table class="summary" border="1" cellpadding="3"
 66       cellspacing="0" width="100%" bgcolor="white">
 67<tr bgcolor="#70b0f0" class="table-header">
 68  <td colspan="2" class="table-header">
 69    <table border="0" cellpadding="0" cellspacing="0" width="100%">
 70      <tr valign="top">
 71        <td align="left"><span class="table-header">Classes</span></td>
 72        <td align="right" valign="top"
 73         ><span class="options">[<a href="#section-Classes"
 74         class="privatelink" onclick="toggle_private();"
 75         >hide private</a>]</span></td>
 76      </tr>
 77    </table>
 78  </td>
 79</tr>
 80<tr>
 81    <td width="15%" align="right" valign="top" class="summary">
 82      <span class="summary-type">&nbsp;</span>
 83    </td><td class="summary">
 84        <a href="echonest.support.midi.example_transpose_octave.Transposer-class.html" class="summary-name">Transposer</a><br />
 85      Transposes all notes by 1 octave
 86    </td>
 87  </tr>
 88</table>
 89<!-- ==================== VARIABLES ==================== -->
 90<a name="section-Variables"></a>
 91<table class="summary" border="1" cellpadding="3"
 92       cellspacing="0" width="100%" bgcolor="white">
 93<tr bgcolor="#70b0f0" class="table-header">
 94  <td colspan="2" class="table-header">
 95    <table border="0" cellpadding="0" cellspacing="0" width="100%">
 96      <tr valign="top">
 97        <td align="left"><span class="table-header">Variables</span></td>
 98        <td align="right" valign="top"
 99         ><span class="options">[<a href="#section-Variables"
100         class="privatelink" onclick="toggle_private();"
101         >hide private</a>]</span></td>
102      </tr>
103    </table>
104  </td>
105</tr>
106<tr>
107    <td width="15%" align="right" valign="top" class="summary">
108      <span class="summary-type">&nbsp;</span>
109    </td><td class="summary">
110        <a name="out_file"></a><span class="summary-name">out_file</span> = <code title="'midiout/transposed.mid'">'midiout/transposed.mid'</code>
111    </td>
112  </tr>
113<tr>
114    <td width="15%" align="right" valign="top" class="summary">
115      <span class="summary-type">&nbsp;</span>
116    </td><td class="summary">
117        <a name="midi_out"></a><span class="summary-name">midi_out</span> = <code title="Transposer(out_file)">Transposer(out_file)</code>
118    </td>
119  </tr>
120<tr>
121    <td width="15%" align="right" valign="top" class="summary">
122      <span class="summary-type">&nbsp;</span>
123    </td><td class="summary">
124        <a name="in_file"></a><span class="summary-name">in_file</span> = <code title="'test/midifiles/tennessee_waltz.mid'">'test/midifiles/tennessee_waltz.mid'</code>
125    </td>
126  </tr>
127<tr>
128    <td width="15%" align="right" valign="top" class="summary">
129      <span class="summary-type">&nbsp;</span>
130    </td><td class="summary">
131        <a name="midi_in"></a><span class="summary-name">midi_in</span> = <code title="MidiInFile(midi_out, in_file)">MidiInFile(midi_out, in_file)</code>
132    </td>
133  </tr>
134</table>
135<!-- ==================== NAVIGATION BAR ==================== -->
136<table class="navbar" border="0" width="100%" cellpadding="0"
137       bgcolor="#a0c0ff" cellspacing="0">
138  <tr valign="middle">
139
140  <!-- Tree link -->
141      <th>&nbsp;&nbsp;&nbsp;<a
142        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
143
144  <!-- Index link -->
145      <th>&nbsp;&nbsp;&nbsp;<a
146        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
147
148  <!-- Help link -->
149      <th>&nbsp;&nbsp;&nbsp;<a
150        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
151
152  <!-- Project homepage -->
153      <th class="navbar" align="right" width="100%">
154        <table border="0" cellpadding="0" cellspacing="0">
155          <tr><th class="navbar" align="center"
156            ><a class="navbar" target="_top" href="http://code.google.com/p/echo-nest-remix/">Project Homepage</a></th>
157          </tr></table></th>
158  </tr>
159</table>
160<table border="0" cellpadding="0" cellspacing="0" width="100%%">
161  <tr>
162    <td align="left" class="footer">
163    Generated by Epydoc 3.0.1 on Wed Sep  1 16:08:57 2010
164    </td>
165    <td align="right" class="footer">
166      <a target="mainFrame" href="http://epydoc.sourceforge.net"
167        >http://epydoc.sourceforge.net</a>
168    </td>
169  </tr>
170</table>
171
172<script type="text/javascript">
173  <!--
174  // Private objects are initially displayed (because if
175  // javascript is turned off then we want them to be
176  // visible); but by default, we want to hide them.  So hide
177  // them unless we have a cookie that says to show them.
178  checkCookie();
179  // -->
180</script>
181</body>
182</html>