I already create the abstraction (my-tabosc2), but I can not connect it with the array as shown in the pic, how to do that?
-
How to connect object directly with an array
-
@Leorange An array has no connections.
You can only send it messages.
Many objects can communicate with arrays, but you have to tell them which array.
You do that normally by giving the name of the array as an argument of the object.
Here is more useful stuff....... arrays.zipYou could put the array inside your abstraction, and have it "show through" ... like this......
help.zip
Open [mother] for more info.
David. -
I know the basic concept of GOP,however I still do not know how to achieve the same operation as pic shown above(which is come from Pd_intro,although it is comprehensive, but it does not include anything in detail) From my view, A , B and C are all connected to my abstraction, as you say array can not have connection... Maybe A B and C are not arrays, right?
-
@Leorange Ok...... I found it here...... https://tuftsdev.github.io/MusicAppsOnTheIpad/readings/reading3.pdf and they are about to talk about GOPs.
On the previous page........
"2The graphs with connections to them shown here, and elsewhere in the book, are abstractions
that contain everything necsessary to display a small time or spectrum graph from
signals received at an inlet. This is done to save space by not showing this in every diagram."So they are an abstraction containing an array, an inlet, and whatever is necessary to draw the waveform (received at the inlet) to the array, with the GOP drawn neatly around the array (and just big enough to show its name). The abstraction name itself being hidden in the canvas properties.
Probably something similar to [my-tabosc.........] again, but with a symbol argument (A or B or C in this case) that replaces the array name (array1) as the abstraction is loaded..... so....
[tabosc~ $1] and the array named $1.
David. -
@whale-av Sounds reasonable, thanks again.