PageRenderTime 675ms CodeModel.GetById 222ms app.highlight 112ms RepoModel.GetById 149ms app.codeStats 0ms

/apidocs/echonest.selection-module.html

http://echo-nest-remix.googlecode.com/
HTML | 584 lines | 512 code | 50 blank | 22 comment | 0 complexity | 32d6dc44267093771d70d3ecec425092 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.selection</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        Module&nbsp;selection
 44      </span>
 45    </td>
 46    <td>
 47      <table cellpadding="0" cellspacing="0">
 48        <!-- hide/show private -->
 49        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
 50    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
 51        <tr><td align="right"><span class="options"
 52            >[<a href="frames.html" target="_top">frames</a
 53            >]&nbsp;|&nbsp;<a href="echonest.selection-module.html"
 54            target="_top">no&nbsp;frames</a>]</span></td></tr>
 55      </table>
 56    </td>
 57  </tr>
 58</table>
 59<!-- ==================== MODULE DESCRIPTION ==================== -->
 60<h1 class="epydoc">Module selection</h1><p class="nomargin-top"><span class="codelink"><a href="echonest.selection-pysrc.html">source&nbsp;code</a></span></p>
 61<p>Selection filters as utilities for <a href="echonest.audio-module.html" class="link">echonest.audio</a>.</p>
 62<p>For convenience, intended to be imported as:</p>
 63<pre class="rst-literal-block">
 64from audio.selection import *
 65</pre>
 66<p>The functions in this module each return <em>another</em> function that takes
 67one argument, an <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>, and returns an <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> or <code class="link">None</code>.</p>
 68<p>By convention, all of these functions are named to be verb phrases that
 69agree with a plural noun in a restrictive clause introduced by <code class="link">that</code>,
 70as in:</p>
 71<pre class="rst-literal-block">
 72analysis.segments.that(fall_on_the(1))
 73</pre>
 74
 75<!-- ==================== FUNCTIONS ==================== -->
 76<a name="section-Functions"></a>
 77<table class="summary" border="1" cellpadding="3"
 78       cellspacing="0" width="100%" bgcolor="white">
 79<tr bgcolor="#70b0f0" class="table-header">
 80  <td colspan="2" class="table-header">
 81    <table border="0" cellpadding="0" cellspacing="0" width="100%">
 82      <tr valign="top">
 83        <td align="left"><span class="table-header">Functions</span></td>
 84        <td align="right" valign="top"
 85         ><span class="options">[<a href="#section-Functions"
 86         class="privatelink" onclick="toggle_private();"
 87         >hide private</a>]</span></td>
 88      </tr>
 89    </table>
 90  </td>
 91</tr>
 92<tr>
 93    <td width="15%" align="right" valign="top" class="summary">
 94      <span class="summary-type">&nbsp;</span>
 95    </td><td class="summary">
 96      <table width="100%" cellpadding="0" cellspacing="0" border="0">
 97        <tr>
 98          <td><span class="summary-sig"><a name="are_contained_by_range"></a><span class="summary-sig-name">are_contained_by_range</span>(<span class="summary-sig-arg">start</span>,
 99        <span class="summary-sig-arg">end</span>)</span><br />
