moved midi messaging outside the update function
updated the midi tapping