Charles Martin’s wrote a program for use with Pure Data which converts an incoming audio signals pitch and amplitude into a MIDI control value. In addition to the theremin it seems this could be used with a number of different audio signals – Theremin to MIDI control in Pd [via Create Digital Music]