How to dinamically assign name to objects

    Aug 07 2012 | 11:33 am
    Hi guys, i'm working on a live sampler in M4L. I have to find a way to assign all buffer~ related objects an original name for every instance of the M4Live device. In my patch i have a buffer~ an info~ a grooveduck2 and several messages that must include the buffer name.
    One solution is to make different versions of the M4L device with buffernames like "one" "two" ....."twentytwo" etc. But this is pretty unconfortable 'cause i have to edit all the devices and save different copies of it. Another solution is to assign all these objects a random name at load time. I took a look at some thispatcher scripting stuff. But i've only found a way to change the scripting name and not the actual object names. Is there any practical solution ?
    Thanks and all the best.

    • Aug 07 2012 | 12:25 pm
      inside abstractions you need #0 notation. across the whole live device you need --- notation.
      these will produce unique id's for you
    • Aug 07 2012 | 12:37 pm
      thanks pid,
      is there any documentations to see examples for this?
      i can't find nothing about #0 and --- notations.
      thanks and all the best