[PD] number stream in ascending order

Lazzaro Nicolò Ciccolella ciccolix at tiscalinet.it
Sun Jul 31 09:23:54 CEST 2011


Il 31/07/11 02.46, João Pais ha scritto:
> I usually use something like
>
> [t f f]
> \ /
> \/
> /\
> [- ]
>
> , maybe resetting the [-] to 0 when the machine starts
>
hi,
If you want to put a toggle->spigot at the end of the flow is perhaps 
better to use the 'greater than' instead of '-' so you get the values ​​ 
0 and 1

t f f]
\ /
\/
/\
[> ]
|
[x]
__
Lazzaro

>> oh yes, thanks Jaime...
>> obvious,
>>
>> I think I need more coffee today... :)
>>
>> M
>>
>>
>>
>> On Sat, Jul 30, 2011 at 12:54 PM, Jaime Oliver 
>> <jaime.oliver2 at gmail.com>wrote:
>>
>>> just subtract the previous value from the current and if it is
>>> positive it is in ascending order ??
>>> you could even smooth for slight irregularities.
>>>
>>> Is this what you're talking about?
>>>
>>> J
>>>
>>> On Sat, Jul 30, 2011 at 7:46 AM, Marco Donnarumma <devel at thesaddj.com>
>>> wrote:
>>> > Hi folks,
>>> > I have a stream of floats between 0 and 1.
>>> > The stream goes in a linear fashion back and forth, but I want Pd to
>>> > understand when the stream is in ascending order.
>>> >
>>> > Ideas?
>>> > Hope this is clear enough :)
>>> > searching the archive didn't bring up anything useful so far.
>>> > thanks,
>>> > M
>>> >
>>> >
>>> >
>>> > --
>>> > Marco Donnarumma
>>> > Independent New Media and Sonic Arts Professional, Performer, 
>>> Instructor
>>> > ACE, Sound Design MSc by Research (ongoing)
>>> > The University of Edinburgh, UK
>>> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> > Portfolio: http://marcodonnarumma.com
>>> > Lab: http://www.thesaddj.com | http://cntrl.sourceforge.net |
>>> http://www.flxer.net
>>> > Event: http://www.liveperformersmeeting.net
>>> >
>>> > _______________________________________________
>>> > Pd-list at iem.at mailing list
>>> > UNSUBSCRIBE and account-management ->
>>> > http://lists.puredata.info/listinfo/pd-list
>>> >
>>> >
>>>
>>>
>>>
>>> -- 
>>> Jaime E Oliver LR
>>>
>>> www.jaimeoliver.pe
>>>
>>> 858 750 0924 (cel)
>>> 858 202 1522 (home)
>>>
>>>
>>
>>
>
>




More information about the Pd-list mailing list