Here is something you might find interesting. This is a HTML5 text to speech shoutbox . This works best for chrome browser, and is a recent addition to HTML5. This is quite a useful little program that you might want to know better. It’s more of a toy at the moment, but I’m sure you can still find use for it.
Source Code: http://briankhuu.com/shoutbox/src/
Version list: V7 - reducing polling, and ability to turn off TTS V6 - Shows last updated V5 - Fixed crash when not find TTS V4 - Generate time elapsed since last post V3 - Limit number of stored post to 100 posts. V2 - Generate last updated status image V1 - Start of first working shoutbox
This is a mish mash of various codes to make a good platform for semi real time speech synth chatroom (Which would be good for web radio etc…)
Mashup of codes by Brian Khuu (briankhuu.com) 2014
Usage: Place these files into a properly configered php webserver in /shoutbox/ folder (script must be able to create files). Then run either shoutbox.html for a low speed shoutbox (updates every 10 sec), and shoutbox_TTS.html for a highspeed shoutbox(3 sec update) with Text To Speech of any incoming messages.
Concept: To possibly allow for semi-realtime conversation without having to read the messages. E.g. hosting a radio interview behind TOR
USES CODES FROM:
HMTL5 Speech Synthsis API: Mashed up by Brian Khuu briankhuu.com
Lifted codes and styling from:
For the backend, I used:
SIMPLE PHP GUESTBOOK v1.0 by Pasi Havia (email@example.com) INSTALL NOTES 1. Unzip guestbook.zip 2. Transfer all unzipped files to your webserver 3. Change guestbook.txt file attributes so that it is writable by public. For example 'chmod 646 guestbook.txt'. 4. You are ready to use! Just make a link to readbook.php or to addbook.php from your webpage. This guestbook is distributed under GPL license. Pasi Havia, 2nd April 2003