PageRenderTime 37ms CodeModel.GetById 23ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 0ms

/apidocs/pyechonest.track.Track-class.html

http://echo-nest-remix.googlecode.com/
HTML | 312 lines | 272 code | 18 blank | 22 comment | 0 complexity | 577608ffc8cb2b7151caf0073fa780f6 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>pyechonest.track.Track</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="pyechonest-module.html">Package&nbsp;pyechonest</a> ::
 43        <a href="pyechonest.track-module.html">Module&nbsp;track</a> ::
 44        Class&nbsp;Track
 45      </span>
 46    </td>
 47    <td>
 48      <table cellpadding="0" cellspacing="0">
 49        <!-- hide/show private -->
 50        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
 51    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
 52        <tr><td align="right"><span class="options"
 53            >[<a href="frames.html" target="_top">frames</a
 54            >]&nbsp;|&nbsp;<a href="pyechonest.track.Track-class.html"
 55            target="_top">no&nbsp;frames</a>]</span></td></tr>
 56      </table>
 57    </td>
 58  </tr>
 59</table>
 60<!-- ==================== CLASS DESCRIPTION ==================== -->
 61<h1 class="epydoc">Class Track</h1><p class="nomargin-top"><span class="codelink"><a href="pyechonest.track-pysrc.html#Track">source&nbsp;code</a></span></p>
 62<center>
 63
 64</center>
 65<hr />
 66<p>Represents an audio analysis from The Echo Nest.</p>
 67<p>The track object will have the following properties:
 68analysis_channels       an int
 69analysis_sample_rate    a float
 70analyzer_version        ex. '3.01a'
 71artist                  ex. 'The Sea and Cake' or None
 72bars                    a list of dicts
 73beats                   a list of dicts
 74bitrate                 an int
 75duration                a float
 76end_of_fade_in          a float
 77id                      ex. 'TRTOBXJ1296BCDA33B'
 78key                     an int
 79key_confidence          a float
 80loudness                a float
 81md5                     ex. '17162ff555969cfed222e127837acd1a'
 82meta                    a dict of analyzer data
 83mode                    an int (0 or 1)
 84mode_confidence         a float
 85num_samples             an int
 86release                 the album name, or None
 87sample_md5              '4bf222fb6af22ba0226734bb978bac14'
 88samplerate              an int
 89sections                a list of dicts
 90segments                a list of dicts
 91start_of_fade_out       a float
 92status                  ex. 'complete'
 93tatums                  a list of dicts
 94tempo                   a flat
 95tempo_confidence        a float
 96title                   ex. 'Interiors' or None</p>
 97
 98<!-- ==================== INSTANCE METHODS ==================== -->
 99<a name="section-InstanceMethods"></a>
