spigot in a poly~

Fixrobert's icon

Hello,
I've got a jit.qt.movie in a poly~ as told in other thread for better system performance when choosing between differents movies.
Now I intend to use spigot~ for routing movie sound to different output.
Since only one instance of jit.qt.movie can be connected to a named spigot~, I though I could name a spigot inside the poly~ with thispoly giving the number of each instance but I can't find any way to change the name attribute for a spigot object (someting like a "name" or "set" message).
any suggestions ?
thanks

billy gomberg's icon

I'm bumping this topic as I've encountered the same problem. I'm prototyping a sort of show control system (which is scratching the surface of describing this project), and want to have discrete control over mixing and spatialization of audio from multiple video assets. [spigot~] does have an input named "Message in" but nowhere in the docs or the forum can I find how to address that message.

my goal is to use instance reporting from [thispoly~] to generate names for [spigot~] and associated video output, but [spigot~] naming is really hanging me up here. I'd like to be able to name the [spigot~]s as I'd name buffers~ etc...any help here forum/c74?

Emmanuel Jourdan's icon

spigot~ can't change source dynamically. The only way, that I can think of, to achieve what you want is to script the spigot~ object.

billy gomberg's icon

what I've ended up sorting out for this is creating a coll of possible [spigot~] addresses and assigning the address in each [poly~] via the message (unique address picked via instance # reported from [thispoly~].

output channels in MSP are then static [spigot~] channels. it works.