- Edited
Hi!
I just started to learn Bela and PD a few days ago...
My primary goal is to build a standalone Midi-To-CV "device" and use it in my upcoming eurorack performances.
I`m planning to generate six ADSR envelopes, two MidiCC-to-CVs and eight Gate signals with the Bela and control everything via USB-Midi. I also need to use about 60-80 Midi CC channels to set everything properly.
So far everything worked fine. I did some simple experiments with PD running LEDs with Bela`s Analog/Digital Outputs, tested it with my eurorack system and also made my own custom phasor~-based ADSR in PD.
Now I did a simple test-patch with the six ADSRs to see how it runs on the Bela.
After I executed the patch the IDE disconneced... I think this was because the PD overloads the CPU.
The Bela looked running more or less, some LEDs was blinking.
Then I simplified the PD patches and switched to message-rate Digital Outputs but it doesn't solved my problem. The funny thing is if I remove that ONE connection that triggers the envelopes randomly and execute the patch, it don`t disconnects! In that situation the IDE shows ~50% CPU load.
Is it possible to somehow lower the sample-rate to save CPU? I`m not planning to use the Audio Outputs.
Or can You help me how to optimise my patches? I don't think they are too big. Maybe I did something very bad, I`m totally new to PD...
Here are the PD files:
https://drive.google.com/open?id=1EGuHhcf4dDizS_ZZIk77w2cg8y67pmCz
Thank you in advance!
Cheers
Adam