Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultVoice = "zh-CN-XiaoxiaoNeural"
)
View Source
const (
VoiceNameTemplate = "Microsoft Server Speech Text to Speech Voice (%s-%s, %s)"
)
Variables ¶
View Source
var ( BaseUrl = "speech.platform.bing.com/consumer/speech/synthesize/readaloud" TrustedClientToken = "6A5AA1D4EAFF4E9FB37E23D68491D6F4" EdgeWssEndpoint = fmt.Sprintf("wss://%s/edge/v1?TrustedClientToken=%s", BaseUrl, TrustedClientToken) VoiceListEndpoint = fmt.Sprintf("https://%s/voices/list?trustedclienttoken=%s", BaseUrl, TrustedClientToken) ChromiumFllVersion = "130.0.2849.68" ChromiumMajorVersion = strings.Split(ChromiumFllVersion, ".")[0] )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.