You narrow down the inputs and outputs and I'll start making a Mozaic script you can give me feedback on. Let's refine your request using a 'black box' approach.
It looks like I will need to go the route of multiple instances due to needing something like Mosaic for processing (melodic round robin) the midi input of every sample.