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

nicomgd/py-simple-audio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

    • Initial Release

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 76.7%
  • Python 23.3%