I'm pretty new to using csound on anything other than my laptop. I'm trying to build a portable musical instrument that generates ambient soundscapes from various buttons, and it works very well when using a midi controller attached to my laptop.
I wanted to slowly try and transfer the code onto the bela in a way that would let me trigger the samples with buttons (to be soldered on), instead of MIDI. I got as far as just loading my samples into the bela using function tables in csound to see if they worked, and was testing out triggering them one at a time by calling the instrument from the digital in pin.
As soon as I had more than five instances of a single instrument/audio file playing at once, the bela's CPU overloaded and it crashed. The wav files are about 10mb each. For the actual instrument I need roughly 8 audio files running at any given time.
Would anyone be able to tell me if this is just me being dense or having messed up somewhere, or if the bela is unable to play more than 5 20 second wav files at once without crashing? Thanks so much!