@Crojav The messages from [notein] are recombined by [pack f f] into midinote number and velocity in one message like [61 127( and [61 0( to turn the notes on and off.
The route object sends the velocity value out of just one outlet, depending on the first number in each message..... the note number.
notes.pd
The note numbers I have put in the route object are definitely wrong, but I am sure you can fix that better than me.
Right-click objects to get help and see how they work......
Happy patching, and welcome to the forum!
David.