Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TTS ¶
type TTS struct { Appkey string // Appkey Text string // 待合成的文本 Token string // 服务鉴权Token Voice string // 发音人,默认是xiaoyun Format string // 音频编码格式,支持的格式:pcm、wav、mp3,默认是pcm SampleRate string // 音频采样率,支持16000Hz、8000Hz,默认是16000Hz Volume int // volume 音量,范围是0~100,可选,默认50 SpeechRate int // SpeechRate 语速,范围是-500~500,可选,默认是0 PitchRate int // PitchRate 语调,范围是-500~500,可选,默认是0 }
Click to show internal directories.
Click to hide internal directories.