For connecting device, you can do this manually by editing patch_loaded.sh
There’s also more detailed info here:
( sorry it’s a little dated, and covers lots midi stuff, but some of the info should help you)
Midi channels - are usually handled by the patch.
This is true of orac, where the router module determines which midi channel is routed to which orac chain.