PageRenderTime 57ms CodeModel.GetById 22ms app.highlight 25ms RepoModel.GetById 1ms app.codeStats 1ms

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

http://echo-nest-remix.googlecode.com/
HTML | 236 lines | 193 code | 23 blank | 20 comment | 0 complexity | 3e832048c5ab1d701df58682817fbd14 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.RawOutstreamFile.RawOutstreamFile</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.RawOutstreamFile-module.html">Module&nbsp;RawOutstreamFile</a> ::
 46        Class&nbsp;RawOutstreamFile
 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.RawOutstreamFile.RawOutstreamFile-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 RawOutstreamFile</h1><p class="nomargin-top"><span class="codelink"><a href="echonest.support.midi.RawOutstreamFile-pysrc.html#RawOutstreamFile">source&nbsp;code</a></span></p>
 64Writes a midi file to disk.
 65
 66<!-- ==================== INSTANCE METHODS ==================== -->
 67<a name="section-InstanceMethods"></a>
 68<table class="summary" border="1" cellpadding="3"
 69       cellspacing="0" width="100%" bgcolor="white">
 70<tr bgcolor="#70b0f0" class="table-header">
 71  <td colspan="2" class="table-header">
 72    <table border="0" cellpadding="0" cellspacing="0" width="100%">
 73      <tr valign="top">
 74        <td align="left"><span class="table-header">Instance Methods</span></td>
 75        <td align="right" valign="top"
 76         ><span class="options">[<a href="#section-InstanceMethods"
 77         class="privatelink" onclick="toggle_private();"
 78         >hide private</a>]</span></td>
 79      </tr>
 80    </table>
 81  </td>
 82</tr>
 83<tr>
 84    <td width="15%" align="right" valign="top" class="summary">
 85      <span class="summary-type">&nbsp;</span>
 86    </td><td class="summary">
 87      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 88        <tr>
 89          <td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>,
 90        <span class="summary-sig-arg">outfile</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span></td>
 91          <td align="right" valign="top">
 92            <span class="codelink"><a href="echonest.support.midi.RawOutstreamFile-pysrc.html#RawOutstreamFile.__init__">source&nbsp;code</a></span>
 93            
 94          </td>
 95        </tr>
 96      </table>
 97      
 98    </td>
 99  </tr>
