Looking for a trance gate midi effect for Max for Live

FS's icon

Hi,

I am looking for a midi effect for Max for Live which allows the creation of arbitrary trance patterns. Something like the one embedded in FM8, just to be clear. Many people implement trancegates on the audio output of some synth. This is not what I am interested in. I need something that is operating on the midi level.
Example: in case of some long notes used in a chord, I would like to having that chord being triggered with a certain pre-defined pattern that might have a short length, for example a bar or half bar.
Note that this means that the chord should not be arpeggiated, all notes should be played at the same time.
I think that this is a device that might be very commonly desired in many projects so it has to be already built by someone. Any pointers? Hints?

Thanks!!! :)