Is there a way to dynamically adjust and enabled graph on parent (GOP)? I'm building some UI sequencer widgets and it would be preferable to dynamically adjust the GOP size given user input, say number of steps in a step sequencer (ie: an 8x8 vs a 16x16 step sequencer using the same abstraction).
If this is documented anywhere a link to the docs will suffice, I'm unable to find any.
Thanks, ~Brandon
A canvas accepts a "donecanvasdialog" message that can be used to do what you want. Search the list for that.
There's also the "coords" message, which takes its arguments in a different order than "donecanvasdialog" and doesn't set the dirty flag for Pd < 0.43. Other than that I'm not sure what the differences are between the two messages.
-Jonathan
--- On Wed, 9/29/10, brandon zeeb zeeb.brandon@gmail.com wrote:
From: brandon zeeb zeeb.brandon@gmail.com Subject: [PD] Dynamic Graph on Parent To: "PD List" pd-list@iem.at Date: Wednesday, September 29, 2010, 10:08 PM
Is there a way to dynamically adjust and enabled graph on parent (GOP)? I'm building some UI sequencer widgets and it would be preferable to dynamically adjust the GOP size given user input, say number of steps in a step sequencer (ie: an 8x8 vs a 16x16 step sequencer using the same abstraction).
If this is documented anywhere a link to the docs will suffice, I'm unable to find any. Thanks,~Brandon
-----Inline Attachment Follows-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
How is this sent to the current patch? Can you give me a quick example.
Thanks ~B
On Wed, Sep 29, 2010 at 4:41 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
A canvas accepts a "donecanvasdialog" message that can be used to do what you want. Search the list for that.
There's also the "coords" message, which takes its arguments in a different order than "donecanvasdialog" and doesn't set the dirty flag for Pd < 0.43. Other than that I'm not sure what the differences are between the two messages.
-Jonathan
--- On *Wed, 9/29/10, brandon zeeb zeeb.brandon@gmail.com* wrote:
From: brandon zeeb zeeb.brandon@gmail.com Subject: [PD] Dynamic Graph on Parent To: "PD List" pd-list@iem.at Date: Wednesday, September 29, 2010, 10:08 PM
Is there a way to dynamically adjust and enabled graph on parent (GOP)? I'm building some UI sequencer widgets and it would be preferable to dynamically adjust the GOP size given user input, say number of steps in a step sequencer (ie: an 8x8 vs a 16x16 step sequencer using the same abstraction).
If this is documented anywhere a link to the docs will suffice, I'm unable to find any.
Thanks, ~Brandon
-----Inline Attachment Follows-----
Pd-list@iem.at http://mc/compose?to=Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
You can create [namecanvas $0-foo] in the relevant canvas, then [message( | [s $0-foo]
You can also send a message to a named subpatch like [pd foo] by prefixing the subpatch name with "pd-" like this:
[message( | [s pd-foo]
And finally, send to an abstraction or open patch (globally) by using:
[message( | [s pd-patchname.pd]
I'm not sure if the "pd-" prefix is explicitly documented anywhere-- I only remember seeing it in passing with reference to traversing scalars. Maybe it could be added to doc/manuals/pd-msg, then have a link to that from canvas-help.pd.
-Jonathan
--- On Thu, 9/30/10, brandon zeeb zeeb.brandon@gmail.com wrote:
From: brandon zeeb zeeb.brandon@gmail.com Subject: Re: [PD] Dynamic Graph on Parent To: "PD List" pd-list@iem.at Date: Thursday, September 30, 2010, 3:53 AM
How is this sent to the current patch? Can you give me a quick example. Thanks~B
On Wed, Sep 29, 2010 at 4:41 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
A canvas accepts a "donecanvasdialog" message that can be used
to do what you want. Search the list for that.
There's also the "coords" message, which takes its arguments in a different order than "donecanvasdialog" and doesn't set the dirty
flag for Pd < 0.43. Other than that I'm not sure what the differences are between the two messages.
-Jonathan
--- On Wed, 9/29/10, brandon zeeb zeeb.brandon@gmail.com wrote:
From: brandon zeeb zeeb.brandon@gmail.com Subject: [PD] Dynamic Graph on Parent
To: "PD List" pd-list@iem.at Date: Wednesday, September 29, 2010, 10:08 PM
Is there a way to dynamically adjust and enabled graph on parent (GOP)? I'm building some UI sequencer widgets and it would be preferable to dynamically adjust the GOP size given user input, say number of steps in a step sequencer (ie: an 8x8 vs a 16x16 step sequencer using the same abstraction).
If this is documented anywhere a link to the docs will suffice, I'm unable to find any. Thanks,~Brandon
-----Inline Attachment Follows-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----Inline Attachment Follows-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Oh, that is awesome! Thanks a bunch for compiling these for me.
Going to have some fun tonight...
~B
On Wed, Sep 29, 2010 at 10:13 PM, Jonathan Wilkes jancsika@yahoo.comwrote:
You can create [namecanvas $0-foo] in the relevant canvas, then [message( | [s $0-foo]
You can also send a message to a named subpatch like [pd foo] by prefixing the subpatch name with "pd-" like this:
[message( | [s pd-foo]
And finally, send to an abstraction or open patch (globally) by using:
[message( | [s pd-patchname.pd]
I'm not sure if the "pd-" prefix is explicitly documented anywhere-- I only remember seeing it in passing with reference to traversing scalars. Maybe it could be added to doc/manuals/pd-msg, then have a link to that from canvas-help.pd.
-Jonathan
--- On *Thu, 9/30/10, brandon zeeb zeeb.brandon@gmail.com* wrote:
From: brandon zeeb zeeb.brandon@gmail.com Subject: Re: [PD] Dynamic Graph on Parent
To: "PD List" pd-list@iem.at Date: Thursday, September 30, 2010, 3:53 AM
How is this sent to the current patch? Can you give me a quick example.
Thanks ~B
On Wed, Sep 29, 2010 at 4:41 PM, Jonathan Wilkes <jancsika@yahoo.comhttp://mc/compose?to=jancsika@yahoo.com
wrote:
A canvas accepts a "donecanvasdialog" message that can be used to do what you want. Search the list for that.
There's also the "coords" message, which takes its arguments in a different order than "donecanvasdialog" and doesn't set the dirty flag for Pd < 0.43. Other than that I'm not sure what the differences are between the two messages.
-Jonathan
--- On *Wed, 9/29/10, brandon zeeb <zeeb.brandon@gmail.comhttp://mc/compose?to=zeeb.brandon@gmail.com
- wrote:
From: brandon zeeb <zeeb.brandon@gmail.comhttp://mc/compose?to=zeeb.brandon@gmail.com
Subject: [PD] Dynamic Graph on Parent To: "PD List" <pd-list@iem.at http://mc/compose?to=pd-list@iem.at> Date: Wednesday, September 29, 2010, 10:08 PM
Is there a way to dynamically adjust and enabled graph on parent (GOP)? I'm building some UI sequencer widgets and it would be preferable to dynamically adjust the GOP size given user input, say number of steps in a step sequencer (ie: an 8x8 vs a 16x16 step sequencer using the same abstraction).
If this is documented anywhere a link to the docs will suffice, I'm unable to find any.
Thanks, ~Brandon
-----Inline Attachment Follows-----
Pd-list@iem.at http://mc/compose?to=Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----Inline Attachment Follows-----
Pd-list@iem.at http://mc/compose?to=Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Wed, 29 Sep 2010, Jonathan Wilkes wrote:
A canvas accepts a "donecanvasdialog" message that can be used to do what you want. Search the list for that. There's also the "coords" message, which takes its arguments in a different order than "donecanvasdialog" and doesn't set the dirty flag for Pd < 0.43. Other than that I'm not sure what the differences are between the two messages.
For a quick gop on/off setting, there's also [gf/canvas_setgop].
| Mathieu Bouchard ------------------------------ Villeray, Montréal, QC
On Wed, 29 Sep 2010, brandon zeeb wrote:
Is there a way to dynamically adjust and enabled graph on parent (GOP)? I'm building some UI sequencer widgets and it would be preferable to dynamically adjust the GOP size given user input, say number of steps in a step sequencer (ie: an 8x8 vs a 16x16 step sequencer using the same abstraction). If this is documented anywhere a link to the docs will suffice, I'm unable to find any.
Do you think it would be better to adapt [#many] so that it can take as an argument the name of an abstraction that handles a sequencer row ?
Current help of [#many] is http://gridflow.ca/help/%23many-help.png (upcoming version also introduces the 'margins' method)
| Mathieu Bouchard ------------------------------ Villeray, Montréal, QC