A command line tool for otto's text-to-speech service from shuodedao.li
Project description
otto-tts
使用电棍otto活字印刷语音的中文文本转语音命令行工具
安装方式
从 PyPI 安装
pip install otto-tts
快速开始
基本使用
# 转换单个文本
otto-tts "你好,世界!"
# 转换多个文本
otto-tts "欧内的手" "好汉"
高级选项
# 指定输出目录和音频格式
otto-tts -O output -f wav "自定义文本"
完整用法
otto-tts [OPTIONS] TEXTS...
参数说明
TEXTS:要转换的一个或多个中文文本(必需参数)
选项说明
| 选项 | 简写 | 默认值 | 说明 |
|---|---|---|---|
--output-dir |
-O |
当前目录 | 音频文件输出目录 |
--format |
-f |
mp3 | 音频格式 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
otto_tts-0.1.2.tar.gz
(23.2 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
otto_tts-0.1.2-py3-none-any.whl
(22.5 kB
view details)
File details
Details for the file otto_tts-0.1.2.tar.gz.
File metadata
- Download URL: otto_tts-0.1.2.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f63bc66664373851aeb17509d80f2b6bbb60b00882b270c9ab8c52a0c210ce6
|
|
| MD5 |
a10c2bffef9bdbc1c7953e1562394702
|
|
| BLAKE2b-256 |
5969d03f8004f6877b391a0622eb2d8b51c8a57e83c01a863501ad95afce94fc
|
File details
Details for the file otto_tts-0.1.2-py3-none-any.whl.
File metadata
- Download URL: otto_tts-0.1.2-py3-none-any.whl
- Upload date:
- Size: 22.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e69bfd1fe53144ad0ef579f5984958f4c06df824777685ad37e4c603e685d155
|
|
| MD5 |
b4add626ea382343b938cd626dea0ffc
|
|
| BLAKE2b-256 |
693faefb18f56ce62674c17e237f16a2802068b46a038d8e41fcebc05287c71b
|