epsound-0.1.1
توضیحات
Sound player library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | epsound-0.1.1 |
| نام | epsound |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | EPC MSU |
| ایمیل نویسنده | goncharovush@physlab.ru |
| آدرس صفحه اصلی | https://github.com/EPC-MSU/epsound |
| آدرس اینترنتی | https://pypi.org/project/epsound/ |
| مجوز | MIT |
# 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:
```bash
$ sudo apt-get install libasound2-dev
```
## Installation
Installation is very simple:
```bash
pip install epsound
```
## Working example
```Python
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)
```
نیازمندی
| مقدار | نام |
|---|---|
| ==1.0.2 | simpleaudio |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.4 | Python |
نحوه نصب
نصب پکیج whl epsound-0.1.1:
pip install epsound-0.1.1.whl
نصب پکیج tar.gz epsound-0.1.1:
pip install epsound-0.1.1.tar.gz