19 May 2000 sness   » (Journeyer)

code

Whew code is going really well again today, made a first test version of a simple band identification routine. Really simple, yet it works very well, almost as well as Bandleader does... I've put up a snapshot. The algorithm is from a small part of Bandleader, the algorithm there is:

% Function to find all local peaks in a vector. A local peak isdefined % as a value x(n) satisfying x(n-2) < x(n-1) < x(n) > x(n+1) > x(n+2), % and for which the peak amplitude is greater than twice the local mean, % where the local mean is taken over +/- m samples.

Latest blog entries     Older blog entries

New Advogato Features

FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!