Dynamic global variable name for send and recive

gh0stless's icon

Is it possible to resolve a global variable name (used by send and recive) at runtime and, for example, dynamically add the number of the ableton live track?

Jean-Francois Charles's icon

If you really need the track number, you will have to look into the Max for Live API.
If you just want your send/receive to be local to a Max for Live device, you have this, from the [send] Reference page:
"If you want a named send / receive object in a Max for Live device to be unique to the device, use three dashes (--- ) to start the name of your send / receive destination (e.g. s ---filtercutoff)."

gh0stless's icon

I want to communicate in one track within a chain of devices. But it becomes problematic when I have a second chain in another track.

broc's icon

[forward] may be useful.

gh0stless's icon

OK, thx. So I can see, I can set te sender name with "send" an the receiver name with "set". So I catch the track number and make my transmitter-names. Thx for help.

Roman Thilenius's icon


they used "send" in forward so that you can send "set" though it. :)