epsound
Minimalistic cross-platform library for playing sounds (from wav files).
- Works on Windows and Linux.
- Supports devices with architecture x86, x64 and arm.
- Provides minimal latency when starting and stopping sound playback.
- Suitable for adding sound effects to a device where you want to ensure maximum response speed.
Repository: https://github.com/EPC-MSU/epsound
Prerequisites
Your Linux system should have the following installed to successfully complete:
$ sudo apt-get install libasound2-dev
Installation
Installation is very simple:
pip install epsound
Working example
import time
import epsound
if __name__ == "__main__":
# Let's create object of class WavPlayer and add sound from file with name "one" to it
player = epsound.WavPlayer()
player.add_sound(file="sound.wav", name="one")
# Then let's play sound
player.play("one")
time.sleep(1)
Metadata
Release files for epsound 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| epsound-0.1.1.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| epsound-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / epsound-0.1.1.tar.gz
| Download URL | epsound-0.1.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c9e98e29a9b08d9bc8842b6e4e2f8c9535ffa323360ddc0e3579165c351ee83
|
|
BLAKE2b-256 checksum How to use checksums |
66bb6be46015750aa55038e32668e301434d8ad1e0b8e891bc5d3c076f772d20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/3.10.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8
|
Release files / epsound-0.1.1-py3-none-any.whl
| Download URL | epsound-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89b361789ac205831cae196d8bac08a62e1842fbd8424e173975aa7d7bc97772
|
|
BLAKE2b-256 checksum How to use checksums |
7bc858317f7dcf75b04618230765dd72770b8d90d72ecc6bea116f739e0447f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/3.10.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8
|