I want to make a macro where pressing a key, or another key, triggers an event depending on the NotePitch and the Gate. So far I have this setup
This macro does exactly what I want it to do, but it doesn't really seem the most computationally easy or practical. Looking for a better way to pull this off.