[PD] number stream in ascending order

João Pais jmmmpais at googlemail.com
Sun Jul 31 02:46:52 CEST 2011


I usually use something like

[t f f]
  \  /
   \/
   /\
  [- ]

, maybe resetting the [-] to 0 when the machine starts

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


-- 
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
Studio +49 30 69509190
jmmmpais at googlemail.com | skype: jmmmpjmmmp



More information about the Pd-list mailing list