You are viewing our Forum Archives. To view or take place in current topics click here.
The Tech Game Text-To-Speech ShoutBox!
Posted:

The Tech Game Text-To-Speech ShoutBox!Posted:

tortuga
  • Fairy Master
Status: Offline
Joined: Dec 25, 200914Year Member
Posts: 2,314
Reputation Power: 1686
Status: Offline
Joined: Dec 25, 200914Year Member
Posts: 2,314
Reputation Power: 1686

Edit: The updated version of this app can be found in the newer thread: Forums/t=7678387/clientside-textt...utbox.html.

The app is now only client-side! Building the server is no longer required, and you can easily have the shoutbox speak to you with just one line of code! See the above link.




The Tech Game Text-To-Speech ShoutBox!

Tired of having the shoutbox open on half of your screen? Don't have two monitors? Have to step away from your computer for a bit? You don't want to miss out on the captivating conversation taking place in the shoutbox! Let your computer read aloud the shouts to you instead!

Here is a demo:



The code is available on GitHub at [ Register or Signin to view external links. ] . Please see the README for installation and usage instructions.

How does it work?

With the shoutbox open in the current window, we execute a script that looks for changes in the shoutbox's div. Any new shouts are prepended to the div as children. The raw shout data is then sent to the server for processing. The server then speaks the cleaned up shout using the system's internal TTS engine and echos it back to the browser.

What else can it do?

The cool part is that we can get the server to do anything with the data. For example, we can run this program for several days to accumulate sample data, and then perform some basic statistics to find the lexical diversity of the shoutbox, or find the most common words in our vocabulary, or find the most common words to follow a word, etc. This method can be specified for a single user too.

No timestamps? No problem! (See: 1 2 3 4)

The client-side script also sends the timestamp of the shout (stored in the data-shout-time attribute) to the server. Check out the logs!
[14:52:20] Sensational says... REP ME :cry: :cry: :cry:
[14:52:21] prodigy says... will paaa
[14:52:21] Zenyatta says... @Madam I did dont worry
[14:52:39] Rareparrot says... @prodigy <3
[14:52:53] GT40 says... My nudes are fire wtf u talking about @Jay @Rareparrot
[14:53:20] Rareparrot says... @GT40 disgusting
[14:53:40] Jay says... @GT40 ew
[14:53:56] Zenyatta says... @Sensational :think:
[14:53:59] GT40 says... @Rareparrot think what you want :rant:

Thanks.


Last edited by tortuga ; edited 4 times in total

The following 14 users thanked tortuga for this useful post:

TOXIC (07-31-2017), Jimbo (02-25-2017), Deftones (02-22-2017), Wonderwall (01-29-2017), Rick (01-28-2017), gown (01-27-2017), RepBandit (01-26-2017), Roop (01-26-2017), Vauxhall (01-26-2017), Redacted (01-22-2017), Sage (01-22-2017), Xbox (01-22-2017), Devil (01-22-2017), Fold (01-22-2017)
#2. Posted:
Sage
  • Winter 2016
Status: Offline
Joined: Jun 26, 201211Year Member
Posts: 5,317
Reputation Power: 1113
Status: Offline
Joined: Jun 26, 201211Year Member
Posts: 5,317
Reputation Power: 1113
this is legit for us SB users danks!
#3. Posted:
Chat
  • 1000 Thanks
Status: Offline
Joined: Jan 10, 201212Year Member
Posts: 7,911
Reputation Power: 7437
Status: Offline
Joined: Jan 10, 201212Year Member
Posts: 7,911
Reputation Power: 7437
this is dope, great work
#4. Posted:
S7
  • Winter 2023
Status: Online
Joined: Dec 04, 201013Year Member
Posts: 2,578
Reputation Power: 4653
Status: Online
Joined: Dec 04, 201013Year Member
Posts: 2,578
Reputation Power: 4653
Nice work big guy keep it up
#5. Posted:
Exentric
  • Challenger
Status: Offline
Joined: Jul 17, 20167Year Member
Posts: 137
Reputation Power: 21
Status: Offline
Joined: Jul 17, 20167Year Member
Posts: 137
Reputation Power: 21
I might actually have to try this out, thanks for the post!
#6. Posted:
Deftones
  • Winner!
Status: Offline
Joined: May 16, 201310Year Member
Posts: 8,519
Reputation Power: 1554
Status: Offline
Joined: May 16, 201310Year Member
Posts: 8,519
Reputation Power: 1554
This is great work however I doubt I want John Cena memes in my ear 24/7
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.