AudioIO does not provide own code but rather uses whatever audio modules are installed on your system. The python standard library support for reading and writing audio files and for playing sound is rather poor. You certainly want to install additional packages for better performance.
Run in your terminal
to see which audio modules you have already installed on your system, which ones are recommended to install, and how to install them. By calling the script with the name of an audio module as an argument you get platform specific installation instructions for this module. E.g.
> audiomodules audioread
For playing sounds simpleaudio provides direct support of the native sound systems.
sudo apt install libsndfile1 libsndfile1-dev libffi-dev sudo pip install SoundFile sudo apt install ffmpeg python3-audioread python3-pydub sudo pip install simpleaudio
dnf install libsndfile libsndfile-devel libffi-devel pip install SoundFile dnf install ffmpeg ffmpeg-devel python3-audioread python3-pydub pip install simpleaudio
pip install SoundFile pip install simpleaudio