Refactor acoustic_pretouch_pyaudio.py, helper.py