PortMidi is a computer library for real time input and output of MIDI data. It is designed to be portable to many different operating systems. PortMidi is part of the PortMusic project. This requires the jdk package from /extra.