Hello everybody I was trying to make a very very simple counter that counts to 2 and then resets. (just learning) I tried to do that with [route 1 2] objetct, so when it gets the number 2 it sends a bang to a message box containing "0" and starts all over. But it's not working, it just continues counting. I'm sending an attached picture of the patch.
I have two more questions:
that because the bang gui have it's bang message twin. 2) Is there a way to make the pd-extended looks like pd-vanilla, just the good old black and white? In black and white I can create tiny little pictures of my patches to attach in e-mails like this ;)
Bye Caio G. de Barros
Caio Barros wrote:
Hello everybody I was trying to make a very very simple counter that counts to 2 and then resets. (just learning) I tried to do that with [route 1 2] objetct, so when it gets the number 2 it sends a bang to a message box containing "0" and starts all over. But it's not working, it just continues counting. I'm sending an attached picture of the patch.
The multiple wires from the same outlet of the [+ 1] might not execute in the order you expect. Read this carefully:
http://crca.ucsd.edu/~msp/Pd_documentation/x2.htm#s3.2
So: use [trigger] (aka [t])
I have two more questions:
- Is there a non-gui object that works exactly like a toggle? I'm asking
that because the bang gui have it's bang message twin.
You can make one with two objects, [f] and [== 0]. It won't behave exactly like a toggle (it'd spit out error messages if you sent it messages to change its colour, etc)..
- Is there a way to make the pd-extended looks like pd-vanilla, just the
good old black and white? In black and white I can create tiny little pictures of my patches to attach in e-mails like this ;)
You can attach the .pd files, which lets people run the examples rather than just looking at them.
Hey Barros I've attached an example of a standard counter setup, and a more specific one for just two numbers. God Bless Andrew
Date: Sun, 26 Jul 2009 17:42:33 -0300 From: caio.barros@gmail.com To: pd-list@iem.at Subject: [PD] float counting reset not working
Hello everybody I was trying to make a very very simple counter that counts to 2 and then resets. (just learning) I tried to do that with [route 1 2] objetct, so when it gets the number 2 it sends a bang to a message box containing "0" and starts all over.
But it's not working, it just continues counting. I'm sending an attached picture of the patch.
I have two more questions:
Is there a non-gui object that works exactly like a toggle? I'm asking that because the bang gui have it's bang message twin.
Is there a way to make the pd-extended looks like pd-vanilla, just the good old black and white? In black and white I can create tiny little pictures of my patches to attach in e-mails like this ;)
Bye Caio G. de Barros
With Windows Live, you can organise, edit, and share your photos. http://clk.atdmt.com/UKM/go/134665338/direct/01/
Thanks for the very fast answers. I think the problem was the wires connections, like Claude said. And those example counters seems to do the trick. I'll send the patch next time, but I still want to, if possible, make it look like pd-vanilla just because it seems that in most texts about pd the exemples are given in that form.
Some more stuff about counters here:
http://en.flossmanuals.net/PureData/StepSequencer
with Pd-Extended even!!!!
D.
Caio Barros wrote:
Thanks for the very fast answers. I think the problem was the wires connections, like Claude said. And those example counters seems to do the trick. I'll send the patch next time, but I still want to, if possible, make it look like pd-vanilla just because it seems that in most texts about pd the exemples are given in that form.
I've attached a more general and standart approach using object [counter]
On Sun, Jul 26, 2009 at 5:42 PM, Caio Barros caio.barros@gmail.com wrote:
Hello everybody I was trying to make a very very simple counter that counts to 2 and then resets. (just learning) I tried to do that with [route 1 2] objetct, so when it gets the number 2 it sends a bang to a message box containing "0" and starts all over. But it's not working, it just continues counting. I'm sending an attached picture of the patch.
I have two more questions:
- Is there a non-gui object that works exactly like a toggle? I'm asking
that because the bang gui have it's bang message twin. 2) Is there a way to make the pd-extended looks like pd-vanilla, just the good old black and white? In black and white I can create tiny little pictures of my patches to attach in e-mails like this ;)
Bye Caio G. de Barros
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hallo, Vitor Calejuri hat gesagt: // Vitor Calejuri wrote:
I've attached a more general and standart approach using object [counter]
The problem is: The object [counter] is not standardized - there are many different versions of it in various external collections. So better use the real standard: [f ]x[+ 1]
Frank
i use [moses] instead of route and it works perfectly to me
On Mon, Jul 27, 2009 at 2:39 AM, Frank Barknechtfbar@footils.org wrote:
Hallo, Vitor Calejuri hat gesagt: // Vitor Calejuri wrote:
I've attached a more general and standart approach using object [counter]
The problem is: The object [counter] is not standardized - there are many different versions of it in various external collections. So better use the real standard: [f ]x[+ 1]
Ciao
Frank
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hi,
- Is there a way to make the pd-extended looks like pd-vanilla, just
the good old black and white? In black and white I can create tiny little pictures of my patches to attach in e-mails like this ;)
you can edit the colors in bin/pd.tk around line 150 you'll find # color scheme but if you want to attach something to your emails patches are better than pictures (in size and also to try out ;) ) g.
Bye Caio G. de Barros
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list