[PD] smallest number from a stream of numbers

Ben Carney bfcarney at gmail.com
Tue Jul 8 21:33:04 CEST 2008


oh shit.


there is a mapping/last_n object.


I thought you meant using the mapping object with my last 30 numbers.

argh

-

On Tue, Jul 8, 2008 at 2:31 PM, Ben Carney <bfcarney at gmail.com> wrote:

> hmm...
>
> I have to say I don't quite know what this [mapping] is. I tried the
> obvious (trying to create a [mapping] object). can I get a bit of a further
> explanation f what you mean, cyrille?
>
>
> thanks
>
>
> On Tue, Jul 8, 2008 at 1:58 PM, cyrille henry <cyrille.henry at la-kitchen.fr>
> 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]
>> |
>>
>> 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
>>>
>>
>
>
> --
>
> Ben C.




-- 

Ben C.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080708/942c30ef/attachment.htm>


More information about the Pd-list mailing list