Запрос текста в речь для OPUS 48 кГц игнорируется, и возвращается формат OPUS 24 кГц. Если запрашивается OPUS 16 кГц, OPUS 16 кГц возвращается правильно. Кто-нибудь видел подобные проблемы?
Спасибо
Фрагмент конфигурации ниже (GOLANG):
req := t2spb.SynthesizeSpeechRequest{
// Set the text input to be synthesized.
Input: &t2spb.SynthesisInput{
InputSource: &t2spb.SynthesisInput_Text{Text: text},
},
// Build the voice request, select the language code ("en-US") and the SSML
// voice gender ("neutral").
Voice: &t2spb.VoiceSelectionParams{
LanguageCode: "en-US",
SsmlGender: t2spb.SsmlVoiceGender_NEUTRAL,
},
// Select the type of audio file you want returned.
AudioConfig: &t2spb.AudioConfig{
AudioEncoding: t2spb.AudioEncoding_OGG_OPUS,
SampleRateHertz: int32(48000),
},
}