homeassistant-config-example/tts.yaml

20 lines
808 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# tts是文本转语音服务。text to speech
# 一般是用来把文字转为声音文件,然后发送给播放器,以实现语音播报的效果。
# 文件会保存在ha根目录的tts目录里可能需要定期去手动清除一下。
# mac用户可以直接用系统自带的say命令更加方便。
# 百度tts
# - platform: baidu
# #app_idapi_keysecret_key从百度云上注册得到
# app_id: !secret baidu_tts_app_id
# api_key: !secret baidu_tts_api_key
# secret_key: !secret baidu_tts_secret_key
# #speed语速0-9缺省5
# #pitch语调0-9缺省5
# #volume音量0-15缺省5
# #person声音013百度合成4百度合成缺省0
# speed: 5
# pitch: 5
# volume: 15
# person: 0