I apologize if I'm just terminally thick, but I'm drawing a total blank at this moment, and exhaustive searching has mostly led to similar unanswered questions, or external/js-related solutions
How does one define a variable/constant, etc., which in traditional languages might be:
int TransposeVal = 12
within Max, such that this variable/constant can then be accessed within other patchers/sub-patchers, without a patch cord to every instance? I suppose send/receive can do that, but from what I gather, there is a high cpu cost vs. patch cords, at least in m4l.
At this stage, even the ability to create named global constants, which could be recognized by Max objects, would be a godsend.
This is one of the fundamental tasks in any programming environment, and I assume there has to be an analog here, but I'm just too blind to see it, I guess...
Thanks so much for any insight.