I'm using the Google Cloud Text to Speech API, and the code works as expected for all languages I've tried so far. However, for this voice id: ms-MY-Wavenet-D, I'm getting this error in production:
{
}
The voice is listed on the website, and when I run the API call to fetch all voices, it's also listed:
{#7620
+"languageCodes": [
"ms-MY",
],
+"name": "ms-MY-Wavenet-D",
+"ssmlGender": "MALE",
+"naturalSampleRateHertz": 24000,
},
Has anyone else encountered this problem and is there anything that can be done?
Hi @lweaver10,
Welcome to Google Cloud Community!
The error code you encounter is likely caused by a missing entity, such as a file or directory. To resolve this issue, I recommend checking the affected file or its directory in your environment.
In addition, despite the code functioning for other voices, there could be a slight variation in how you're identifying the voice ID for ms-MY-Wavenet-D.
Review your code for any typos or inconsistencies in constructing the request for this particular voice in comparison to others.
Additional Recommendations:
If the above options don't work, you can contact Google Cloud Support to further look into your issue.
I hope the above information is helpful.
Hi Dawn, sorry, but the above information is not particularly helpful, except for the part about that it seems to be a missing file or directory on the Google side.
Any voice I try without a "Wavenet" type works fine, but it seems many of the Wavenet voices don't actually work.
As I mentioned in the post, I go the list of voices straight from the API, and for example:
[cont] So are the voices unavailable but listed incorrectly? Or is there something special about how we need to call 'Wavenet' voices in the API?
Thanks for your response.
Hi @lweaver10,
I understand that you're frustrated about the inconsistent Wavenet voices in the Text-to-Speech API. The information I provided didn't specifically address the Wavenet issue, but let's take a closer look at your points and see if we can find a solution together.
Potential Causes:
Recommendations:
If the above options don't work, you can contact Google Cloud Support to further look into your issue.
I hope the above information is helpful.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |