got the midi working, added input buffer listener