[PD] d-median (a running median) + d-for (a for loop)

2008-10-16 Thread Damian Stewart
hey list, here's [d-median], a 'running median' abstraction i put together today. it's pure-Pd, for your PDa/Palmpilot/iPhoning pleasure. it outlets a running median of the last n values sent to its inlet. internally, it maintains two arrays - one a sorted list of values, the other a table o

Re: [PD] d-median (a running median) + d-for (a for loop)

2008-10-16 Thread cyrille henry
hello, i did not try it yet, but it look good. since it's pure pd, unlike the median_n from the mapping stuff, do you mind if i use your version for the mapping lib? Cyrille Damian Stewart a écrit : > hey list, > > here's [d-median], a 'running median' abstraction i put together today. > it

Re: [PD] d-median (a running median) + d-for (a for loop)

2008-10-17 Thread Damian Stewart
cyrille henry wrote: > hello, > > i did not try it yet, but it look good. > since it's pure pd, unlike the median_n from the mapping stuff, do you > mind if i use your version for the mapping lib? > Cyrille sure, go for it -- damian stewart | skype: damiansnz | [EMAIL PROTECTED] frey | live ar

Re: [PD] d-median (a running median) + d-for (a for loop)

2008-10-17 Thread Frank Barknecht
Hallo, Damian Stewart hat gesagt: // Damian Stewart wrote: > here's [d-median], a 'running median' abstraction i put together today. > it's pure-Pd, for your PDa/Palmpilot/iPhoning pleasure. it outlets a > running median of the last n values sent to its inlet. > > internally, it maintains two a

Re: [PD] d-median (a running median) + d-for (a for loop)

2008-10-17 Thread Damian Stewart
Frank Barknecht wrote: > But I had a *really* hard time to read your patch. Attached is a > slightly cleaned up version with some added local sends and many cord > crossings removed. Still not perfect, but now I can see more of all > these objects. ;) heh :-) ... actually looking at that cleaned

Re: [PD] d-median (a running median) + d-for (a for loop)

2008-10-17 Thread Frank Barknecht
Hallo, Damian Stewart hat gesagt: // Damian Stewart wrote: > personally i find sends and receives to be a mixed blessing. on the one > hand they get rid of unnecessary patch cords, but on the other hand they > make it much less clear to see what's going on with the execution order. > (what happ

Re: [PD] d-median (a running median) + d-for (a for loop)

2008-10-17 Thread Damian Stewart
Frank Barknecht wrote: > Normally I like it if there are lots of verbosely named subpatches when > dealing with a complicated algorithm, i.e.: > > [pd initialize] > | > [pd increment-timetag] > | > [pd send-new-x-value] > | > [pd loop-backwards-through-arrays] > | > [pd check-for-old-val

Re: [PD] d-median (a running median) + d-for (a for loop)

2008-10-17 Thread Jamie Bullock
Hi Damian, On Thu, 2008-10-16 at 01:43 +0200, Damian Stewart wrote: > hey list, > > here's [d-median], a 'running median' abstraction i put together today. > it's pure-Pd, for your PDa/Palmpilot/iPhoning pleasure. it outlets a > running median of the last n values sent to its inlet. That's re

Re: [PD] d-median (a running median) + d-for (a for loop)

2008-10-17 Thread Roman Haefeli
On Fri, 2008-10-17 at 17:04 +0200, Damian Stewart wrote: > Frank Barknecht wrote: > > > But I had a *really* hard time to read your patch. Attached is a > > slightly cleaned up version with some added local sends and many cord > > crossings removed. Still not perfect, but now I can see more of all

Re: [PD] d-median (a running median) + d-for (a for loop)

2008-10-17 Thread Roman Haefeli
On Fri, 2008-10-17 at 17:59 +0200, Damian Stewart wrote: > Frank Barknecht wrote: > > > Normally I like it if there are lots of verbosely named subpatches when > > dealing with a complicated algorithm, i.e.: > > > > [pd initialize] > > | > > [pd increment-timetag] > > | > > [pd send-new-x-va

Re: [PD] d-median (a running median) + d-for (a for loop)

2008-10-17 Thread Frank Barknecht
Hallo, Damian Stewart hat gesagt: // Damian Stewart wrote: > Frank Barknecht wrote: > > > Normally I like it if there are lots of verbosely named subpatches when > > dealing with a complicated algorithm, i.e.: > > > > [pd initialize] > > | > > [pd increment-timetag] > > | > > [pd send-new-x

Re: [PD] d-median (a running median) + d-for (a for loop)

2008-10-18 Thread Damian Stewart
Jamie Bullock wrote: > That's really useful. Where can I get the rest of dlib, I searched your > website, but I couldn't find anything? it's not officially released yet. i'm going through at the moment and gradually documenting and adding help patches for everything. when that's done i'll post i

Re: [PD] d-median (a running median) + d-for (a for loop)

2008-10-19 Thread Frank Barknecht
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote: > But I had a *really* hard time to read your patch. Attached is a > slightly cleaned up version with some added local sends and many cord > crossings removed. Still not perfect, but now I can see more of all > these objects. ;) I made