It seems like OpenSongApp can send MIDI signals.
https://www.opensongapp.com/user-guide/connecting-devices/midi-connections
With something of a detour, OpenLP can recieve MIDI signals.
https://forums.openlp.org/discussion/5337/control-openlp-with-midi-signals
So it should work, theoretically. But I’m not sure if it will fit your use case exactly.