i'm trying to use
[;
pd-patch.pd toggle 380 380(
but position does not seem to work the toggle is always created under the mouse cursor.
am i doing this wrong?
dynamically creating toggles
i'm trying to use
[;
pd-patch.pd toggle 380 380(
but position does not seem to work the toggle is always created under the mouse cursor.
am i doing this wrong?
@youaresound The message should be
[;
pd-patch.pd obj 380 380 toggle(
0.all_msg.pd
David.
yup.
is there any way of dynamically setting send receive to the toggle as its dynamically created?
toggle properties
messages
send symbol
receive symbol
or how to do so using a message?
yeah thanks again. i was just looking at that patch..
@youaresound You will be needing this if you want to delve into serious dynamic patching
https://puredata.info/docs/developer/PdFileFormat
It is not as easy as it looks below.
toggly.pd
Unfortunately the patch will need to be saved and re-opened before [receive] is active..... not great...
Of course, you can automate that.......
If you open the toggle help it shows how to set properties by sending messages, but of course you need the receive address set first....
David.
@youaresound i build something similar with canvas instead of toggles. the dynamic patching and send receive logic in this patch is from @ingox : https://forum.pdpatchrepo.info/topic/10940/drawnumber/13
Oops! Looks like something went wrong!