working pyAudio with matplotlib animate