Convert written text into natural-sounding audio in a variety of languages and voices.
How to add the Watson Text To Speech robot skill
- Load the most recent release of ARC (Get ARC).
- Press the Project tab from the top menu bar in ARC.
- Press Add Robot Skill from the button ribbon bar in ARC.
- Choose the Audio category tab.
- Press the Watson Text To Speech icon to add the robot skill to your project.
Don't have a robot yet?
Follow the Getting Started Guide to build a robot and use the Watson Text To Speech robot skill.
How to use the Watson Text To Speech robot skill
With Watson Text to Speech, you can generate human-like audio from written text. Improve the customer experience and engagement by interacting with users in multiple languages and tones. Increase content accessibility for users with different abilities, provide audio options to avoid distracted driving, or automate customer service interactions to increase efficiencies.
You will need an IBM cloud account (Free Tier)
Press "Create Resource" Text to Speech resource:Plugin Configuration:Quote:
The Lite plan gets you started with 10,000 characters per month at no cost.
- Press Change to configure Service Credentials i.e. URL and Api Key
- Select the default Voice for the Text To Speech
- Check the Active checkbox to enable the service
How to use examples :
EZ Script:
Note: A specific voice name can be copied from the debug window$text = "Hallo Wereld! Dit is Watson aan het woord"
#Text to speech will use the default voice specified in the configuration.
controlCommand("Watson Text To Speech", "SayWait", $text)
controlCommand("Watson Text To Speech", "SayWait2", "Bonjour le monde! C'est Watson qui parle", "fr-FR_ReneeV3Voice")
controlCommand("Watson Text To Speech", "SayWait2", "Ciao mondo! Questo è Watson che parla", "it-IT_FrancescaV3Voice")
controlCommand("Watson Text To Speech", "SayWait2", "Hello World! This is Watson speaking", "en-US_OliviaV3Voice")
Cheat Sheet:
Blocky example:
Related Robots
Related Questions
Speech Recognition - Language Issue
What Causes Dropping USB Connection 0?
Upgrade to ARC Pro
Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.
WOW! How about this! This is no simple thing. Lot's of work went into this. Thanks!!
Thanks Dave !
Before it was a single Watson plugin supporting multiple services: Speech To Text Text To Speech Visual Recognition Assistant Language Translator
It was too big and a little difficult to maintain, so I split in multiple service plugins and I'm fixing/releasing one by one.
The big one became the: Watson Speech To Text
Brilliant idea. I wouldn't expect less from you.
ControlCommand under javascript doesn't work even though it is on menu for selected items.
Example: ControlCommand("Watson Speech To Text", StartListening);
in Javascript gets error StartLisening not defined Start Stop etc all get the same error
You need to modify the auto menu generated command to put quotations around StartListening ControlCommand("Watson Speech To Text", "StartListening");
In EZ-Script this works fine ControlCommand("Watson Speech To Text", StartListening)
I think ARC will need an update to fix this until then if using the auto ControlCommand menu to generate Javascript remember to add quotes.
Arc doesn’t need an update - the robot skill needs the update. Arc’s compilers can’t guess when a quote is needed or not
My solution is put your own quotes around the word/string. All strings need quotes.