to me this topic has included some very sensible advice and some that I view as unnecessarily theoretical and complicated!
the essential skill ,particularly if playing by ear as probably the majority of (?DG ) players do is to intuitively know whether the next note is higher or lower and by how much and where that note is on the keyboard so it can be pressed without conscious thought at the right moment in much the same way as singers operate the gob without thinking ''open half an inch wider'' exhale harder, or whatever instruction the gob requires to sing a particular note or series of notes.
eg on a one row ,or playing on one row of a DG etc box its simply start on 3rd or 4th button push the scale being blow/suck, blow suck, blow suck, suck blow.
in the higher octave the blow suck sequence is the same but but its 'blow' on the first button of the scale, 'suck' on the next button etc etc.
with a bit of practice ,or maybe a lot the brain becomes programmed topush the right button (and bellows direction) for whatever the next note is of a tune that you are thinking- in just the same way as a singer operates the gob'
same goes for a semitone box eg a BC exept that a different scale needs to be learned for each key.
keep it simple - comp[lication can be added later if so desired!
george