could this be the answer for MIDI syncing?
http://www.mcnabb.com/software/fantasia/
http://www.mcnabb.com/software/fanta...t/MIDIKit.html
The MIDI Kit is a set of Java™ classes designed to serve as the basis for platform-independent and OS-independent real-time interactive MIDI applications. In the simplest case, the base classes may be used to build small, fixed configuration, stand-alone MIDI processing apps, similar to the included examples. More interestingly, the kit may be used to build a MIDI-processing network server, which may be programmed and configured dynamically by a client application running on the same computer, or any computer on the same network. The client could consist of a dedicated GUI application for MIDI processing or a larger application wanting to use the server for auxiliary MIDI processing. A full server application object (MIDIServerApp) is included, plus a set of Java proxy objects for use in building Java clients.