audiotsm2-0.2.1
توضیحات
A real-time audio time-scale modification library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | audiotsm2-0.2.1 |
| نام | audiotsm2 |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | WyattBlue |
| ایمیل نویسنده | wyattbluesandbox@gmail.com |
| آدرس صفحه اصلی | https://github.com/WyattBlue/audiotsm2 |
| آدرس اینترنتی | https://pypi.org/project/audiotsm2/ |
| مجوز | MIT |
<h1 style="center">AudioTSM 2</h1>
<h2 style="center">A real-time audio time-scale modification library</h2>
```terminal
pip install audiotsm2
```
### Basic usage
AudioTSM 2 is a light weight audio speed modification library. Below is a basic example showing how to reduce the speed of a wav file by half using the phase vocoder procedure.
```python
from audiotsm2 import phasevocoder
from audiotsm2.io.wav import WavReader, WavWriter
with WavReader(input_filename) as reader:
with WavWriter(output_filename, reader.channels, reader.samplerate) as writer:
phasevocoder(reader.channels, speed=0.5).run(reader, writer)
```
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
نحوه نصب
نصب پکیج whl audiotsm2-0.2.1:
pip install audiotsm2-0.2.1.whl
نصب پکیج tar.gz audiotsm2-0.2.1:
pip install audiotsm2-0.2.1.tar.gz