PyGame is trivial to install on most devices. PyGame allows playing sound from Numpy arrays.
pip install pygame
pip prefers .whl binary wheel instead of compiling from source when a wheel is available.
This is not usually needed
apt install git ffmpeg libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libfreetype6-dev libavformat-dev libportmidi-dev libswscale-dev
git clone https://github.com/pygame/pygame/
pip install -e pygame