It looks like an interesting project. I took a look at the code last night, ran it through a code "beautifier", and took a shot at making the comments more readable (attached).
I think that you might be best helped by Nick Gammon or someone else with more timer/interrupt-handling experience than I have.
theramin2.c (15.9 KB)