[PD] smallest number from a stream of numbers
enrique at netpd.org
Tue Jul 8 22:47:30 CEST 2008
Frank Barknecht wrote:
> 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]
> [list-lastx 30]
Or how about
[trigger a a]
with a handmade counter that resets moses every n'th time.
More information about the Pd-list