Posts

Showing posts from September, 2013

Adding TTS ( Text to Speech ) to your website

Image
Hello my dear pal and friends, The post is all about how to add TTS a functionality of Text To Speech to your website.This feature makes the text written on a webpage to be spoken out from your speaker.This is especially helpful to visually impaired people and for them traversing website becomes easier. So let's begin.Let's explain the core of this functionality . The best way to add TTS to your website is to use "Speak. js " files and get them integrated to your project.We need 3 files to add TTS to our Website : 1)speakclient.js 2)speakworker.js 3)speakgenerator.js These 3 files can be found from github of speak.js @  https://github.com/kripken/speak.js Now put these files in your project web folder or to say just include these files in your project (say in js folder) . Also change the 3rd line  in speakClient.js to point to your JS folder : speakWorker = new Worker('js/speakWorker.js') Now what we gonna do is just we will ask users to just sele