A modern CLI tool for audio conversion and processing
Project description
ASMR Toolkit
一个现代化的命令行工具,用于音频转换和处理。
特性
- 高质量音频转换为 Opus 格式
- 批量处理支持
- 多线程并行转换
- 保持目录结构
- 简单直观的命令行界面
安装
依赖
- Python 3.8+(推荐 Python 3.13)
- FFmpeg
使用 pip 或 uv 安装
# 使用 pip
pip install asmr-toolkit
# 或使用 uv(推荐)
uv pip install asmr-toolkit
快速开始
转换单个文件
asmr convert music.mp3
这将在同一目录下创建 music.opus.ogg 文件。
批量转换
# 转换目录中的所有音频文件(输出到 music_folder/out/)
asmr convert --recursive music_folder/
# 指定输出目录
asmr convert --output-dir converted/ --recursive music_folder/
# 设置比特率
asmr convert --bitrate 192k music.mp3
# 使用多线程加速处理
asmr convert --jobs 4 --recursive music_folder/
文档
完整文档请访问 docs/README.md。
贡献
欢迎贡献!请查看 docs/CONTRIBUTING.md 了解如何参与项目开发。本项目使用 uv 进行包管理,使用 Ruff 进行代码格式化。
许可证
本项目采用 MIT 许可证 - 详情请参阅 LICENSE 文件。
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
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 asmr_toolkit-1.0.10.tar.gz.
File metadata
- Download URL: asmr_toolkit-1.0.10.tar.gz
- Upload date:
- Size: 58.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14c6712e8828b92de2508e05239c0baf6495eaad8213ea0bb84f300481cee6bf
|
|
| MD5 |
d8a9b49ef110d36a1072cf0243384a8d
|
|
| BLAKE2b-256 |
b16887aa1a4e0b682213937c41a7bc30b39f1b9c8f64c5851cd0bbc8e8319ef9
|
Provenance
The following attestation bundles were made for asmr_toolkit-1.0.10.tar.gz:
Publisher:
publish.yml on xiao-cold/asmr-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
asmr_toolkit-1.0.10.tar.gz -
Subject digest:
14c6712e8828b92de2508e05239c0baf6495eaad8213ea0bb84f300481cee6bf - Sigstore transparency entry: 188885561
- Sigstore integration time:
-
Permalink:
xiao-cold/asmr-toolkit@0180ef8410a83afc24acb377b7ac7a65b1338ed8 -
Branch / Tag:
refs/tags/v1.0.10 - Owner: https://github.com/xiao-cold
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0180ef8410a83afc24acb377b7ac7a65b1338ed8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file asmr_toolkit-1.0.10-py3-none-any.whl.
File metadata
- Download URL: asmr_toolkit-1.0.10-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb8f78b098ea8908b609ba241878dc910d82ea9477c682a2f9e8ecfa1df28d80
|
|
| MD5 |
53ffb642a777c6c45ac1081ca9a91700
|
|
| BLAKE2b-256 |
1b46bec48a7cc7c079baeb508b913883136f3cedc055bc3bd472a6e8dc21f302
|
Provenance
The following attestation bundles were made for asmr_toolkit-1.0.10-py3-none-any.whl:
Publisher:
publish.yml on xiao-cold/asmr-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
asmr_toolkit-1.0.10-py3-none-any.whl -
Subject digest:
fb8f78b098ea8908b609ba241878dc910d82ea9477c682a2f9e8ecfa1df28d80 - Sigstore transparency entry: 188885567
- Sigstore integration time:
-
Permalink:
xiao-cold/asmr-toolkit@0180ef8410a83afc24acb377b7ac7a65b1338ed8 -
Branch / Tag:
refs/tags/v1.0.10 - Owner: https://github.com/xiao-cold
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0180ef8410a83afc24acb377b7ac7a65b1338ed8 -
Trigger Event:
push
-
Statement type: