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:
How can i get the sfplay~ object in the poly~ to refer to this cuelist? i.e. appear as:
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 …
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!