Open arya1302 opened 1 year ago
This is a great addition Arya. For some reasons, it doesn't work for the Welcome page. Also, I wonder how compatible is it with the screen reading app which may have this feature in built. We should gather some feedback on this from the community to check what they think.
Web Speech API is not supported by all web browsers. Is it just the welcome page ?. Also, using the Web Speech API may not be the best option for adding a text-to-speech feature, as it doesn't work as expected in all cases. I am not sure how many free text-to-speech alternatives are available.
Summary
This pull request represents an attempt to incorporate text-to-speech functionality into the Turing Way Book website. It has been implemented using EasySpeech, which utilizes the Web Speech API for its functionality. Most operating systems have their own speech synthesis systems, which are utilized by the API when available.
Points to Note:
Voice Quality: The Web Speech API relies on the speech synthesis system present in the user's operating system. As a result, the quality and naturalness of the generated voice can vary significantly. In some cases, the voices may sound robotic or unnatural due to the limitations of the OS-provided speech synthesis.
Browser Compatibility: It's important to note that the Web Speech API is not supported by all web browsers. Therefore, the Text-to-Speech functionality implemented in this PR may not work as expected on certain browsers.
List of Changes Made
What should a reviewer concentrate their feedback on?