Moved MIDI parsing and voice allocation out of the audio callback... should make things more stable