1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

say: add Chinese translation

This commit is contained in:
wizarot 2019-03-15 11:43:11 +08:00 committed by Owen Voke
parent b252ce0a34
commit dbe04b2f08

23
pages.zh/osx/say.md Normal file
View file

@ -0,0 +1,23 @@
# say
> 将文本转换为语音.
- 大声说出一个句子:
`say {{"你好,世界!"}}`
- 播放文本文件内容音频:
`say -f {{文件名.txt}}`
- 用自定义的语音和语音速率说出一个句子:
`say -v {{语音库名}} -r {{每分钟多少词}} {{"你好,我可以说中文."}}`
- 列出可用的语音库:
`say --voice="?"`
- 创建文本的音频文件:
`say -o {{文件名.aiff}} {{"你好,请将录音内容输出到文件."}}`