Hi
I want to coordinate two arrays : tab24 which has 24 steps and tab_var which has 1, 2, 3, 4, 6 or 8 steps.
In a first time, I want to move the value of the 0 stept of tab_var graphically and report it on step 0 of tab24.
Does anyone have a solution without using a bang to let the value get out ?
Thanks
array_coordinator.pd
-
Array coordination
-
@Glop-Glop said:
I want to coordinate two arrays : tab24 which has 24 steps and tab_var which has 1, 2, 3, 4, 6 or 8 steps.
In a first time, I want to move the value of the 0 stept of tab_var graphically and report it on step 0 of tab24.
Does anyone have a solution without using a bang to let the value get out ?Basically... no. If there are any messages emitted by arrays when they're changed graphically, the documentation is so well hidden that I guess it doesn't exist.
The only way I can think of is to poll the array repeatedly.

I wouldn't call this a beautiful solution -- perhaps someone else knows some array messaging magic that I wasn't able to find.
hjh
-
I found the solution, it is more than simple : this will be a subpatch of a sequencer, so I will use the dedicated clock !
-
The gui ping when you change the array values by mouse:

Work in progress : FCPD a FreeCAD PureData connexion
-
@FFW said:
The gui ping when you change the array values by mouse:
Only in Pd vanilla.
It would be better if a message specific to the array, index and value were emitted by something in the backend, rather than in the Tcl/Tk layer.
hjh