[PD] smallest number from a stream of numbers

Frank Barknecht fbar at footils.org
Tue Jul 8 21:10:35 CEST 2008


Hallo,
cyrille henry hat gesagt: // cyrille henry wrote:

> Ben Carney a écrit :
> > Hello there list!
> > 
> > pretty simple question I think, but I'm a bit stumped.
> > 
> > I have a stream of numbers coming in from a flex sensor and I would love 
> > to be able to grab the lowest number from x amount of numbers, every 30 
> > numbers or so.
> > 
> > I looked through the [list minmax] example, but could not figure out how 
> > to make it do it "live".
> > 
> 
>  |
> [mapping/last_n 30]
>  |
> [list minmax]
>  |

Or 

 [list-lastx 30]
 |
 [list-minmax] 
 
if you only want to depend on [list]-abs.

Ciao
-- 
 Frank Barknecht                                     _ ______footils.org__




More information about the Pd-list mailing list