Hey all,
I was wondering if there is any way to increase the number of available audio buffers in SuperCollider on the Bela?
Normally this would be done by setting a number of buffers in ServerOptions.numBuffers before booting the server, like so:
s.options.numBuffers = 256;
On the Bela this number seems to be totally ignored. What's worse, the default number of available buffers is only 128 on the Bela! This is significantly less than the usual 1024 that is the default on most SuperCollider builds.
(in case you're curious: I discovered this hard limit by running the following code)
s.waitForBoot {
a = List.new;
1027.do {|idx|
var buf = Buffer.new(s);
a.add(buf);
idx.postln;
}
};
Which gives the error ERROR: No more buffer numbers -- free some buffers before allocating more.
Any ideas on how to get more buffers? Or is this limit a conscious decision hard-coded somewhere?