Did you know? You can control MIDI on Mac with SWI-PrologSearch Documentation:
SWI-Prolog owl logoPredicate subtract/3