A note on the staff with its key to tap: a natural within both the
staff's range and the keyboard's — or, with accidentals, a sharp or a
flat too, each black key asked both ways (C♯ and D♭) unless spelling
keeps to sharps or to flats, the black key the one to tap. With
halfStep, the key to tap is the very next key above or below the note
(the way drawn first, evenly, with 'both'), and only a note whose key
and that next key are both on the keyboard is asked.
A note on the staff with its key to tap: a natural within both the staff's range and the keyboard's — or, with
accidentals, a sharp or a flat too, each black key asked both ways (C♯ and D♭) unlessspellingkeeps to sharps or to flats, the black key the one to tap. WithhalfStep, the key to tap is the very next key above or below the note (the way drawn first, evenly, with'both'), and only a note whose key and that next key are both on the keyboard is asked.