Skip to main content

Simple, asynchronous audio playback for Python 3.

Project description

NOTE: THIS PROJECT IS NOT CONSISTENTLY MAINTAINED

This version of the simpleaduio library has replaced the continuous integration pipeline to support more recent versions of various operating systems. We have worked on this as part of a senior capstone project, and will therefore no longer be actively maintining it after December 2025.

This version of the package is optimized for Mac, Windows and Linux for Python versions 3.10, 3.11, and 3.12.

simpleaudiohamiltoncs 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 <http://simpleaudiohamiltoncs.readthedocs.io/>_

Installation

This package is optimized to work with the IDE Thonny (https://thonny.org/). To install, open Thonny's package manager from the Tools dropdown menu, and search for 'simpleaudiohamiltoncs' on PyPI; click install.

Installation via pip (make sure the pip command is the right one for your platform and Python version)::

pip install simpleaudiohamiltoncs

See documentation for additional installation information.

Quick Function Check

.. code-block:: python

import simpleaudiohamiltoncs.functionchecks as fc

fc.LeftRightCheck.run()

See documentation for more on function checks.

Simple Example

.. code-block:: python

import simpleaudiohamiltoncs 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 <http://stackoverflow.com/>_ and tag it 'pysimpleaudiohamiltoncs'.

For bug reports, please create an issue on Github <https://github.com/hamiltron/py-simple-audio/issues>_ .

Big Thanks To ...

Jonas Kalderstam

Christophe Gohlke

Tom Christie

Mitch Johnson

Oluwayanmife Adeniran

Dave Deeley

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

simpleaudiohamiltoncs-1.1.0.tar.gz (2.0 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

simpleaudiohamiltoncs-1.1.0-cp312-cp312-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.12Windows x86-64

simpleaudiohamiltoncs-1.1.0-cp312-cp312-musllinux_1_2_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

simpleaudiohamiltoncs-1.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

simpleaudiohamiltoncs-1.1.0-cp312-cp312-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

simpleaudiohamiltoncs-1.1.0-cp311-cp311-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.11Windows x86-64

simpleaudiohamiltoncs-1.1.0-cp311-cp311-musllinux_1_2_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

simpleaudiohamiltoncs-1.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

simpleaudiohamiltoncs-1.1.0-cp311-cp311-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

simpleaudiohamiltoncs-1.1.0-cp310-cp310-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.10Windows x86-64

simpleaudiohamiltoncs-1.1.0-cp310-cp310-musllinux_1_2_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

simpleaudiohamiltoncs-1.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

simpleaudiohamiltoncs-1.1.0-cp310-cp310-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file simpleaudiohamiltoncs-1.1.0.tar.gz.

File metadata

  • Download URL: simpleaudiohamiltoncs-1.1.0.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for simpleaudiohamiltoncs-1.1.0.tar.gz
Algorithm Hash digest
SHA256 6058db2cffe40f2aacf4bee6bc7f545602935170f2ce7981f530e516b1de0ede
MD5 67277f22767a2a49927e0074a02f1c78
BLAKE2b-256 c2a2b1a33f409abc2df3fb77021c01294c4448c41e13fa72d64a6a29745dd613

See more details on using hashes here.

File details

Details for the file simpleaudiohamiltoncs-1.1.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for simpleaudiohamiltoncs-1.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2bb00fa2c4de399083b1c98653575c977f76c10581c38dad60103b5276ed82fc
MD5 bd618843d1969dd6d94ca04ea964b2d9
BLAKE2b-256 d66592eb46fe02a6a22d334fe0a9c6808510a2defbdc110e6e1818b46996902d

See more details on using hashes here.

File details

Details for the file simpleaudiohamiltoncs-1.1.0-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for simpleaudiohamiltoncs-1.1.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bdc8b6f729293e835619eb7d57aa97a8bc2598e84661f33a76bf0dda4ea1b2f9
MD5 073a894d39a4978f4f3e0aa49508994a
BLAKE2b-256 96595411130e6a1c6f8dfdca734bac92108510a0afdc628a091c756af4d26133

See more details on using hashes here.

File details

Details for the file simpleaudiohamiltoncs-1.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for simpleaudiohamiltoncs-1.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 000f7caafa65bd3f09692bdda67c59c45d1d62f60bdf62b08390b3ed89d79406
MD5 85735310d217d331dad89607053fa7e4
BLAKE2b-256 6249e39a453c01a39e92ef60d9d628b33f75e5d7aaf18789ee27733791772b8e

See more details on using hashes here.

File details

Details for the file simpleaudiohamiltoncs-1.1.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for simpleaudiohamiltoncs-1.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 186cd8879ab3d3d7bfbf5f0a94407c3bf1f87dd65e8373a8a09e4f575d9bf4c9
MD5 ecf26e0adcf370639ab6179b4e71a0fe
BLAKE2b-256 ae018db04bb4c3e727d3e1c1ef2d6601844cedd3aeaf23ac86a47ba6e5f2e3cd

See more details on using hashes here.

File details

Details for the file simpleaudiohamiltoncs-1.1.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for simpleaudiohamiltoncs-1.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f7879eb97a778de47a0479a5b5842c04f48153ed856e07570af260eadb91f38e
MD5 a18cb2af20ed63f4d64a2ba383035afb
BLAKE2b-256 26eff839511cb9a91585501bec41d520aa935a461f63ab635f51f6095b9ed074

See more details on using hashes here.

File details

Details for the file simpleaudiohamiltoncs-1.1.0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for simpleaudiohamiltoncs-1.1.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5d4b5c9714e25a7ff86633d684406d6d1649274a213fd47ad720fed473547b4d
MD5 f769fe7ee35e5f1a6349d9f5054934e3
BLAKE2b-256 2a7eba996f2e8e30d9b8493f171b84c413a7a540eff157bed09448bf2b099395

See more details on using hashes here.

File details

Details for the file simpleaudiohamiltoncs-1.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for simpleaudiohamiltoncs-1.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c432e8f7f77ce9bf8053044d4018e62c055add1a16b43fc6206237478493f868
MD5 26c1d8b3ae2be29917d271a177060fbc
BLAKE2b-256 57ce635c5add688a79a907a78b4eb0fbc49847133456faa74b42fbf7be6c3ae8

See more details on using hashes here.

File details

Details for the file simpleaudiohamiltoncs-1.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for simpleaudiohamiltoncs-1.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f6103e84c5a6f1de92b47ec138ad96e5eac63dec6996171ef9931a8a012274e5
MD5 b0fbca3a64d5632c4c86a5a7f58facc5
BLAKE2b-256 c3bf635b12fea129282f05647f6fbc57d0a3bc07fdd889b3399547c36730f374

See more details on using hashes here.

File details

Details for the file simpleaudiohamiltoncs-1.1.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for simpleaudiohamiltoncs-1.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7bfc20b0244e7b4756ef653b52da3d6066c9cba8a12192f9e2c4b44adf405348
MD5 e895216ef65a072e0a3fb14d7dca15c2
BLAKE2b-256 ffc4b73186f40638ce16e229813175bc92fa4bd79bfa5bf9c945c2352c88ab77

See more details on using hashes here.

File details

Details for the file simpleaudiohamiltoncs-1.1.0-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for simpleaudiohamiltoncs-1.1.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b2433d61a0a7a3565f604af69d5f1a0a0d8f485c2465d5883e98c5d1c99a1962
MD5 5e494c8d632cff4cf7516e73a859530b
BLAKE2b-256 f355757e17152dd0356acc47928498ebdf5285541db9495d56bd1a63fad9dc37

See more details on using hashes here.

File details

Details for the file simpleaudiohamiltoncs-1.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for simpleaudiohamiltoncs-1.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 63c58fcad89c0dc863911e46c87708156c30ced8ca23dc55ad65de616a7392d7
MD5 1d1eab19ee40c082be474211806ae43e
BLAKE2b-256 87377983e1644a51f6bc25205c60c3074c50cc9864d682e7dc734b31626d775b

See more details on using hashes here.

File details

Details for the file simpleaudiohamiltoncs-1.1.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for simpleaudiohamiltoncs-1.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9fbe4ef401deb47cb57c42d4ef43c6e634cf16c8803ac14a188d6535745ab27f
MD5 fad9925ab5b91d4baf88b169f8b39e5f
BLAKE2b-256 1f2de9742948c1b27765e9d613ee99839fcd793324787d42489babe61e0aeb4b

See more details on using hashes here.

Supported by

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