100      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> lies
101between the <em>start</em> and <em>end</em> parameters.</td>
102          <td align="right" valign="top">
103            <span class="codelink"><a href="echonest.selection-pysrc.html#are_contained_by_range">source&nbsp;code</a></span>
104            
105          </td>
106        </tr>
107      </table>
108      
109    </td>
110  </tr>
111<tr>
112    <td width="15%" align="right" valign="top" class="summary">
113      <span class="summary-type">&nbsp;</span>
114    </td><td class="summary">
115      <table width="100%" cellpadding="0" cellspacing="0" border="0">
116        <tr>
117          <td><span class="summary-sig"><a name="are_contained_by"></a><span class="summary-sig-name">are_contained_by</span>(<span class="summary-sig-arg">aq</span>)</span><br />
118      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> lies
119within the interval of the parameter <em>aq</em> <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>,</td>
120          <td align="right" valign="top">
121            <span class="codelink"><a href="echonest.selection-pysrc.html#are_contained_by">source&nbsp;code</a></span>
122            
123          </td>
124        </tr>
125      </table>
126      
127    </td>
128  </tr>
129<tr>
130    <td width="15%" align="right" valign="top" class="summary">
131      <span class="summary-type">&nbsp;</span>
132    </td><td class="summary">
133      <table width="100%" cellpadding="0" cellspacing="0" border="0">
134        <tr>
135          <td><span class="summary-sig"><a name="overlap_range"></a><span class="summary-sig-name">overlap_range</span>(<span class="summary-sig-arg">start</span>,
136        <span class="summary-sig-arg">end</span>)</span><br />
137      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> overlaps
138in any way the interval between the parameters <em>start</em> and <em>end</em>.</td>
139          <td align="right" valign="top">
140            <span class="codelink"><a href="echonest.selection-pysrc.html#overlap_range">source&nbsp;code</a></span>
141            
142          </td>
143        </tr>
144      </table>
145      
146    </td>
147  </tr>
148<tr>
149    <td width="15%" align="right" valign="top" class="summary">
150      <span class="summary-type">&nbsp;</span>
151    </td><td class="summary">
152      <table width="100%" cellpadding="0" cellspacing="0" border="0">
153        <tr>
154          <td><span class="summary-sig"><a name="overlap"></a><span class="summary-sig-name">overlap</span>(<span class="summary-sig-arg">aq</span>)</span><br />
155      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> overlaps
156in any way the parameter <em>aq</em> <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>.</td>
157          <td align="right" valign="top">
158            <span class="codelink"><a href="echonest.selection-pysrc.html#overlap">source&nbsp;code</a></span>
159            
160          </td>
161        </tr>
162      </table>
163      
164    </td>
165  </tr>
166<tr>
167    <td width="15%" align="right" valign="top" class="summary">
168      <span class="summary-type">&nbsp;</span>
169    </td><td class="summary">
170      <table width="100%" cellpadding="0" cellspacing="0" border="0">
171        <tr>
172          <td><span class="summary-sig"><a name="end_during_range"></a><span class="summary-sig-name">end_during_range</span>(<span class="summary-sig-arg">start</span>,
173        <span class="summary-sig-arg">end</span>)</span><br />
174      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>'s <code class="link">end</code>
175lies in the interval between the parameters <em>start</em> and <em>end</em>.</td>
176          <td align="right" valign="top">
177            <span class="codelink"><a href="echonest.selection-pysrc.html#end_during_range">source&nbsp;code</a></span>
178            
179          </td>
180        </tr>
181      </table>
182      
183    </td>
184  </tr>
185<tr>
186    <td width="15%" align="right" valign="top" class="summary">
187      <span class="summary-type">&nbsp;</span>
188    </td><td class="summary">
189      <table width="100%" cellpadding="0" cellspacing="0" border="0">
190        <tr>
191          <td><span class="summary-sig"><a name="end_during"></a><span class="summary-sig-name">end_during</span>(<span class="summary-sig-arg">aq</span>)</span><br />
192      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>'s <code class="link">end</code>
193lies anywhere during the parameter <em>aq</em> <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>.</td>
194          <td align="right" valign="top">
195            <span class="codelink"><a href="echonest.selection-pysrc.html#end_during">source&nbsp;code</a></span>
196            
197          </td>
198        </tr>
199      </table>
200      
201    </td>
202  </tr>
203<tr>
204    <td width="15%" align="right" valign="top" class="summary">
205      <span class="summary-type">&nbsp;</span>
206    </td><td class="summary">
207      <table width="100%" cellpadding="0" cellspacing="0" border="0">
208        <tr>
209          <td><span class="summary-sig"><a name="start_during_range"></a><span class="summary-sig-name">start_during_range</span>(<span class="summary-sig-arg">start</span>,
210        <span class="summary-sig-arg">end</span>)</span><br />
211      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>'s <code class="link">start</code>
212lies in the interval between the parameters <em>start</em> and <em>end</em>.</td>
213          <td align="right" valign="top">
214            <span class="codelink"><a href="echonest.selection-pysrc.html#start_during_range">source&nbsp;code</a></span>
215            
216          </td>
217        </tr>
218      </table>
219      
220    </td>
221  </tr>
222<tr>
223    <td width="15%" align="right" valign="top" class="summary">
224      <span class="summary-type">&nbsp;</span>
225    </td><td class="summary">
226      <table width="100%" cellpadding="0" cellspacing="0" border="0">
227        <tr>
228          <td><span class="summary-sig"><a name="start_during"></a><span class="summary-sig-name">start_during</span>(<span class="summary-sig-arg">aq</span>)</span><br />
229      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>'s <code class="link">start</code>
230lies anywhere during the parameter <em>aq</em> <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>.</td>
231          <td align="right" valign="top">
232            <span class="codelink"><a href="echonest.selection-pysrc.html#start_during">source&nbsp;code</a></span>
233            
234          </td>
235        </tr>
236      </table>
237      
238    </td>
239  </tr>
240<tr>
241    <td width="15%" align="right" valign="top" class="summary">
242      <span class="summary-type">&nbsp;</span>
243    </td><td class="summary">
244      <table width="100%" cellpadding="0" cellspacing="0" border="0">
245        <tr>
246          <td><span class="summary-sig"><a name="contain_point"></a><span class="summary-sig-name">contain_point</span>(<span class="summary-sig-arg">point</span>)</span><br />
247      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> contains
248the input parameter <em>point</em>, a time offset, in seconds.</td>
249          <td align="right" valign="top">
250            <span class="codelink"><a href="echonest.selection-pysrc.html#contain_point">source&nbsp;code</a></span>
251            
252          </td>
253        </tr>
254      </table>
255      
256    </td>
257  </tr>
258<tr>
259    <td width="15%" align="right" valign="top" class="summary">
260      <span class="summary-type">&nbsp;</span>
261    </td><td class="summary">
262      <table width="100%" cellpadding="0" cellspacing="0" border="0">
263        <tr>
264          <td><span class="summary-sig"><a name="have_pitch_max"></a><span class="summary-sig-name">have_pitch_max</span>(<span class="summary-sig-arg">pitchmax</span>)</span><br />
265      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> has
266a <code class="link">pitch</code>[<em>pitchmax</em>] such that it is greater or equal to all
267other values in its <code class="link">pitch</code> vector.</td>
268          <td align="right" valign="top">
269            <span class="codelink"><a href="echonest.selection-pysrc.html#have_pitch_max">source&nbsp;code</a></span>
270            
271          </td>
272        </tr>
273      </table>
274      
275    </td>
276  </tr>
277<tr>
278    <td width="15%" align="right" valign="top" class="summary">
279      <span class="summary-type">&nbsp;</span>
280    </td><td class="summary">
281      <table width="100%" cellpadding="0" cellspacing="0" border="0">
282        <tr>
283          <td><span class="summary-sig"><a name="have_pitches_max"></a><span class="summary-sig-name">have_pitches_max</span>(<span class="summary-sig-arg">pitchesmax</span>)</span><br />
284      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> has
285a maximum <code class="link">pitch</code>[<em>p</em>] such that it is greater or equal to all
286other values in its <code class="link">pitch</code> vector, and <em>p</em> is in <code class="link">List</code> parameter
287<em>pitchesmax</em>.</td>
288          <td align="right" valign="top">
289            <span class="codelink"><a href="echonest.selection-pysrc.html#have_pitches_max">source&nbsp;code</a></span>
290            
291          </td>
292        </tr>
293      </table>
294      
295    </td>
296  </tr>
297<tr>
298    <td width="15%" align="right" valign="top" class="summary">
299      <span class="summary-type">&nbsp;</span>
300    </td><td class="summary">
301      <table width="100%" cellpadding="0" cellspacing="0" border="0">
302        <tr>
303          <td><span class="summary-sig"><a href="echonest.selection-module.html#lie_immediately_before" class="summary-sig-name">lie_immediately_before</a>(<span class="summary-sig-arg">aq</span>)</span><br />
304      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> lies
305immediately before the parameter <em>aq</em> <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>.</td>
306          <td align="right" valign="top">
307            <span class="codelink"><a href="echonest.selection-pysrc.html#lie_immediately_before">source&nbsp;code</a></span>
308            
309          </td>
310        </tr>
311      </table>
312      
313    </td>
314  </tr>
315<tr>
316    <td width="15%" align="right" valign="top" class="summary">
317      <span class="summary-type">&nbsp;</span>
318    </td><td class="summary">
319      <table width="100%" cellpadding="0" cellspacing="0" border="0">
320        <tr>
321          <td><span class="summary-sig"><a href="echonest.selection-module.html#lie_immediately_after" class="summary-sig-name">lie_immediately_after</a>(<span class="summary-sig-arg">aq</span>)</span><br />
322      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> lies
323immediately after the parameter <em>aq</em> <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>.</td>
324          <td align="right" valign="top">
325            <span class="codelink"><a href="echonest.selection-pysrc.html#lie_immediately_after">source&nbsp;code</a></span>
326            
327          </td>
328        </tr>
329      </table>
330      
331    </td>
332  </tr>
333<tr>
334    <td width="15%" align="right" valign="top" class="summary">
335      <span class="summary-type">&nbsp;</span>
336    </td><td class="summary">
337      <table width="100%" cellpadding="0" cellspacing="0" border="0">
338        <tr>
339          <td><span class="summary-sig"><a name="fall_on_the"></a><span class="summary-sig-name">fall_on_the</span>(<span class="summary-sig-arg">beat_number</span>)</span><br />
340      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> has
341a (one-indexed) ordinality within its <code class="link">group</code>() that is equal
342to parameter <em>beat_number</em>.</td>
343          <td align="right" valign="top">
344            <span class="codelink"><a href="echonest.selection-pysrc.html#fall_on_the">source&nbsp;code</a></span>
345            
346          </td>
347        </tr>
348      </table>
349      
350    </td>
351  </tr>
352<tr>
353    <td width="15%" align="right" valign="top" class="summary">
354      <span class="summary-type">&nbsp;</span>
355    </td><td class="summary">
356      <table width="100%" cellpadding="0" cellspacing="0" border="0">
357        <tr>
358          <td><span class="summary-sig"><a name="overlap_ends_of"></a><span class="summary-sig-name">overlap_ends_of</span>(<span class="summary-sig-arg">aqs</span>)</span><br />
359      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> contains
360the <code class="link">end</code> of any of the parameter <em>aqs</em>, a <code class="link">List</code> of
361<a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>s.</td>
362          <td align="right" valign="top">
363            <span class="codelink"><a href="echonest.selection-pysrc.html#overlap_ends_of">source&nbsp;code</a></span>
364            
365          </td>
366        </tr>
367      </table>
368      
369    </td>
370  </tr>
371<tr>
372    <td width="15%" align="right" valign="top" class="summary">
373      <span class="summary-type">&nbsp;</span>
374    </td><td class="summary">
375      <table width="100%" cellpadding="0" cellspacing="0" border="0">
376        <tr>
377          <td><span class="summary-sig"><a name="overlap_starts_of"></a><span class="summary-sig-name">overlap_starts_of</span>(<span class="summary-sig-arg">aqs</span>)</span><br />
378      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> contains
379the <code class="link">start</code> of any of the parameter <em>aqs</em>, a <code class="link">List</code> of
380<a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>s.</td>
381          <td align="right" valign="top">
382            <span class="codelink"><a href="echonest.selection-pysrc.html#overlap_starts_of">source&nbsp;code</a></span>
383            
384          </td>
385        </tr>
386      </table>
387      
388    </td>
389  </tr>
390<tr>
391    <td width="15%" align="right" valign="top" class="summary">
392      <span class="summary-type">&nbsp;</span>
393    </td><td class="summary">
394      <table width="100%" cellpadding="0" cellspacing="0" border="0">
395        <tr>
396          <td><span class="summary-sig"><a name="start_during_any"></a><span class="summary-sig-name">start_during_any</span>(<span class="summary-sig-arg">aqs</span>)</span><br />
397      Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> has
398its <code class="link">start</code> lie in any of the parameter <em>aqs</em>, a <code class="link">List</code> of
399<a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>s.</td>
400          <td align="right" valign="top">
401            <span class="codelink"><a href="echonest.selection-pysrc.html#start_during_any">source&nbsp;code</a></span>
402            
403          </td>
404        </tr>
405      </table>
406      
407    </td>
408  </tr>
409<tr>
410    <td width="15%" align="right" valign="top" class="summary">
411      <span class="summary-type">&nbsp;</span>
412    </td><td class="summary">
413      <table width="100%" cellpadding="0" cellspacing="0" border="0">
414        <tr>
415          <td><span class="summary-sig"><a href="echonest.selection-module.html#all_of" class="summary-sig-name">all_of</a>(<span class="summary-sig-arg">x</span>,
416        <span class="summary-sig-arg">y</span>)</span><br />
417      Local helper function.</td>
418          <td align="right" valign="top">
419            <span class="codelink"><a href="echonest.selection-pysrc.html#all_of">source&nbsp;code</a></span>
420            
421          </td>
422        </tr>
423      </table>
424      
425    </td>
426  </tr>
427</table>
428<!-- ==================== VARIABLES ==================== -->
429<a name="section-Variables"></a>
430<table class="summary" border="1" cellpadding="3"
431       cellspacing="0" width="100%" bgcolor="white">
432<tr bgcolor="#70b0f0" class="table-header">
433  <td colspan="2" class="table-header">
434    <table border="0" cellpadding="0" cellspacing="0" width="100%">
435      <tr valign="top">
436        <td align="left"><span class="table-header">Variables</span></td>
437        <td align="right" valign="top"
438         ><span class="options">[<a href="#section-Variables"
439         class="privatelink" onclick="toggle_private();"
440         >hide private</a>]</span></td>
441      </tr>
442    </table>
443  </td>
444</tr>
445<tr>
446    <td width="15%" align="right" valign="top" class="summary">
447      <span class="summary-type">&nbsp;</span>
448    </td><td class="summary">
449        <a name="__package__"></a><span class="summary-name">__package__</span> = <code title="None">None</code><br />
450      hash(x)
451    </td>
452  </tr>
453</table>
454<!-- ==================== FUNCTION DETAILS ==================== -->
455<a name="section-FunctionDetails"></a>
456<table class="details" border="1" cellpadding="3"
457       cellspacing="0" width="100%" bgcolor="white">
458<tr bgcolor="#70b0f0" class="table-header">
459  <td colspan="2" class="table-header">
460    <table border="0" cellpadding="0" cellspacing="0" width="100%">
461      <tr valign="top">
462        <td align="left"><span class="table-header">Function Details</span></td>
463        <td align="right" valign="top"
464         ><span class="options">[<a href="#section-FunctionDetails"
465         class="privatelink" onclick="toggle_private();"
466         >hide private</a>]</span></td>
467      </tr>
468    </table>
469  </td>
470</tr>
471</table>
472<a name="lie_immediately_before"></a>
473<div>
474<table class="details" border="1" cellpadding="3"
475       cellspacing="0" width="100%" bgcolor="white">
476<tr><td>
477  <table width="100%" cellpadding="0" cellspacing="0" border="0">
478  <tr valign="top"><td>
479  <h3 class="epydoc"><span class="sig"><span class="sig-name">lie_immediately_before</span>(<span class="sig-arg">aq</span>)</span>
480  </h3>
481  </td><td align="right" valign="top"
482    ><span class="codelink"><a href="echonest.selection-pysrc.html#lie_immediately_before">source&nbsp;code</a></span>&nbsp;
483    </td>
484  </tr></table>
485  
486  Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> lies
487immediately before the parameter <em>aq</em> <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>. That is,
488if the tested <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>'s <code class="link">end</code> == <em>aq</em>.start .
489  <dl class="fields">
490  </dl>
491</td></tr></table>
492</div>
493<a name="lie_immediately_after"></a>
494<div>
495<table class="details" border="1" cellpadding="3"
496       cellspacing="0" width="100%" bgcolor="white">
497<tr><td>
498  <table width="100%" cellpadding="0" cellspacing="0" border="0">
499  <tr valign="top"><td>
500  <h3 class="epydoc"><span class="sig"><span class="sig-name">lie_immediately_after</span>(<span class="sig-arg">aq</span>)</span>
501  </h3>
502  </td><td align="right" valign="top"
503    ><span class="codelink"><a href="echonest.selection-pysrc.html#lie_immediately_after">source&nbsp;code</a></span>&nbsp;
504    </td>
505  </tr></table>
506  
507  Returns a function that tests if its input <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a> lies
508immediately after the parameter <em>aq</em> <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>. That is,
509if the tested <a href="echonest.audio.AudioQuantum-class.html" class="link">AudioQuantum</a>'s <code class="link">start</code> == <em>aq</em>.end .
510  <dl class="fields">
511  </dl>
512</td></tr></table>
513</div>
514<a name="all_of"></a>
515<div>
516<table class="details" border="1" cellpadding="3"
517       cellspacing="0" width="100%" bgcolor="white">
518<tr><td>
519  <table width="100%" cellpadding="0" cellspacing="0" border="0">
520  <tr valign="top"><td>
521  <h3 class="epydoc"><span class="sig"><span class="sig-name">all_of</span>(<span class="sig-arg">x</span>,
522        <span class="sig-arg">y</span>)</span>
523  </h3>
524  </td><td align="right" valign="top"
525    ><span class="codelink"><a href="echonest.selection-pysrc.html#all_of">source&nbsp;code</a></span>&nbsp;
526    </td>
527  </tr></table>
528  
529  Local helper function. Returns <code class="link">True</code> if everything is true in a
530<code class="link">reduce</code>(). It's only here because we can't rely on Python 2.5
531being present for <code class="link">all</code>().
532  <dl class="fields">
533  </dl>
534</td></tr></table>
535</div>
536<br />
537<!-- ==================== NAVIGATION BAR ==================== -->
538<table class="navbar" border="0" width="100%" cellpadding="0"
539       bgcolor="#a0c0ff" cellspacing="0">
540  <tr valign="middle">
541
542  <!-- Tree link -->
543      <th>&nbsp;&nbsp;&nbsp;<a
544        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
545
546  <!-- Index link -->
547      <th>&nbsp;&nbsp;&nbsp;<a
548        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
549
550  <!-- Help link -->
551      <th>&nbsp;&nbsp;&nbsp;<a
552        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
553
554  <!-- Project homepage -->
555      <th class="navbar" align="right" width="100%">
556        <table border="0" cellpadding="0" cellspacing="0">
557          <tr><th class="navbar" align="center"
558            ><a class="navbar" target="_top" href="http://code.google.com/p/echo-nest-remix/">Project Homepage</a></th>
559          </tr></table></th>
560  </tr>
561</table>
562<table border="0" cellpadding="0" cellspacing="0" width="100%%">
563  <tr>
564    <td align="left" class="footer">
565    Generated by Epydoc 3.0.1 on Wed Sep  1 16:08:57 2010
566    </td>
567    <td align="right" class="footer">
568      <a target="mainFrame" href="http://epydoc.sourceforge.net"
569        >http://epydoc.sourceforge.net</a>
570    </td>
571  </tr>
572</table>
573
574<script type="text/javascript">
575  <!--
576  // Private objects are initially displayed (because if
577  // javascript is turned off then we want them to be
578  // visible); but by default, we want to hide them.  So hide
579  // them unless we have a cookie that says to show them.
580  checkCookie();
581  // -->
582</script>
583</body>
584</html>