You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build a text-to-speech feature which will be able to read long articles. I found voice name 'Patrick, Male' suitable for my use case (tested on the console). When I try to pass the VoiceId from my Node.js application, the IDE prompts me that the VoiceId does not exist in the model.
Regression Issue
Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/package-name@version^3.693.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.10.0
Reproduction Steps
const params = {
OutputS3BucketName: process.env.AWS_TTS_BUCKET_NAME,
OutputS3KeyPrefix: keyPrefix,
OutputFormat: OutputFormat.MP3,
Text: textContent,
Engine: Engine.LONG_FORM,
// Voice Id for Patrick is missing from the model (This will result in an error):
VoiceId: VoiceId.Patrick,
};
// Start speech synthesis task
const command = new StartSpeechSynthesisTaskCommand(params);
const response = await this.pollyClient.send(command);
Observed Behavior
The IDE does not let me pass my desired VoiceId
Expected Behavior
I should be able to use my desired VoiceId
Possible Solution
Update the VoiceId model to include a value for 'Patrick'
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered:
I just checked VoiceId page in AWS JS SDK doc, it seems that AWS JS SDK doesn't support Patrick VoiceId.
Please choose other preferred VoiceId.
Thanks!
Maggie
zshzbh
added
guidance
General information and guidance, answers to FAQs, or recommended best practices/resources.
p2
This is a standard priority issue
closing-soon
This issue will automatically close in 4 days unless further comments are made.
and removed
needs-triage
This issue or PR still needs to be triaged.
bug
This issue is a bug.
labels
Nov 22, 2024
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Checkboxes for prior research
Describe the bug
I am trying to build a text-to-speech feature which will be able to read long articles. I found voice name 'Patrick, Male' suitable for my use case (tested on the console). When I try to pass the VoiceId from my Node.js application, the IDE prompts me that the VoiceId does not exist in the model.
Regression Issue
SDK version number
@aws-sdk/package-name@version^3.693.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.10.0
Reproduction Steps
Observed Behavior
The IDE does not let me pass my desired VoiceId
Expected Behavior
I should be able to use my desired VoiceId
Possible Solution
Update the VoiceId model to include a value for 'Patrick'
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: