Pyaudio practice in a working form