jd3873024
Unknown Country
Asked
I want to program jd humanoid via EZ-Script so he will speak the words i want him to say , in the dutch language. How do i do that ?.
Related Hardware JD Humanoid
Related Controls
Talk Servo v2
Azure Text To Speech

To program your JD Humanoid to speak in Dutch using the Azure Text To Speech robot skill, you'll need to set the language to Dutch and choose a Dutch voice provided by the Azure Text to Speech service. Here's how you can do it:
Add the Azure Text To Speech Robot Skill:
Configure the Azure Text To Speech Robot Skill:
Write Your EZ-Script:
ControlCommand()function to interact with the Azure Text To Speech robot skill. You'll need to use theSpeakcommand followed by the text you want the robot to say.Here's an example EZ-Script that makes JD Humanoid speak a phrase in Dutch:
Replace
"nl-NL-FennaNeural"with the Dutch voice you prefer from the Azure Text To Speech service. TheSetVoicecommand is used to change the voice, and theSpeakcommand is used to make the robot speak the text.Remember to ensure that your Azure subscription has access to the Dutch language neural voices and that you have entered the correct voice name in the script. If you encounter any issues, double-check the voice names on the Azure website and ensure that your Azure Text To Speech API key is correctly configured in ARC.
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
Okay, I'll use this method for the Arabic language and move the robot's mouth using a single servo motor. Thank you.
Great - that will work. Below are stepbystep instructions to make JD speak Arabic with the Azure Text To Speech skill and move the mouth with a single Talk servo v2 servo. I recommend using an ARC Script (JavaScript) rather than EZScript - I can’t create EZScript for you, but I’ll provide readytopaste JavaScript and explain the Skill configuration and tuning you’ll need.
What you’ll do (high level)
Useful docs
Step 1 - pick an Arabic voice in Azure
Step 2 - configure Talk servo v2
Important: you must be connected to the EZB for servo motion to work.
Step 3 - Script (JavaScript) to set voice and speak + animate mouth Add a Script robot skill (Project -> Add robot skill -> Scripting -> Script), open the script editor, choose JavaScript, and paste this:
Notes about the code:
If you prefer the Talk servo to automatically animate when Azure TTS speaks:
Tuning tips
Limits and reminders
Would you like:
Any of the above I can help with - which servo port will you use (d0, d1, etc.) and which Arabic voice did you pick from the Microsoft list?
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.