Lightweight php Midi analyzing library