How do you add / modify the labels of [crosspatch]?

ygreq's icon

Hi folks!

I looked and looked and I cannot figure out how I can modify the labels that [crosspatch] has.

For example how do I add In 4 to this?



Thank you so much!

TFL's icon

In the attributes inspector, look for "Input Labels" and "Output Labels", all the way up, in the Appearance section:

To set these attributes you can also send the inlabels and outlabels messages, followed by the list of your input or output labels. Each item must be separated by a space, not a comma like in [umenu]

ygreq's icon

Ah! I saw those ones, but for the example I set above, the list was empty so I figured that was not it.
Thank you so much!

PS: I am curious how come the initial example object I for from the Examples does not have any inputs and outputs in the list yet it has the actual labels



Max Patch
Copy patch and select New From Clipboard in Max.

ygreq's icon

Now something else weird is happening

I input 0 1 2 3 4, but I cannot see 4 as label

Any suggestions?
Thank you!!!!

Max Patch
Copy patch and select New From Clipboard in Max.

LE: I got it. I see there are options for that as well

LE2: Now I see that it adapts based on the [matrix] object that it connects to.

TFL's icon

I agree it is a bit confusing at first, and not explicited in the help file

The "In 0", "In 1", etc. labels are here by default if the inlabels attribute is empty (same for outs).

If you want no label, then you can disable the "Show Labels" attribute.

And if you want no label only for a few ins or outs, then you can use " " (quote-space-quote) as a name.

ygreq's icon

Thank you for great explanations! Makes sense now.