Simple, asynchronous audio playback for Python 3.
Project description
Complexaudio wrapper
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”.
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 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.
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
Built Distributions
Hashes for complexaudio-1.0.4-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 234cb8421b502d4fb6eae0e9b057769eb4b0d50bd4d9b88454a55b9477a2b5e3 |
|
MD5 | b6a654cc2d86a5485981336c71ee5120 |
|
BLAKE2b-256 | 3259b48b3d4ce3efdbfa15c49a9228b9f69322ec57cea0091212432b8040b438 |
Hashes for complexaudio-1.0.4-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78889b8d6c315cca1dbafc97601db5bd4fe1ef3514ef4e79176fafaf965082ca |
|
MD5 | 88f95f559950a0d5bca4ab6f89d1924a |
|
BLAKE2b-256 | 69478f8cfd45e6dd5974cd1729559b42904441cfe09f343d760091e841f946af |