Platform independent library for real-time MIDI input/output