[PD] number stream in ascending order

Frank Barknecht fbar at footils.org
Mon Aug 1 09:19:16 CEST 2011


On Sun, Jul 31, 2011 at 10:12:22PM +0100, Marco Donnarumma wrote:
> thanks guys, I ended up using [Bucket]
> is there another similar object?
> 
> M
> 
> 
> [t f f]
> |      \
> |        [Bucket 2]
> |         |      /
> |         [-    ]
> |         |
> |         [> 0]
> |         |
> [spigot]

That's the same as the idiom João showed before, except that it requires users
to install an external object. I'd recommend to use João's version, maybe
extended like this:

 [t f f f]
 |    \/
 |    /\
 |   [- ]
 |   |
 |   [> 0]
 |    \
 [spigot]
 |

Cião,
-- 
Frank

> 2011/7/31 Lazzaro Nicolò Ciccolella <ciccolix at tiscalinet.it>
> 
> > 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<http://www.liveperformersmeeting.net>
> >>>> >
> >>>> > ______________________________**_________________
> >>>> > Pd-list at iem.at mailing list
> >>>> > UNSUBSCRIBE and account-management ->
> >>>> > http://lists.puredata.info/**listinfo/pd-list<http://lists.puredata.info/listinfo/pd-list>
> >>>> >
> >>>> >
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Jaime E Oliver LR
> >>>>
> >>>> www.jaimeoliver.pe
> >>>>
> >>>> 858 750 0924 (cel)
> >>>> 858 202 1522 (home)
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >
> >
> 
> 
> -- 
> 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


-- 
 Frank Barknecht            Do You RjDj.me?          _ ______footils.org__



More information about the Pd-list mailing list