ALSA output are warnings and can be ignored/suppressed. See this post: https://raspberrypi.stackexchange.com/questions/9951/pyaudio-recording-sound-on-pi-getting-errors/150500#150500