On Dec 17, 2008, at 11:48 AM, felix wrote:
This doesn't work because a function's rate is \stream. Because of this, an argForSynth is added and the result of the function is passed in the OSC message (the BinaryOpUGen from my other message). The function's UGens are added to the synthdef properly, but the patch's s_new message is badly formed.
... with the specific characteristic that it should never be rendered into a separate synth, just embedded into the synthdef.
With a little more work, it would be possible to cache the UGens so that multiple references to the same argument in the Instr would share the same UGen mini-graph.
Again, the intent is not to patch an audio or control input. It's just to embed the UGens. For that, no synth control should be created and noncontrol is the way to be sure of that.