#0 and poly~


    Aug 26 2011 | 3:29 pm
    Hi,
    Maybe someone could help me with this!
    I have a bpatcher that makes use of #0 naming for an sflist~ cuelist. There is also a poly~ object in the patch. The patch the poly~ is referencing contains an sfplay~. Is there a way for the sfplay~ to refer to the cuelist~ in the parent bpatcher?
    Ex: If if load the bpatcher and the sflist~ appears as follows:
    sflist~ 1779-cuelist
    How can i get the sfplay~ object in the poly~ to refer to this cuelist? i.e. appear as:
    sfplay~ 1779-cuelist
    Thanks!

    • Aug 26 2011 | 3:43 pm
      Within the patch that you load into the bpatcher, you could create the [sflist~] on loading via [thispatcher] scripting and [loadmess #0] and send this resulting name also to the [sfplay~] in the parent patch's [poly~].
      It would be so easy if you could just "set" the name of the [sflist~] but I don't think you can ...
    • Aug 26 2011 | 4:50 pm
      Hi Tim thanks for the reply!
      Your second suggestion turned out to be the key to the solution. You can't "set" the sflist~ but you can set the sfplay~. I just created a message in the bpatcher with "#0-cuelist" (the same as the argument to the sflist~ object). Then i just loadbanged this into all instances of the poly using a set argument for the sfplay~ objects within. Still feels slightly like a round about way of doing it but works fine!
      Thanks again for the help