This is just one of many possible solutions:
whenclickedforeveraskType in a number between 0 and 127 (60 is middle C) and I display the corresponding MIDI note name as well as playing the note:andwaitsetnotetoanswerplaynotenotefor0.5beatssayitemnotemod12+1ofnotesfor3secs
Back to programming challenge