Hello,
I need an object that will output a sequence of numbers [that I would program], one at a time, every time i send it a bang. I need this to loop.
So if my set of numbers are [2, 5, 7] it would go...
"bang" - 2, "bang" - 5, "bang" - 7, "bang" - 2... etc.
Is there such an object? If not, what could I use to make this operation?
Thank you for your help, Sebastian
p.s. Sorry if this is a simple operation, i'm sort of new to the pd environment.
Follow the examples under the [list] object help tree until you find an example called "list sequencer".
On Mon, 12 Sep 2011 13:48:44 -0500 Sebastian Valenzuela svalenzuelamusic@gmail.com wrote:
Hello,
I need an object that will output a sequence of numbers [that I would program], one at a time, every time i send it a bang. I need this to loop.
So if my set of numbers are [2, 5, 7] it would go...
"bang" - 2, "bang" - 5, "bang" - 7, "bang" - 2... etc.
Is there such an object? If not, what could I use to make this operation?
Thank you for your help, Sebastian
p.s. Sorry if this is a simple operation, i'm sort of new to the pd environment.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
----- Original Message -----
From: Andy Farnell padawan12@obiwannabe.co.uk To: pd-list@iem.at Cc: Sent: Monday, September 12, 2011 3:03 PM Subject: Re: [PD] Output numbers consecutively, one at a time in PD
Follow the examples under the [list] object help tree until you find an example called "list sequencer".
Or you can use [list-drip] from the list-abs. It's easier to write and more efficient for large lists:
[bang( | [list append 2 5 7] | [list-drip] | [print]
On Mon, 12 Sep 2011 13:48:44 -0500 Sebastian Valenzuela svalenzuelamusic@gmail.com wrote:
Hello,
I need an object that will output a sequence of numbers [that I would program], one at a time, every time i send it a bang. I need this to loop.
So if my set of numbers are [2, 5, 7] it would go...
"bang" - 2, "bang" - 5, "bang" - 7,
"bang" - 2... etc.
Is there such an object? If not, what could I use to make this operation?
Thank you for your help, Sebastian
p.s. Sorry if this is a simple operation, i'm sort of new to the pd
environment.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
-- Andy Farnell padawan12@obiwannabe.co.uk
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thank you for the responses, Andy and Jonathan. But I am looking for something that will output THE FIRST number whenever I hit "bang"... then the NEXT number when i hit bang a second time (and so on). So there is no steady, timed rate (as with the list sequencers) of number output, and I don't want to output all my numbers out right away (as with the list-drip object).
-Sebastian
On Mon, Sep 12, 2011 at 2:38 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
----- Original Message -----
From: Andy Farnell padawan12@obiwannabe.co.uk To: pd-list@iem.at Cc: Sent: Monday, September 12, 2011 3:03 PM Subject: Re: [PD] Output numbers consecutively, one at a time in PD
Follow the examples under the [list] object help tree until you find an example called "list sequencer".
Or you can use [list-drip] from the list-abs. It's easier to write and more efficient for large lists:
[bang( | [list append 2 5 7] | [list-drip] | [print]
On Mon, 12 Sep 2011 13:48:44 -0500 Sebastian Valenzuela svalenzuelamusic@gmail.com wrote:
Hello,
I need an object that will output a sequence of numbers [that I would program], one at a time, every time i send it a bang. I need this to loop.
So if my set of numbers are [2, 5, 7] it would go...
"bang" - 2, "bang" - 5, "bang" - 7,
"bang" - 2... etc.
Is there such an object? If not, what could I use to make this operation?
Thank you for your help, Sebastian
p.s. Sorry if this is a simple operation, i'm sort of new to the pd
environment.
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
-- Andy Farnell padawan12@obiwannabe.co.uk
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Mon, 12 Sep 2011, Sebastian Valenzuela wrote:
Thank you for the responses, Andy and Jonathan. But I am looking for something that will output THE FIRST number whenever I hit "bang"... then the NEXT number when i hit bang a second time (and so on). So there is no steady, timed rate (as with the list sequencers) of number output, and I don't want to output all my numbers out right away (as with the list-drip object).
Try storing the list in a [table] and using [tabread], if you only have numbers.
If you want symbols, you'll need a less efficient solution.
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC