Re: [linux-audio-dev] tempo estimator! (lispy version)

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] tempo estimator! (lispy version)
From: Roger Larsson (roger.larsson_AT_norran.net)
Date: la joulu  11 1999 - 17:50:43 EST


est_AT_hyperreal.org wrote:
>

>
> # compute sum-of-differences
> sod = reduce(lambda x, y: x + y,
> map(lambda x, y: x - y, times[1:], times[:-1]))
>

Hmm...

sod = last(times) - head(times) ?

or??? Am I missing something

/RogerL

PS
  I am not familiar with python syntax and semantics...
  But ML and Erlang are among my favourite languages!

  See
    http://www.erlang.org/
DS

--
Home page:
  http://www.norran.net/nra02596/


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : pe maalis 10 2000 - 07:23:26 EST