added a function in midiIn to get all notes event in buffer at once
close #39, now the keyboard on screen is updated with
the key pressed by physical keyboard