9 comments found.
can this work on phone? and i dont really understand how you explained on how to use it on pdf
i also notice somethin on system it has only 3 voice to select but on phone it has more than 30 voices to select, when reading with this voice on phone it dose not read clear.
Can we use it to read pdf files? Any option to develop for pdf files?
Hi! pardon the delay, It is possible, however, the built in readers in the browsers will not allow you to change the html inside the reader because of how its structured, therefore the highlighting will not work. If you created your own custom reader (ie the dyslexic browser pdf viewer) you will be able to use it on pdfs.
Hello. I really liked the script. but before buying I wanted some tips and information.
Could you put it on a news blog with a player? play, pause and stop?
When buy could we adjust it?
Hi!! Yes you could!! The script is built as a JavaScript class, which allows you to use it however you want. It sounds like you’d want a play button that would read the entire blog. All you would need to do is create a button, and in javascript, when the button is pressed call to the class on the element youd want to read. There are methods built into the class that would stop, pause and play. This does not come with any buttons however, so you’d still need to do the button logic separately.
Thank you for this great code, if you please how I can use it with Arabic language
Our page is voicing text in English but numbers in hebrew. Why?
What voice do you have selected? if the voice selected is a different language from the intended text, it will read out the numbers in the selected voice, yet say words (semi) correctly
Hi! How to change the language?
Hi!! Sorry just saw this. The language depends on the voices you use, its not something changeable in the actual class.
Okay. Where to see available voices? Are there any voices more than english?
New update will have a setLanguage method!!
There is a reference to setOnEnd but there is no such function in docs. So how to avoid overlapping? Is there a onend event?
let reader = new Reader(); // construct the reader reader.setVoice(1); reader.setElement(read); //give the class an element to read reader.read(); //read the element reader.readOnFinish(console.log(“stop”));
Hi!! Yeah, this is a bit of an oversite haha, I will fix it up. you can still access the onend event using reader.#onend as it is a private member function. I will make sure to give you a patch. readOnFinish will only read HTMLElements after an HTMLElement has finished reading. Thank you for the heads up!! 
Email me at jimmybaldwin@foureyedjimmy.com and I will get you the updated Reader class as I am not quite sure how updates go on this site.
You did not send me the patch. How to use onEnd? This does not work: reader.readOnEnd(console.log(“stop”));
Hi!! Yeah I have the patch for you. Can you email me at the above email? I will send you the patch.
Your email is not public on your profile.
I did, from info@streamdps.com
Found it!! Just sent out the files. Let me know if you need anymore help!!
Does it use some API? Is it limited per x queries a month or something like that? How many voice options? Please include some details, not just technical stuff for developers.
it does not use an api its all native, you can have as many requests per month as you like as its all native, and the number of voices depends on the computer as it just grabs the voices that are available. for my computer on windows running google chrome I have 6 English voices and 22 voices total.
Hi There,
Would it be possible for you to send me an offline version of the docs or an example html page?
Thanks
no worries… I understand now, Reader.docs function… pretty cool.
Awesome!! Let me know if there is anything else I can help with!!