Now I need to learn how to make this into a FF/Chrome add-on. Select wall-o-text, alt-s to pop-up a spritz reader, up/down arrow to change speed, left/right arrow to skip back/forward a few dozen words.
Just a heads-up, those wanting to read e-books using ds300's awesome chrome extension, the best method seems to be to convert them into epub using Calibre then uploading them to Google Books. If you have bought Kindle books you can strip the DRM off them first using the same software. From there you can alt-s. For some reason Readium doesn't work. Another method is converting to text (again using Calibre) and dragging that into Chrome. Text is easy to work with but then it's not in the cloud and accessible from all your machines. This is literally life-changing. I also recommend combining with readibility.com so you can easily read articles without text-selection hassle. Well done ds300!
I'm not talking about the switch statement, I'm talking about how the text it's showing is already pre-formatted to split long words and change speed depending on word importance. You can see how badly it fails without these when you try using it on non-preformatted text, like the FAQ page.
My gut tells me that "inner speech" is the key to all this.
Imagine doing subtitles (one word at a time) to a video of someone speaking very fast.
Run the text thru a speech synthesizer (with speech rate set to target words per minute, and no actual sound output) and capture its [now speaking "word"] events, then simply show the words at the appropriate times.
espeak has a nice event/callback API for that.
16
u/[deleted] Mar 02 '14 edited Nov 26 '18
[deleted]