I have a single trigger setup, which is intended to fire when a specified MIDI note number NoteOn is received. My settings are as per the instruction videos:
My problem is that the trigger is activated by any MIDI note number. I’ve used other apps to check that the computer is receiving MIDI notes correctly (which it is).
Am I missing something? It seems that the second condition is being ignored. Thank you!
Are you using Companion v3 or v4? Just wondering if the conditions are being applied as “OR” instead of “AND”.
Please check the MODULE log (not the main Companion Log) to make sure the MIDI message coming in is the one you are expecting.
Also, try disabling the trigger just to make sure there’s nothing else that’s causing the action you’re seeing.
Ok, I see the exact problem you’re seeing. If I use a feedback, it works properly, but with a trigger it’s not working the way it should.
I’ll look into this, might be a few days, but I’ll let you know when I have it solved…
Ok, error in my brain logic. The module is actually working correctly.
In your (and my example) trigger, the logic is this:
Has the new message variable changed? YES
Is a new message coming in? YES
Is the last NOTE (not message) received = NoteOn, channel 1, note 60, velocity 127? YES
When a new message comes in, that note is still “playing”. It will only change when another note 60, at a DIFFERENT velocity arrives. A Note Off will be the note with velocity 0.
So, until a new noteon message, channel 1, note 60 arrives, the trigger’s condition will still be true.
Anyway, the proper way to do a trigger like this is to use the “last Message Received” string, which will always be different for every MIDI message that arrives.
For note on, channel 1, note 60, velocity 127, this is the correct trigger: