Skip to content

A simple audio playback Python extension - cross-platform, asynchronous, dependency-free

License

Notifications You must be signed in to change notification settings

cexen/py-simple-audio

 
 

Repository files navigation

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.

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.

About

A simple audio playback Python extension - cross-platform, asynchronous, dependency-free

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 73.1%
  • Python 21.5%
  • Shell 2.9%
  • Batchfile 2.5%