So, this is going to require updating to at least a 4.14 kernel, which is not going to happen overnight, as the one I have been using lately is actually a bit unstable. Once that is done, I could probably provide some example code to get this done. Note that until now I only managed to play stereo audio, so having bi-directional 10 channels would require quite some effort.
More details on the current state: https://github.com/BelaPlatform/bela-image-builder/issues/35
crosswick To chime in: I would personally be interested in this for the case in which I would design/prototype PD patches on my computer, using Bela-connected controls. It would be quite handy in that case to be able to use the Bela in- and outputs too.
this can be done with some clever arrangement. For instance, you could have a Pd patch running on the board which sends MIDI messages from the analog ins to the one running on the host. A good starting point would be the Bela examples