simonb Bela’s audio, analog and digital I/Os
these are all handled by a "Bela program" and there can only be one of these running at any time, which will take control over all of those, processing them at audio sampling rate and with low latency. "digital I/O" here refers to the 16 GPIOs handled directly by the Bela core, which are those highlighted in the pin diagram for your board. This does not include devices connected over other digital busses e.g.: I2C, UART, SPI, which can he handled by any program running on the board. You can still access the GPIOs that are not managed by Bela and are not otherwise used by Bela using the Gpio class and integrating it within this same program. See more details here.
simonb I was just think how cool this is and setting it up this project to read a few analog inputs/switches and then just having SuperCollider receiving OSC and making sound.
If you are processing audio via scsynth, you'll have to process all of those also via scsynth, there are dedicated ugens to do that: AnalogIn, DigitalIn, DigitalOut, DigitalIO. You can then use sendReply()
if you want to send a snapshot of the input values back to sclang.
simonb Do you have one of those buy me a coffee type things?
No thanks, I don't drink coffee. Just tell all your friends about the good experience you've had here.