PageRenderTime 50ms CodeModel.GetById 13ms app.highlight 29ms RepoModel.GetById 1ms app.codeStats 0ms

/apidocs/echonest.support.midi.example_print_channel_0.Transposer-class.html

http://echo-nest-remix.googlecode.com/
HTML | 256 lines | 220 code | 15 blank | 21 comment | 0 complexity | 436f646fc28163f13010e1327b9c6478 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_channel_0.Transposer</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.example_print_channel_0-module.html">Module&nbsp;example_print_channel_0</a> ::
 46        Class&nbsp;Transposer
 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.example_print_channel_0.Transposer-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 Transposer</h1><p class="nomargin-top"><span class="codelink"><a href="echonest.support.midi.example_print_channel_0-pysrc.html#Transposer">source&nbsp;code</a></span></p>
 64<center>
 65
 66</center>
 67<hr />
 68Transposes all notes by 1 octave
 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.example_print_channel_0.Transposer-class.html#note_on" class="summary-sig-name">note_on</a>(<span class="summary-sig-arg">self</span>,
 94        <span class="summary-sig-arg">channel</span>=<span class="summary-sig-default">0</span>,
 95        <span class="summary-sig-arg">note</span>=<span class="summary-sig-default">0x40</span>,
 96        <span class="summary-sig-arg">velocity</span>=<span class="summary-sig-default">0x40</span>)</span><br />
 97      channel: 0-15
 98note, velocity: 0-127</td>
 99          <td align="right" valign="top">
