Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi,
Is there a way for reading the text and then narrating it by clicking any button in ThingWorx.
Thanks and regards,
Aditya Kumar
In short, I need to implement text to speech.
Hello,
The solution depends on your operating system, but the general approach would be to create a Java extension and either use some Java library for TTS, or execute some command line.
/ Constantine
@Constantine Thanks for the reply. But how to execute the powershell or command line using the service of Thingworx
For that you'll need to write a Java extension (you'll find plenty of information about it on this website). In this extension you can execute command lines using ProcessBuilder facility, for which you can also find plenty of examples, e.g. here.
/ Constantine