[chuck-users] increase chuck memory usage

Michael Heuer heuermh at gmail.com
Thu Jan 26 16:06:24 EST 2012


Hello ChucKers,

I have a ChucK class that maps all the samples in a drum kit to SndBufs

https://github.com/heuermh/lick/blob/deab64e5b1eb1783e9a68bb508a0317c0287bf16/BigMono.ck

Altogether this creates 238 SndBufs, which appears to be more than
ChucK can handle.  Sample playback skips, repeats, or is otherwise
corrupted.  Removing some of the mappings improves playback.

Is there a way to increase the memory allocated to ChucK at startup?
Alternatively, is there a better way to handle loading and playback
for hundreds of samples?

Thanks,

   michael


More information about the chuck-users mailing list