I am trying to tie my agent's position to pitches and get period breakup in the sound. I have about 50 agents and have set amp levels to 0.5/agents. I also stagger the frequency commands to Csound by a random pacing of the agents and throttling commands with Time.deltaTime in Unity. Even with a reduced number of agents I get sound breakup. What should I check?
p.s. further tests show no breakup at around 20 agents. could this be a cpu/dsp overload problem? the voice architecture in csound is 1 synth driven by 20 or more agents. 1 moog ladder filter, sawtooth waveform. 1 csound engine is instantiated and shared by all.