AI audio preparation tools, including audio trimming, duration calculation, and subtitle correction.
Project description
AI 音频预处理工具
功能描述
- 包含常见的AI音频预处理功能,如音频重采样、音频去空白、音频时长获取等。
pip安装
pip install audioprep
移除静音
from audioprep import silence
res = silence.trim_silence("530.mp3", "530_after.mp3")
print(res)
音频重采样
from audioprep import resample
res = resample.resample_audio("530.mp3", 16000)
print(res)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
audioprep-1.0.8.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file audioprep-1.0.8.tar.gz.
File metadata
- Download URL: audioprep-1.0.8.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b65ebed582d5d6e32329553bc7b045ebb0d83deac7c9ff94faa2f4a8250d10e9
|
|
| MD5 |
8a90eba254538cb10627e95c3af0accc
|
|
| BLAKE2b-256 |
06fd66a97d2c9e56446b6eff09944eda1abb4f7f2c46ba44010174cf5f6f0724
|
File details
Details for the file audioprep-1.0.8-py3-none-any.whl.
File metadata
- Download URL: audioprep-1.0.8-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89bd09b6d0bef300c77c1f13b35bc97444237227f6a90ad74ff50ce3d1e4a145
|
|
| MD5 |
2a5d5be088965734f3405767d99015ad
|
|
| BLAKE2b-256 |
44c5282bbb571a6e30c85a84a9a5eb97876c6a5caee775fac5511065d27f531e
|