Arguments to poly~ with signal inlets
I've got an oscillator inside a poly~ which is then inside an abstraction, and i'm using #1 and #2 to set the oscillator's initial parameters from up at the abstraction's level. Problem is the poly~ has signal inlets (in~ 1, in~ 2, etc) running into the oscillator and so when I make the abstraction with the initial arguments I want, these are immediately overwritten by the signal inlets as soon as I turn audio on, even though nothing is running into the inlets.
So how would you go about setting the arguments of an object that's inside a poly~ with signal inlets?
This feels like it should be really simple but I can't figure it out. Thanks.
You can use both [in~ 1] for signals and [in 1] for messages to the same poly~ patch. Then when you send both signals and messages to the first inlet of poly~, the signals will be routed via [in~ 1] and the messages via [in 1].
what you describe should work in poly just as elsewhere.
if there is an emtpy inlet as well as a [t 5.]-[sig~] going into a cycle~, the signal of 5. should be added to the signal of 0. internally in the cycle~ object and so initialisation perfectly works, because loadbang is executed before the poly signal chain is turned on the first time.