Skip to main content

A command line tool for otto's text-to-speech service from shuodedao.li

Project description

otto-tts

使用电棍otto活字印刷语音的中文文本转语音命令行工具

语音来自:https://shuodedao.li/

安装方式

从 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


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.1.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

otto_tts-0.1.1-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file otto_tts-0.1.1.tar.gz.

File metadata

  • Download URL: otto_tts-0.1.1.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

Hashes for otto_tts-0.1.1.tar.gz
Algorithm Hash digest
SHA256 59c39f6ef1c710ad613ebb0dee9f46c2736abd82db59e0e9c79629562b5ab82e
MD5 26b2727199568a7e0965a0607c5599e1
BLAKE2b-256 233aef2172ae8c7d8d7b6dccf99d87e0bb6b662c6489eac97e3f4aca5dfe2897

See more details on using hashes here.

File details

Details for the file otto_tts-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: otto_tts-0.1.1-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

Hashes for otto_tts-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb190b00c9179f2b1e3fabfd4337fbae3f12fd5902263045709da6673ea8cef1
MD5 6eff57c1007f4850cfb315010a9bcee5
BLAKE2b-256 d0bc963d5184a35edb52484ac755b9cf64237478e5aa4b0e792cccd53b322917

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page