100<table class="summary" border="1" cellpadding="3"
101       cellspacing="0" width="100%" bgcolor="white">
102<tr bgcolor="#70b0f0" class="table-header">
103  <td colspan="2" class="table-header">
104    <table border="0" cellpadding="0" cellspacing="0" width="100%">
105      <tr valign="top">
106        <td align="left"><span class="table-header">Instance Methods</span></td>
107        <td align="right" valign="top"
108         ><span class="options">[<a href="#section-InstanceMethods"
109         class="privatelink" onclick="toggle_private();"
110         >hide private</a>]</span></td>
111      </tr>
112    </table>
113  </td>
114</tr>
115<tr>
116    <td width="15%" align="right" valign="top" class="summary">
117      <span class="summary-type">&nbsp;</span>
118    </td><td class="summary">
119      <table width="100%" cellpadding="0" cellspacing="0" border="0">
120        <tr>
121          <td><span class="summary-sig"><a href="pyechonest.track.Track-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
122      repr(x)</td>
123          <td align="right" valign="top">
124            <span class="codelink"><a href="pyechonest.track-pysrc.html#Track.__repr__">source&nbsp;code</a></span>
125            
126          </td>
127        </tr>
128      </table>
129      
130    </td>
131  </tr>
132<tr>
133    <td width="15%" align="right" valign="top" class="summary">
134      <span class="summary-type">&nbsp;</span>
135    </td><td class="summary">
136      <table width="100%" cellpadding="0" cellspacing="0" border="0">
137        <tr>
138          <td><span class="summary-sig"><a href="pyechonest.track.Track-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br />
139      str(x)</td>
140          <td align="right" valign="top">
141            <span class="codelink"><a href="pyechonest.track-pysrc.html#Track.__str__">source&nbsp;code</a></span>
142            
143          </td>
144        </tr>
145      </table>
146      
147    </td>
148  </tr>
149  <tr>
150    <td colspan="2" class="summary">
151    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyechonest.proxies.TrackProxy-class.html">proxies.TrackProxy</a></code></b>:
152      <code><a href="pyechonest.proxies.TrackProxy-class.html#__init__">__init__</a></code>
153      </p>
154    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pyechonest.proxies.GenericProxy-class.html">proxies.GenericProxy</a></code></b>:
155      <code><a href="pyechonest.proxies.GenericProxy-class.html#get_attribute">get_attribute</a></code>,
156      <code><a href="pyechonest.proxies.GenericProxy-class.html#post_attribute">post_attribute</a></code>
157      </p>
158    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
159      <code>__delattr__</code>,
160      <code>__format__</code>,
161      <code>__getattribute__</code>,
162      <code>__hash__</code>,
163      <code>__new__</code>,
164      <code>__reduce__</code>,
165      <code>__reduce_ex__</code>,
166      <code>__setattr__</code>,
167      <code>__sizeof__</code>,
168      <code>__subclasshook__</code>
169      </p>
170    </td>
171  </tr>
172</table>
173<!-- ==================== PROPERTIES ==================== -->
174<a name="section-Properties"></a>
175<table class="summary" border="1" cellpadding="3"
176       cellspacing="0" width="100%" bgcolor="white">
177<tr bgcolor="#70b0f0" class="table-header">
178  <td colspan="2" class="table-header">
179    <table border="0" cellpadding="0" cellspacing="0" width="100%">
180      <tr valign="top">
181        <td align="left"><span class="table-header">Properties</span></td>
182        <td align="right" valign="top"
183         ><span class="options">[<a href="#section-Properties"
184         class="privatelink" onclick="toggle_private();"
185         >hide private</a>]</span></td>
186      </tr>
187    </table>
188  </td>
189</tr>
190  <tr>
191    <td colspan="2" class="summary">
192    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
193      <code>__class__</code>
194      </p>
195    </td>
196  </tr>
197</table>
198<!-- ==================== METHOD DETAILS ==================== -->
199<a name="section-MethodDetails"></a>
200<table class="details" border="1" cellpadding="3"
201       cellspacing="0" width="100%" bgcolor="white">
202<tr bgcolor="#70b0f0" class="table-header">
203  <td colspan="2" class="table-header">
204    <table border="0" cellpadding="0" cellspacing="0" width="100%">
205      <tr valign="top">
206        <td align="left"><span class="table-header">Method Details</span></td>
207        <td align="right" valign="top"
208         ><span class="options">[<a href="#section-MethodDetails"
209         class="privatelink" onclick="toggle_private();"
210         >hide private</a>]</span></td>
211      </tr>
212    </table>
213  </td>
214</tr>
215</table>
216<a name="__repr__"></a>
217<div>
218<table class="details" border="1" cellpadding="3"
219       cellspacing="0" width="100%" bgcolor="white">
220<tr><td>
221  <table width="100%" cellpadding="0" cellspacing="0" border="0">
222  <tr valign="top"><td>
223  <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
224    <br /><em class="fname">(Representation operator)</em>
225  </h3>
226  </td><td align="right" valign="top"
227    ><span class="codelink"><a href="pyechonest.track-pysrc.html#Track.__repr__">source&nbsp;code</a></span>&nbsp;
228    </td>
229  </tr></table>
230  
231  repr(x)
232  <dl class="fields">
233    <dt>Overrides:
234        object.__repr__
235        <dd><em class="note">(inherited documentation)</em></dd>
236    </dt>
237  </dl>
238</td></tr></table>
239</div>
240<a name="__str__"></a>
241<div>
242<table class="details" border="1" cellpadding="3"
243       cellspacing="0" width="100%" bgcolor="white">
244<tr><td>
245  <table width="100%" cellpadding="0" cellspacing="0" border="0">
246  <tr valign="top"><td>
247  <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span>
248    <br /><em class="fname">(Informal representation operator)</em>
249  </h3>
250  </td><td align="right" valign="top"
251    ><span class="codelink"><a href="pyechonest.track-pysrc.html#Track.__str__">source&nbsp;code</a></span>&nbsp;
252    </td>
253  </tr></table>
254  
255  str(x)
256  <dl class="fields">
257    <dt>Overrides:
258        object.__str__
259        <dd><em class="note">(inherited documentation)</em></dd>
260    </dt>
261  </dl>
262</td></tr></table>
263</div>
264<br />
265<!-- ==================== NAVIGATION BAR ==================== -->
266<table class="navbar" border="0" width="100%" cellpadding="0"
267       bgcolor="#a0c0ff" cellspacing="0">
268  <tr valign="middle">
269
270  <!-- Tree link -->
271      <th>&nbsp;&nbsp;&nbsp;<a
272        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
273
274  <!-- Index link -->
275      <th>&nbsp;&nbsp;&nbsp;<a
276        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
277
278  <!-- Help link -->
279      <th>&nbsp;&nbsp;&nbsp;<a
280        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
281
282  <!-- Project homepage -->
283      <th class="navbar" align="right" width="100%">
284        <table border="0" cellpadding="0" cellspacing="0">
285          <tr><th class="navbar" align="center"
286            ><a class="navbar" target="_top" href="http://code.google.com/p/echo-nest-remix/">Project Homepage</a></th>
287          </tr></table></th>
288  </tr>
289</table>
290<table border="0" cellpadding="0" cellspacing="0" width="100%%">
291  <tr>
292    <td align="left" class="footer">
293    Generated by Epydoc 3.0.1 on Wed Sep  1 16:08:59 2010
294    </td>
295    <td align="right" class="footer">
296      <a target="mainFrame" href="http://epydoc.sourceforge.net"
297        >http://epydoc.sourceforge.net</a>
298    </td>
299  </tr>
300</table>
301
302<script type="text/javascript">
303  <!--
304  // Private objects are initially displayed (because if
305  // javascript is turned off then we want them to be
306  // visible); but by default, we want to hide them.  So hide
307  // them unless we have a cookie that says to show them.
308  checkCookie();
309  // -->
310</script>
311</body>
312</html>