SWI-Prolog Did You Know Did you know? You can control MIDI on Mac with SWI-Prolog Search Documentation:
Handling signals