Behringer X32 and XR18 can be controlled easily by midi. I have setup all my fx sends to a mute group and this mute group can be turned on/off with midi. Btw, always mute your fx sends and not the returns. This way your reverb will fade out when you mute the send.
Use CC80 to CC85 on channel 2 to control the mute groups on X32.
Example: CC80.127@2
to turn mute group 1 on and CC80.0@2
to turn it off