function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vikram chandra dandamrajuvikram chandra dandamraju 

Hi Guys i want to implement the Text to speech functionality in visaulforce page can anyone suggest me the some ideas.

Yogeshwar TailorYogeshwar Tailor
Hi Vikram,

You can use google text to speech api.

https://cloud.google.com/text-to-speech/docs/basics

Logic is very simple take the text from your VF Page and pass that text to JSON input.
 
​'input':{     'text':'I\'ve added the event to your calendar.'   },

Thanks,
Yogesh
Dhanik L SahniDhanik L Sahni
You can use Browser's Speech API. You can check sample in salesforce lightning at Text-To-Speech (http://salesforcecodex.com/2019/08/add-text-to-speech-capability-in-lightning-component/)