Theremin as a Capacitive Sensing Device

hello dear arduino people!

how can i modify theremin with midi output from arduino 2009 board?
I want also audio output and midi output.
Code for that?

Thank you so much!