I am having some trouble with getting the Csound opcode pan2 to work properly in Unity3D. I get good results running the patch in Csound by itself, but running it in Unity messes up the panning. I can control other things without problems from Unity (Pitch, volumes, etc.) but not pan. Is there a recommended way to set up the Audio Source parameters to allow transparency through Unity?
(As an aside, I found that using some of Unity’s audio effects through it’s mixers is MUCH more efficient than using Csound’s, probably due to summing of all sources vs. each voice running it’s own effect, provided Unity provides an alternative. This suggests porting all favorite Csound effects into Unity as plug-ins to the mixer).
Thanks for any help!