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
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@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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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@gmail.comwrote:
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@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 |
Event: http://www.liveperformersmeeting.net
Pd-list@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)
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@gmail.comwrote: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@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 |
Event: http://www.liveperformersmeeting.net
Pd-list@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)
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@gmail.comwrote:
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@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 |
Event: http://www.liveperformersmeeting.net
Pd-list@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)
thanks guys, I ended up using [Bucket] is there another similar object?
M
[t f f]
|
| [Bucket 2]
| | /
| [- ]
| |
| [> 0]
| |
[spigot]
2011/7/31 Lazzaro Nicolò Ciccolella ciccolix@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] __ Lazzarooh 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@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@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 |
Event: http://www.**liveperformersmeeting.nethttp://www.liveperformersmeeting.net
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/**listinfo/pd-listhttp://lists.puredata.info/listinfo/pd-list
-- Jaime E Oliver LR
www.jaimeoliver.pe
858 750 0924 (cel) 858 202 1522 (home)
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]
|
Frank
2011/7/31 Lazzaro Nicolò Ciccolella ciccolix@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] __ Lazzarooh 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@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@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 |
Event: http://www.**liveperformersmeeting.nethttp://www.liveperformersmeeting.net
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/**listinfo/pd-listhttp://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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list