In this video, I show how to play sound from a NumPy array directly to the audio output.

The code for the tutorial is: