Skip to main content

Simple, asynchronous audio playback for Python 3.

Project description

This project is forked from https://github.com/cexen/py-simple-audio which forked it from the original project at https://github.com/hamiltron/py-simple-audio . Cexen applied a patch to make the library also work with python3.12. This repository is mainly used to build wheels for the patched simpleaudio so that we can easily install it for all python versions on all platforms. This project uses github actions workflow to build the wheels, and published them under the name “simpleaudio-patched” on pypi.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simpleaudio_patched-1.0.5.tar.gz (2.0 MB view hashes)

Uploaded Source

Built Distributions

simpleaudio_patched-1.0.5-pp310-pypy310_pp73-win_amd64.whl (2.0 MB view hashes)

Uploaded PyPy Windows x86-64

simpleaudio_patched-1.0.5-pp310-pypy310_pp73-macosx_11_0_arm64.whl (2.0 MB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

simpleaudio_patched-1.0.5-pp310-pypy310_pp73-macosx_10_9_x86_64.whl (2.0 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

simpleaudio_patched-1.0.5-pp39-pypy39_pp73-win_amd64.whl (2.0 MB view hashes)

Uploaded PyPy Windows x86-64

simpleaudio_patched-1.0.5-pp39-pypy39_pp73-macosx_11_0_arm64.whl (2.0 MB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

simpleaudio_patched-1.0.5-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (2.0 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

simpleaudio_patched-1.0.5-pp38-pypy38_pp73-win_amd64.whl (2.0 MB view hashes)

Uploaded PyPy Windows x86-64

simpleaudio_patched-1.0.5-pp38-pypy38_pp73-macosx_11_0_arm64.whl (2.0 MB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

simpleaudio_patched-1.0.5-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (2.0 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

simpleaudio_patched-1.0.5-pp37-pypy37_pp73-win_amd64.whl (2.0 MB view hashes)

Uploaded PyPy Windows x86-64

simpleaudio_patched-1.0.5-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (2.0 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

simpleaudio_patched-1.0.5-cp312-cp312-win_amd64.whl (2.0 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

simpleaudio_patched-1.0.5-cp312-cp312-win32.whl (2.0 MB view hashes)

Uploaded CPython 3.12 Windows x86

simpleaudio_patched-1.0.5-cp312-cp312-macosx_11_0_arm64.whl (2.0 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

simpleaudio_patched-1.0.5-cp312-cp312-macosx_10_9_x86_64.whl (2.0 MB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

simpleaudio_patched-1.0.5-cp311-cp311-win_amd64.whl (2.0 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

simpleaudio_patched-1.0.5-cp311-cp311-win32.whl (2.0 MB view hashes)

Uploaded CPython 3.11 Windows x86

simpleaudio_patched-1.0.5-cp311-cp311-macosx_11_0_arm64.whl (2.0 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

simpleaudio_patched-1.0.5-cp311-cp311-macosx_10_9_x86_64.whl (2.0 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

simpleaudio_patched-1.0.5-cp310-cp310-win_amd64.whl (2.0 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

simpleaudio_patched-1.0.5-cp310-cp310-win32.whl (2.0 MB view hashes)

Uploaded CPython 3.10 Windows x86

simpleaudio_patched-1.0.5-cp310-cp310-macosx_11_0_arm64.whl (2.0 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

simpleaudio_patched-1.0.5-cp310-cp310-macosx_10_9_x86_64.whl (2.0 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

simpleaudio_patched-1.0.5-cp39-cp39-win_amd64.whl (2.0 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

simpleaudio_patched-1.0.5-cp39-cp39-win32.whl (2.0 MB view hashes)

Uploaded CPython 3.9 Windows x86

simpleaudio_patched-1.0.5-cp39-cp39-macosx_11_0_arm64.whl (2.0 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

simpleaudio_patched-1.0.5-cp39-cp39-macosx_10_9_x86_64.whl (2.0 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

simpleaudio_patched-1.0.5-cp38-cp38-win_amd64.whl (2.0 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

simpleaudio_patched-1.0.5-cp38-cp38-win32.whl (2.0 MB view hashes)

Uploaded CPython 3.8 Windows x86

simpleaudio_patched-1.0.5-cp38-cp38-macosx_11_0_arm64.whl (2.0 MB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

simpleaudio_patched-1.0.5-cp38-cp38-macosx_10_9_x86_64.whl (2.0 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page