100<tr>
101    <td width="15%" align="right" valign="top" class="summary">
102      <span class="summary-type">&nbsp;</span>
103    </td><td class="summary">
104      <table width="100%" cellpadding="0" cellspacing="0" border="0">
105        <tr>
106          <td><span class="summary-sig"><a name="writeSlice"></a><span class="summary-sig-name">writeSlice</span>(<span class="summary-sig-arg">self</span>,
107        <span class="summary-sig-arg">str_slice</span>)</span><br />
108      Writes the next text slice to the raw data</td>
109          <td align="right" valign="top">
110            <span class="codelink"><a href="echonest.support.midi.RawOutstreamFile-pysrc.html#RawOutstreamFile.writeSlice">source&nbsp;code</a></span>
111            
112          </td>
113        </tr>
114      </table>
115      
116    </td>
117  </tr>
118<tr>
119    <td width="15%" align="right" valign="top" class="summary">
120      <span class="summary-type">&nbsp;</span>
121    </td><td class="summary">
122      <table width="100%" cellpadding="0" cellspacing="0" border="0">
123        <tr>
124          <td><span class="summary-sig"><a name="writeBew"></a><span class="summary-sig-name">writeBew</span>(<span class="summary-sig-arg">self</span>,
125        <span class="summary-sig-arg">value</span>,
126        <span class="summary-sig-arg">length</span>=<span class="summary-sig-default">1</span>)</span><br />
127      Writes a value to the file as big endian word</td>
128          <td align="right" valign="top">
129            <span class="codelink"><a href="echonest.support.midi.RawOutstreamFile-pysrc.html#RawOutstreamFile.writeBew">source&nbsp;code</a></span>
130            
131          </td>
132        </tr>
133      </table>
134      
135    </td>
136  </tr>
137<tr>
138    <td width="15%" align="right" valign="top" class="summary">
139      <span class="summary-type">&nbsp;</span>
140    </td><td class="summary">
141      <table width="100%" cellpadding="0" cellspacing="0" border="0">
142        <tr>
143          <td><span class="summary-sig"><a name="writeVarLen"></a><span class="summary-sig-name">writeVarLen</span>(<span class="summary-sig-arg">self</span>,
144        <span class="summary-sig-arg">value</span>)</span><br />
145      Writes a variable length word to the file</td>
146          <td align="right" valign="top">
147            <span class="codelink"><a href="echonest.support.midi.RawOutstreamFile-pysrc.html#RawOutstreamFile.writeVarLen">source&nbsp;code</a></span>
148            
149          </td>
150        </tr>
151      </table>
152      
153    </td>
154  </tr>
155<tr>
156    <td width="15%" align="right" valign="top" class="summary">
157      <span class="summary-type">&nbsp;</span>
158    </td><td class="summary">
159      <table width="100%" cellpadding="0" cellspacing="0" border="0">
160        <tr>
161          <td><span class="summary-sig"><a name="write"></a><span class="summary-sig-name">write</span>(<span class="summary-sig-arg">self</span>)</span><br />
162      Writes to disc</td>
163          <td align="right" valign="top">
164            <span class="codelink"><a href="echonest.support.midi.RawOutstreamFile-pysrc.html#RawOutstreamFile.write">source&nbsp;code</a></span>
165            
166          </td>
167        </tr>
168      </table>
169      
170    </td>
171  </tr>
172<tr>
173    <td width="15%" align="right" valign="top" class="summary">
174      <span class="summary-type">&nbsp;</span>
175    </td><td class="summary">
176      <table width="100%" cellpadding="0" cellspacing="0" border="0">
177        <tr>
178          <td><span class="summary-sig"><a name="getvalue"></a><span class="summary-sig-name">getvalue</span>(<span class="summary-sig-arg">self</span>)</span></td>
179          <td align="right" valign="top">
180            <span class="codelink"><a href="echonest.support.midi.RawOutstreamFile-pysrc.html#RawOutstreamFile.getvalue">source&nbsp;code</a></span>
181            
182          </td>
183        </tr>
184      </table>
185      
186    </td>
187  </tr>
188</table>
189<!-- ==================== NAVIGATION BAR ==================== -->
190<table class="navbar" border="0" width="100%" cellpadding="0"
191       bgcolor="#a0c0ff" cellspacing="0">
192  <tr valign="middle">
193
194  <!-- Tree link -->
195      <th>&nbsp;&nbsp;&nbsp;<a
196        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
197
198  <!-- Index link -->
199      <th>&nbsp;&nbsp;&nbsp;<a
200        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
201
202  <!-- Help link -->
203      <th>&nbsp;&nbsp;&nbsp;<a
204        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
205
206  <!-- Project homepage -->
207      <th class="navbar" align="right" width="100%">
208        <table border="0" cellpadding="0" cellspacing="0">
209          <tr><th class="navbar" align="center"
210            ><a class="navbar" target="_top" href="http://code.google.com/p/echo-nest-remix/">Project Homepage</a></th>
211          </tr></table></th>
212  </tr>
213</table>
214<table border="0" cellpadding="0" cellspacing="0" width="100%%">
215  <tr>
216    <td align="left" class="footer">
217    Generated by Epydoc 3.0.1 on Wed Sep  1 16:08:59 2010
218    </td>
219    <td align="right" class="footer">
220      <a target="mainFrame" href="http://epydoc.sourceforge.net"
221        >http://epydoc.sourceforge.net</a>
222    </td>
223  </tr>
224</table>
225
226<script type="text/javascript">
227  <!--
228  // Private objects are initially displayed (because if
229  // javascript is turned off then we want them to be
230  // visible); but by default, we want to hide them.  So hide
231  // them unless we have a cookie that says to show them.
232  checkCookie();
233  // -->
234</script>
235</body>
236</html>