is it possible to display an [array define] array constantly (without clicking on it)? or do i need to send the values to a [table] for displaying the array?
-
display an [array define] array constantly?
-
@whale-av you are right. the list is sent to the object that was created first, whether the graphical representation or [array define] but no multiply define message.
-
Using an array object like [array get] gives a multiply defined error when graphical and non-graphical arrays with the same name are present
-
@Jona Miller mentions alternative anonymous access in the help file...... so maybe it will magically appear?
David. -
@ingox a bit off-topic - this way you can change data structure settings of an array without dynamic patching (just discovered it with the help from your [colarray] patch). still needs the array pointer, so you need to click [array define] for showing the array:
arraypointertest.pd
@whale-av i also wondered about that. i am not sure what Miller means with "alternative anonymous access" and would like to know it.
but if i remember right it is not implemented yet...
for data structures there is kind of a wild card, something like [set -] and [get -]. perhaps the "alternative anonymous access" has to do with that, but i am absolutely not sure. -
@Jona Interesting, the outlet of [array define] was not there in 0.48.1. There you would have to get the pointer via [send( message.
For [colarray], the dynamic patching was needed, because i wanted to modify a graphical array
-
@ingox i also discovered the pointer outlet just recently. [text define] has a pointer outlet too. first time i saw data structures with text was in a demo patch from @jancsika https://forum.pdpatchrepo.info/topic/8836/dictionary-object-in-pd-extended/26
-
just realized that i do not need to create a struct and plot object for changing float-array settings (color/linewidth/style) because they are already there (hidden).
arraypointertest.pd