Skip to main content

Simple, asynchronous audio playback for Python 3.

Project description

The simplaudio package provides cross-platform, dependency-free audio playback capability for Python 3 on OSX, Windows, and Linux.

MIT Licensed.

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-1.0.4.tar.gz (2.0 MB view hashes)

Uploaded source

Built Distributions

simpleaudio-1.0.4-cp38-cp38-win_amd64.whl (2.0 MB view hashes)

Uploaded cp38

simpleaudio-1.0.4-cp38-cp38-win32.whl (2.0 MB view hashes)

Uploaded cp38

simpleaudio-1.0.4-cp37-cp37m-win_amd64.whl (2.0 MB view hashes)

Uploaded cp37

simpleaudio-1.0.4-cp37-cp37m-win32.whl (2.0 MB view hashes)

Uploaded cp37

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page