Implementation of a digital theremin based on PortAudio