Refactor out audio playback code to use pyaudio (instead of aplay) so it's a little more portable.