I am having troubles with the poly~ object.
Basically I built a sampler for sustaining sine waves. I have a cycle~ with envelope inside a poly~ and I am giving it different frequencies through a $1 message.
This works fine for a few minutes then suddenly it starts clipping and sometimes even the sound stops. I then have to turn off the audio and switch it back on to continue playing.
Anyone any idea why this is happening? (see attachment)
I had reduced the voices to 100 before – without success though. Even if I reduce to 20 I still get the hearing knock out, while my CPU (in Max) shows no more than 1 or 2 %.
The overdrive / knockout happens faster when I am using higher frequencies (like above 8000Hz). It seems as if they are "ganging up" among themselfs like a feedback loop.
So my guess would be that they somehow create intermediate tones. I don’t understand it though.
The ganging up, does that still happen if you deactivate the adc~-triggered notes? As in, starting some notes, and then not letting more get triggered?
I’d also start looking at the envelope – that function looks very odd indeed, all the values are bunched up off to the side, and if I’m reading it correctly it’s a very fast envelope, too? – try swapping it out with a straight "0, 0.05 1000" message, perhaps?