Dynamic global variable name for send and recive

    Max For Liveadvanced

    gh0stless's icon
    gh0stless's icon
    gh0stless
    Jun 10 2020 | 6:59 pm
    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
      Jean-Francois Charles's icon
      Jean-Francois Charles
      Jun 10 2020 | 7:32 pm
      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)."
      Share
    • gh0stless's icon
      gh0stless's icon
      gh0stless
      Jun 10 2020 | 7:44 pm
      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
      broc's icon
      broc
      Jun 10 2020 | 8:16 pm
      [forward] may be useful.
    • gh0stless's icon
      gh0stless's icon
      gh0stless
      Jun 11 2020 | 9:06 am
      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
      Roman Thilenius's icon
      Roman Thilenius
      Jun 11 2020 | 4:17 pm
      they used "send" in forward so that you can send "set" though it. :)