I do not understand the example material for pyaudio. It seems they had written an entire small program and it threw me off.
How do I just play a single audio file?
Format is not an issue, I just want to know the bare minimum code I need to play an audio file.
The example seems pretty clear to me. You simply save the example as playwav.py call:
python playwav.py my_fav_wav.wavThe wave example with some extra comments: