Simple, asynchronous audio playback for Python 3.
Project description
NOTE: THIS PROJECT IS ARCHIVED
I no longer have the time to dedicate to maintaining Simpleaudio (which at this point is mostly keeping CI builds working). This project should be considered archived, meaning that there will be no further updates or builds. For anyone seriously interested in taking over the project, I would be willing to help in that process. I would also be willing to revisit maintaining the library should anyone wish to sponsor it.
Simpleaudio Package
The simplaudio package provides cross-platform, dependency-free audio playback capability for Python 3 on OSX, Windows, and Linux.
MIT Licensed.
Documentation at RTFD
Installation
Installation (make sure the pip command is the right one for your platform and Python version):
pip install simpleaudio
See documentation for additional installation information.
Quick Function Check
import simpleaudio.functionchecks as fc
fc.LeftRightCheck.run()
See documentation for more on function checks.
Simple Example
import simpleaudio as sa
wave_obj = sa.WaveObject.from_wave_file("path/to/file.wav")
play_obj = wave_obj.play()
play_obj.wait_done()
Support
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 …
Jonas Kalderstam
Christophe Gohlke
Tom Christie
Many others for their contributions, documentation, examples, and more.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file simpleaudio_312compat-1.0.4.tar.gz
.
File metadata
- Download URL: simpleaudio_312compat-1.0.4.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d59ab1822f205cc084ad8a4ab779e4f0079ba0e86250c0cfce7e7b121a2cddc |
|
MD5 | b92c52c3d504eb937cdf4fdb2487b022 |
|
BLAKE2b-256 | 3a5e41b705b454d464a10a642fafa443e5eac372d64f09ed96c1b22f36c2c53f |