[PD] smallest number from a stream of numbers

cyrille henry cyrille.henry at la-kitchen.fr
Tue Jul 8 20:58:21 CEST 2008



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]
 |

c


> much thanks in advance,
> 
> 
> -- 
> 
> Ben C.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list