Skip to content

🗣️ Baidu Fanyi text-to-speech for HomeAssistant

License

Notifications You must be signed in to change notification settings

pdckxd/hass-baidu-fanyi-tts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Baidu Fanyi text-to-speech for HomeAssistant

本插件基于百度翻译的TTS服务,无需在百度语音开放平台申请appid等。

安装

下载并复制custom_components/baidu_fanyi_tts文件夹到HomeAssistant根目录下的custom_components文件夹

# Auto install via terminal shell
wget -q -O - https://cdn.jsdelivr.net/gh/al-one/hass-xiaomi-miot/install.sh | DOMAIN=baidu_fanyi_tts REPO_PATH=hasscc/hass-baidu-fanyi-tts bash -

配置

# configuration.yaml
tts:
  - platform: baidu_fanyi_tts
    language: zh # 默认语言(可选)
    speed: 5     # 默认语速(可选)

支持的语言

- `zh`  🇨🇳 汉语
- `cte` 🇨🇳 粤语
- `en`  🇬🇧 英语
- `ara` 🇸🇦 阿拉伯语
- `de`  🇩🇪 德语
- `fra` 🇫🇷 法语
- `kor` 🇰🇷 韩语
- `pt`  🇵🇹 葡萄牙语
- `ru`  🇷🇺 俄语
- `spa` 🇪🇸 西班牙语
- `th`  🇹🇭 泰语

About

🗣️ Baidu Fanyi text-to-speech for HomeAssistant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%