Arduino Mega / hairless MIDI / Input without DIN PLUG and Optocoupler

Hi there. I had the same idea to switch on the leds with activators in vmix. I found this:

It works perfect if Arduino receives the note by a daw but it doesn't work if it receives the note by vmix.

Can you try and check if this could be a solution?