Hi all!
I'm running a complex Pd patch on the Bela, that takes in 3 continuous analog signals, and uses them to control a polyphonic synth.
Recently the Bela/BBB has been crashing - sometimes after little over an hour of use, sometimes after 10 minutes or less.
According to the IDE, my patch tends to use around 48% of CPU, with occasional jolts up to around 51%. It might well be that there are sudden spikes at times when I run the patch for longer periods, but I can't be sure.
Admittedly, the more frequent crashes have occurred during times of warmer weather. But the setup is still prone to crashing in less demanding environments.
I'm trying to optimise my patch as best I can, without losing too much functionality or responsiveness. But before decimating everything, I wanted to ask your advice:
Is a patch running at 48-51% expected to crash the Bela/BBB over the course of a few hours, or is this unusual? Should I focus more on controlling the environment, instead of simplifying the program?
And finally, is there a maximum threshold of CPU% usage you would consider 'safe' and not likely to crash under normal conditions, when running a program for periods of 2-3 hours?
Thank you for all of your help!