All I’m trying to accomplish with this patch is to have 4 effects (with random parameters) that can be routed using MATRIX without any major CPU spikes.
When I am running audio through the matrix the CPU stay around 5% – 10%. Good, no problem. But when the audio reaches near silence or is completely silent the CPU will spike up to about 50%. As soon as audio becomes loud again – the cpu drops right back down to about 5% – 10%. Weird.
The patch works as intended right now and none of this would really be a problem if I only wanted to use these 4 effects. But my goal is having 4 of these modules running (for a total of 16 effects) at the same time.
Please take a look at the attached patch (you will need munger~)!
Thanks for the reply! I’m using Windows XP, Max/MSP 4.6.3
My current work around is to have a noise~ object run through the patch at .001 in order to keep the CPU down. But there are still times when running all 4 modules (16 effects) will max the CPU out at 100% and completely lock everything up forcing me to restart my computer.
Wondering about denormals, if that is the problem, could you use a threshold audio level (like 0.01) and if the audio is below that, multiply by *~ 0. ? Would that solve a denormal problem, or is it not that simple…