Hello there,
I’m a new owner of a Bela Gem Multi, my aim is to use it for a sound installation requiring multichannel audio played on headphones. For this, I wanted to use RNBO and then export the C++ code to run it on Bela. My actual project is to have a realtime selection of a lot of audio files (more than 500). There are predominantly under 30 seconds and goes to around 5 minutes for the longer ones. Right now, it does not work when I build the exported C++ code with the IDE. In the console, I can see that it’s loading files but it stops when it exceeds 59 files (mp3 320 CBR, around 32Mo in total).
So I tried with less files to see if it would work at the some point. It does work when I load around 40-50 mp3 files (around 26.5Mo total) or 40-50 WAVE files (48-24, around 190Mo), when I go over that it doesn’t. Although, I’m quite versed running Max and RNBO patches on my computer, it’s fairly new to me to run programs on a embedded platform like Bela. I suppose I need to be particularly aware of the technical limitations (computer power and memory usage), but I thought I was not exceeding Bela limits for this particular project.
In RNBO, I use a very simple patch (screenshot below), to select the files read by a groove~ which buffer is changed by a multibuffer~. I declare all my audio files with buffer~ objects, they seem to be recognized in the console of the IDE. It seems it’s the working method right now in RNBO to use buffers, even though it’s really painful to name individual files like this.
So my question is, what could be the reason for not supporting this amount of audio files ? And what could I do to make it work ? It seems the RNBO part is working, but it might not be the best way to do that when using Bela.
Thanks a lot for your help !
