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.

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 or email simpleaudio.bugs@gmail.com.

Big Thanks To …

Jonas Kalderstam for his explanation of how to get Windows 64-bit builds working.

Christophe Gohlke for his help getting Windows builds working for 3.5.

Tom Christie for his extensive Python package distribution tutorial.

Many others for their contributions, documentation, examples, and more.

Release Notes

  • 1.0.1

    • Fixed OSX and Linux 8-bit playback

  • 1.0.0

    • Initial Release

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.1.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.

simpleaudio-1.0.1-cp35-none-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.5Windows x86-64

simpleaudio-1.0.1-cp35-none-win32.whl (2.0 MB view details)

Uploaded CPython 3.5Windows x86

simpleaudio-1.0.1-cp35-cp35m-macosx_10_6_intel.whl (2.0 MB view details)

Uploaded CPython 3.5mmacOS 10.6+ Intel (x86-64, i386)

simpleaudio-1.0.1-cp34-none-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.4Windows x86-64

simpleaudio-1.0.1-cp34-none-win32.whl (2.0 MB view details)

Uploaded CPython 3.4Windows x86

simpleaudio-1.0.1-cp34-cp34m-macosx_10_6_intel.whl (2.0 MB view details)

Uploaded CPython 3.4mmacOS 10.6+ Intel (x86-64, i386)

simpleaudio-1.0.1-cp33-none-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.3Windows x86-64

simpleaudio-1.0.1-cp33-none-win32.whl (2.0 MB view details)

Uploaded CPython 3.3Windows x86

simpleaudio-1.0.1-cp33-cp33m-macosx_10_6_intel.whl (2.0 MB view details)

Uploaded CPython 3.3mmacOS 10.6+ Intel (x86-64, i386)

File details

Details for the file simpleaudio-1.0.1.tar.gz.

File metadata

  • Download URL: simpleaudio-1.0.1.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for simpleaudio-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6cc84d50d8192c074505c719722138ae6ea987fd8eee7fd930237cb308962604
MD5 8c1c82fdf7ebba1a79b1243651e451d7
BLAKE2b-256 12f6327c1af94062a6a6a5ff06dcf9dc689ed81aa07ae757cca3438c3c9e50fe

See more details on using hashes here.

File details

Details for the file simpleaudio-1.0.1-cp35-none-win_amd64.whl.

File metadata

File hashes

Hashes for simpleaudio-1.0.1-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 742a3bd75c5fa0b1432e0ef8c7ff34ff5c81ae0d646697a4a8249f4b678c8be8
MD5 42c2401873dfb37816db07f71d1688eb
BLAKE2b-256 482ef2122359079202629a0b460cc03f9133368d2454856c5d51cc923cc981d4

See more details on using hashes here.

File details

Details for the file simpleaudio-1.0.1-cp35-none-win32.whl.

File metadata

File hashes

Hashes for simpleaudio-1.0.1-cp35-none-win32.whl
Algorithm Hash digest
SHA256 c83012a521344c64d00439ff3ff3ac30287afa0e261352c4c71f821c83cc51ca
MD5 32479e726cb7f07e5a5f0ed98e081424
BLAKE2b-256 7b9212da56e00f1caf59d543c48f08c41f181c341f64701827053240105c673a

See more details on using hashes here.

File details

Details for the file simpleaudio-1.0.1-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for simpleaudio-1.0.1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 c20b381a46216b95b097f083da69d6e51665f0c8ac3e86af946a3a8b754d4b32
MD5 3bb4bb9cc9372ebdf43553b8cf7b1c45
BLAKE2b-256 e9f9168ff68187c0894196125bd63ab2734d26109a0de7536cfbc6ce8d45ae53

See more details on using hashes here.

File details

Details for the file simpleaudio-1.0.1-cp34-none-win_amd64.whl.

File metadata

File hashes

Hashes for simpleaudio-1.0.1-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 33c4c9c09b301ea091b158f815d209c3adb1f3217f452cfc4bf3743343abe2e9
MD5 ff622e7c5b7588d2c23889b8faaa9da3
BLAKE2b-256 7d5df331d475fa760c06de3ce918f38dc739ac2d59a497cec4d47e1cd0c54670

See more details on using hashes here.

File details

Details for the file simpleaudio-1.0.1-cp34-none-win32.whl.

File metadata

File hashes

Hashes for simpleaudio-1.0.1-cp34-none-win32.whl
Algorithm Hash digest
SHA256 629b4694434c20ea1770796e90caa5186ce6a8c4d5067f0720a532d78b3123b4
MD5 123714f12b634cb450b2426bae92a5ac
BLAKE2b-256 abc57098fc8bef71a5fea232816d58279031896019be6dafa166bc9ed96f9602

See more details on using hashes here.

File details

Details for the file simpleaudio-1.0.1-cp34-cp34m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for simpleaudio-1.0.1-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 426a80e7b0908dbd968439735fefdf40ab32f2b1f53b4e6656035c1e4b080806
MD5 8439ae91668efcb58a70463764e2d88d
BLAKE2b-256 ecf91529dea3c3217b69674ac84cbbca865d6deed9706c70eea0dcb5ad601a48

See more details on using hashes here.

File details

Details for the file simpleaudio-1.0.1-cp33-none-win_amd64.whl.

File metadata

File hashes

Hashes for simpleaudio-1.0.1-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 b0005dbc4e86c5c8ea7b627a0c40bba7d32fd83cfdf7261053dcf2176a31c342
MD5 f179c862166d7c96266f2ecddec47a36
BLAKE2b-256 e93fd0ced02d2a4a799ced904efc4433673c147d9bd3a830adf0fe96766902d9

See more details on using hashes here.

File details

Details for the file simpleaudio-1.0.1-cp33-none-win32.whl.

File metadata

File hashes

Hashes for simpleaudio-1.0.1-cp33-none-win32.whl
Algorithm Hash digest
SHA256 ff24187c9bba3f37012ba73e1b573332bbb5409b68d9a3dff6d586cceea1b686
MD5 270bae7d8147a4fc35838046784a40e6
BLAKE2b-256 91954ccce142f00fe9061690875824a267912bda7ee629aa736aa08bf1672b6d

See more details on using hashes here.

File details

Details for the file simpleaudio-1.0.1-cp33-cp33m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for simpleaudio-1.0.1-cp33-cp33m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 99ab8e59dc17008456165f3c5a094091e8bbe6e74bfb7b75306c0f1de99f0951
MD5 716477fdee44fd15c9303b849c07f782
BLAKE2b-256 c924e1b0a6aa373605da70015466e4a49766a7af60400d32535db73275e2441c

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