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: est_AT_hyperreal.org
Date: su joulu  12 1999 - 00:29:29 EST


Roger Larsson discourseth:
> 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

Only my master plan of making a fool of myself on the list to help
give it a relaxed tone and encourage others to post. :D

Hmm..or *maybe* I was planning on moving to a geometric mean..that
would save my lambdas!

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

Woohoo! Functional programming in da house!

E


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