Can I seperate Incoming MIDI from MIDI playing in a clip

Messinki's icon

Hello!
I am creating a clip based MIDI looper and am trying to figure out if there is an elegant way for a max MIDI effect to tell the difference between incoming MIDI thats coming from a controller, and MIDI coming from a clip. I have managed to get this working using different tracks that send Midi data through send and receive objects, but does anyone know if there's a way to do this from one track. Ideally a solution that works in Live 10, but I do have Live 11.

I got quite exited when I saw this article stating that Max audio effects and instruments can route MIDI data from anywhere to anywhere, but I dont think this can help me with a max MIDI effect.