Issues combining light code with tone keyboard

PaulS:
Of course, with those useless delay()s, make sure you press the switch long enough.

Small steps Paul.

You may want to jump in and solve all of the problems at once but I don't think the OP is ready for that. I am sure that we can see plenty of problems coming down the line if delay() is used but let's deal with them as they arise.