Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TTS sample rate #458

Open
hipitihop opened this issue Jul 7, 2019 · 2 comments
Open

TTS sample rate #458

hipitihop opened this issue Jul 7, 2019 · 2 comments

Comments

@hipitihop
Copy link

The node UI parameters allows format selection but not sample rate. Is it possible to provide the sample rate via the incoming msg e.g.

msg.payload = "Hello world from Watson";
msg.sampleRate = 16000;
return msg;
@chughts
Copy link
Member

chughts commented Jul 8, 2019

Looks like whether you can or must supply sample rate is dependent on the selected format.

https://cloud.ibm.com/apidocs/text-to-speech#synthesize-audio-get

I have added this requirement to the backlog.

@hipitihop
Copy link
Author

@chughts Thanks. Indeed some formats must specify whereas others are optional and have defaults. I'm particularly interested in WAV because I need 16000 and the default is 22050

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants