Hi!
I'm trying to run some granular Pure Data patches on my Bela, and I simply can not get it to work without crashing due to CPU issues.
I've made a super-stripped down version of the patches I'm trying to run here: https://github.com/yannseznec/granular_test
That test patch uses a single sound file in a granular patch with 4 grain voices, triggered very slowly. I've tried on two Bela boards (one mini, one big), and both times they basically don't run. They sometimes start and run for a few seconds but then crash.
The IDE gives this error:
error: array: no method for 'edit'
Underrun detected: 1 blocks dropped
Xenomai/cobalt: watchdog triggered
CPU time limit exceeded
make: *** [runide] Error 152
Makefile:621: recipe for target 'runide' failed
Bela stopped
I've tried changing the block size in the IDE and it makes no difference.
The patch doesn't seem to me to be super CPU intensive, but maybe I'm naive! Is it just too much for the Bela to handle? I certainly feel like I've done more intensive things on a Bela and a Raspberry Pi before.
(one caveat: I'm not sure what version of the Bela software these are on, but I think it's relatively recent. They are running Pd 0.51-4.)
So I'm not sure if this is a Bela problem, or a problem with how I've made my Pd patches, or something else entirely. Any tips would be great!