Combine two Arduino projects into one PCB with the Arduino codes combined.

How would I use it for when no key is pressed? Would I just leave it the way it is

Yes.

You could also make the tone for a fixed amount of time instead of leaving it to run forever. With a medium fixed time the tone would sound for say a second and yet when other keys are pressed it will override the current tone.