Jump to content

Text-to-Speech for background listening to content (instead of having to read the page)


Recommended Posts

Posted

Text-to-Speech - for this you could pass the “Title + main content” to the speak() method on a button click as under -

var synthesis = window.speechSynthesis;

var utterance = new SpeechSynthesisUtterance();

utterance.text = text

synthesis.speak(utterance);

This would allow users to just click the Speak button on the page and do "other things” on the site or carry on with their “work” while the page is read for them in the background (without having to actually read the page). This would save the users a TON of time with a better UX.

Use Pause, Resume, Cancel and GetVoices methods (selected voice to be remembered in user's profile so users don't have to re-select the voice each time)

https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis

Posted

There are browser extensions (and some native OS functionalities) which perform this functionality. Is there a reason not to use that? A lot of what we try to aim to do is avoid duplicating efforts where possible and focus on the things which make communities great. 

Posted
3 hours ago, Jim M said:

There are browser extensions (and some native OS functionalities) which perform this functionality. Is there a reason not to use that? A lot of what we try to aim to do is avoid duplicating efforts where possible and focus on the things which make communities great. 

I suggested it because not all users are tech-savvy enough to know them or how to install and use them. A visual Speak button offers feedback to click to listen

Posted

Sometimes the no tech solution of telling your users things they may not know than reproducing functionality is better, especially for cases like this that they can learn something to better their lives that is applicable elsewhere too 🙂

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...