100            <span class="codelink"><a href="echonest.support.midi.example_print_channel_0-pysrc.html#Transposer.note_on">source&nbsp;code</a></span>
101            
102          </td>
103        </tr>
104      </table>
105      
106    </td>
107  </tr>
108  <tr>
109    <td colspan="2" class="summary">
110    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html">MidiOutStream.MidiOutStream</a></code></b>:
111      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#__init__">__init__</a></code>,
112      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#abs_time">abs_time</a></code>,
113      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#active_sensing">active_sensing</a></code>,
114      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#aftertouch">aftertouch</a></code>,
115      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#channel_message">channel_message</a></code>,
116      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#channel_pressure">channel_pressure</a></code>,
117      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#continuous_controller">continuous_controller</a></code>,
118      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#copyright">copyright</a></code>,
119      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#cuepoint">cuepoint</a></code>,
120      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#end_of_track">end_of_track</a></code>,
121      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#eof">eof</a></code>,
122      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#get_current_track">get_current_track</a></code>,
123      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#get_run_stat">get_run_stat</a></code>,
124      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#header">header</a></code>,
125      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#instrument_name">instrument_name</a></code>,
126      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#key_signature">key_signature</a></code>,
127      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#lyric">lyric</a></code>,
128      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#marker">marker</a></code>,
129      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#meta_event">meta_event</a></code>,
130      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#midi_ch_prefix">midi_ch_prefix</a></code>,
131      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#midi_port">midi_port</a></code>,
132      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#midi_time_code">midi_time_code</a></code>,
133      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#note_off">note_off</a></code>,
134      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#patch_change">patch_change</a></code>,
135      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#pitch_bend">pitch_bend</a></code>,
136      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#rel_time">rel_time</a></code>,
137      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#reset_run_stat">reset_run_stat</a></code>,
138      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#reset_time">reset_time</a></code>,
139      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#sequence_name">sequence_name</a></code>,
140      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#sequence_number">sequence_number</a></code>,
141      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#sequencer_specific">sequencer_specific</a></code>,
142      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#set_current_track">set_current_track</a></code>,
143      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#set_run_stat">set_run_stat</a></code>,
144      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#smtp_offset">smtp_offset</a></code>,
145      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#song_continue">song_continue</a></code>,
146      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#song_position_pointer">song_position_pointer</a></code>,
147      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#song_select">song_select</a></code>,
148      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#song_start">song_start</a></code>,
149      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#song_stop">song_stop</a></code>,
150      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#start_of_track">start_of_track</a></code>,
151      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#system_exclusive">system_exclusive</a></code>,
152      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#system_reset">system_reset</a></code>,
153      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#tempo">tempo</a></code>,
154      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#text">text</a></code>,
155      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#time_signature">time_signature</a></code>,
156      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#timing_clock">timing_clock</a></code>,
157      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#tuning_request">tuning_request</a></code>,
158      <code><a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#update_time">update_time</a></code>
159      </p>
160    </td>
161  </tr>
162</table>
163<!-- ==================== METHOD DETAILS ==================== -->
164<a name="section-MethodDetails"></a>
165<table class="details" border="1" cellpadding="3"
166       cellspacing="0" width="100%" bgcolor="white">
167<tr bgcolor="#70b0f0" class="table-header">
168  <td colspan="2" class="table-header">
169    <table border="0" cellpadding="0" cellspacing="0" width="100%">
170      <tr valign="top">
171        <td align="left"><span class="table-header">Method Details</span></td>
172        <td align="right" valign="top"
173         ><span class="options">[<a href="#section-MethodDetails"
174         class="privatelink" onclick="toggle_private();"
175         >hide private</a>]</span></td>
176      </tr>
177    </table>
178  </td>
179</tr>
180</table>
181<a name="note_on"></a>
182<div>
183<table class="details" border="1" cellpadding="3"
184       cellspacing="0" width="100%" bgcolor="white">
185<tr><td>
186  <table width="100%" cellpadding="0" cellspacing="0" border="0">
187  <tr valign="top"><td>
188  <h3 class="epydoc"><span class="sig"><span class="sig-name">note_on</span>(<span class="sig-arg">self</span>,
189        <span class="sig-arg">channel</span>=<span class="sig-default">0</span>,
190        <span class="sig-arg">note</span>=<span class="sig-default">0x40</span>,
191        <span class="sig-arg">velocity</span>=<span class="sig-default">0x40</span>)</span>
192  </h3>
193  </td><td align="right" valign="top"
194    ><span class="codelink"><a href="echonest.support.midi.example_print_channel_0-pysrc.html#Transposer.note_on">source&nbsp;code</a></span>&nbsp;
195    </td>
196  </tr></table>
197  
198  channel: 0-15
199note, velocity: 0-127
200  <dl class="fields">
201    <dt>Overrides:
202        <a href="echonest.support.midi.MidiOutStream.MidiOutStream-class.html#note_on">MidiOutStream.MidiOutStream.note_on</a>
203        <dd><em class="note">(inherited documentation)</em></dd>
204    </dt>
205  </dl>
206</td></tr></table>
207</div>
208<br />
209<!-- ==================== NAVIGATION BAR ==================== -->
210<table class="navbar" border="0" width="100%" cellpadding="0"
211       bgcolor="#a0c0ff" cellspacing="0">
212  <tr valign="middle">
213
214  <!-- Tree link -->
215      <th>&nbsp;&nbsp;&nbsp;<a
216        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
217
218  <!-- Index link -->
219      <th>&nbsp;&nbsp;&nbsp;<a
220        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
221
222  <!-- Help link -->
223      <th>&nbsp;&nbsp;&nbsp;<a
224        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
225
226  <!-- Project homepage -->
227      <th class="navbar" align="right" width="100%">
228        <table border="0" cellpadding="0" cellspacing="0">
229          <tr><th class="navbar" align="center"
230            ><a class="navbar" target="_top" href="http://code.google.com/p/echo-nest-remix/">Project Homepage</a></th>
231          </tr></table></th>
232  </tr>
233</table>
234<table border="0" cellpadding="0" cellspacing="0" width="100%%">
235  <tr>
236    <td align="left" class="footer">
237    Generated by Epydoc 3.0.1 on Wed Sep  1 16:08:59 2010
238    </td>
239    <td align="right" class="footer">
240      <a target="mainFrame" href="http://epydoc.sourceforge.net"
241        >http://epydoc.sourceforge.net</a>
242    </td>
243  </tr>
244</table>
245
246<script type="text/javascript">
247  <!--
248  // Private objects are initially displayed (because if
249  // javascript is turned off then we want them to be
250  // visible); but by default, we want to hide them.  So hide
251  // them unless we have a cookie that says to show them.
252  checkCookie();
253  // -->
254</script>
255</body>
256</html>