Simple, asynchronous audio playback for Python 3.
Some extensions to simpleaudio has been done such as music pause and resuming. Even though the pypi name is complexaudio, you may use the import package names as “simpleaudio”.
The simplaudio package provides cross-platform, dependency-free audio playback capability for Python 3 on OSX, Windows, and Linux.
Installation (make sure the pip command is the right one for your platform and Python version):
pip install complexaudio
See documentation for additional installation information.
Quick Function Check
import simpleaudio.functionchecks as fc fc.LeftRightCheck.run()
See documentation for more on function checks.
import simpleaudio as sa wave_obj = sa.WaveObject.from_wave_file("path/to/file.wav") play_obj = wave_obj.play() play_obj.wait_done()
For usage and how-to questions, first checkout the tutorial in the documentation. If you’re still stuck, post a question on StackOverflow and tag it ‘pysimpleaudio’.
For bug reports, please create an issue on Github .
Big Thanks To …
Many others for their contributions, documentation, examples, and more.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|complexaudio-1.0.4-cp36-cp36m-win32.whl (2.0 MB) Copy SHA256 hash SHA256||Wheel||cp36|
|complexaudio-1.0.4-cp36-cp36m-win_amd64.whl (2.0 MB) Copy SHA256 hash SHA256||Wheel||cp36|
|complexaudio-1.0.4.tar.gz (2.1 MB) Copy SHA256 hash SHA256||Source||None|