inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jun 26, 2014 14:27:19 GMT -8
This plugin is no longer available or supported. Just a fun prototype I decided to make while playing with the Chromes Web Speech API that I thought I would share for those that might like to play with it . I don't plan on submitting it to the library or adding much to it, as the API is a bit buggy and not supported in other browsers yet (Firefox is planing to add support I believe). Note: Chrome 33+ only. If it's not supported in your browser, then the button won't display. Download: Talking Posts
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 23, 2024 5:38:26 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jun 27, 2014 6:05:39 GMT -8
Hi, PeterI just tried this using the latest version of Chrome - And works fine - I really like this And fun to hear the poetry read out on the pages on my forum - Just a note I found adding the plugin to the top of the listed plugins on your forum helps the plugin work and thus showing the button to hear the posts Hehehe luv the female voice generated - would be cool if there an option to hear it read out male or female Cool plugin for chrome Steve
|
|
inherit
167837
0
Apr 30, 2013 15:32:12 GMT -8
leif
939
June 2011
akiglass
|
Post by leif on Jun 27, 2014 8:48:16 GMT -8
This is kickass! I'd love to have an option to switch the voice to UK Male or something!
Edit: Bug report: /post/20609 the /post/ links don't show the button.
|
|
Former Member
inherit
guest@proboards.com
159976
0
Nov 23, 2024 5:38:26 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 15, 2015 15:25:01 GMT -8
Hi, Any updates when it will work on other browsers? I use firefox and so do many of my members. I think that this would be awesome, especially for the visually impaired members that I have. It would such a service for them!
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 15, 2015 22:59:04 GMT -8
Hi, Any updates when it will work on other browsers? I use firefox and so do many of my members. I think that this would be awesome, especially for the visually impaired members that I have. It would such a service for them! developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API#Browser_compatibilityThe Web Speech API is pending for Firefox OS 2.1: a patch has been submitted (see bug 1032964).
|
|
#FF6600
Closet Spammer
31801
0
1
Nov 22, 2024 19:34:40 GMT -8
wildmaven
Fear the Flying Flocks of Fiery Fury!!
35,651
October 2004
wildmaven
Wildmaven's Mini-Profile
|
Post by wildmaven on Apr 9, 2015 9:29:46 GMT -8
Thanks for this! My members are going ape over it!
|
|
Former Member
inherit
guest@proboards.com
165779
0
Nov 23, 2024 5:38:26 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 24, 2015 14:19:27 GMT -8
hmm PeterShe is speaking in a foreign language to me lol Dave
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Dec 24, 2015 17:02:31 GMT -8
|
|
Former Member
inherit
guest@proboards.com
165779
0
Nov 23, 2024 5:38:26 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 24, 2015 18:29:42 GMT -8
Hi Peter Il await another tag for next instructions so can fix this However its Christmas so take your time and enjoy the festive period Dave
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 23, 2024 5:38:26 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 30, 2015 9:30:06 GMT -8
ok, brilliant but she sounds like german dictator, any chance of a different accent ?
She sounds german lol, speaking english.
edit: just tested again and she is actually speaking alittle german or austrian, she says a lot of 'kleine' words
edit: or french, is really difficult.
would be great if this could get fixed, who doesnt want talking posts !!!!
|
|
inherit
224902
0
Feb 15, 2017 12:50:39 GMT -8
Matt
2,940
September 2015
mattyboo1
|
Post by Matt on Jan 2, 2016 21:19:26 GMT -8
This is actually a really cool plugin, but she says the number in french Peter would be an awesome plugin though wondering if there is any way some of this could get fixed.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 23, 2024 5:38:26 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 5, 2016 4:23:22 GMT -8
ok, so i've discovered its a bloke on my friend's browser. and i think he's american. The plot thickens, who is this mystery person ?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jan 5, 2016 12:24:59 GMT -8
Neat plugin Peter , I just tested it and it was speaking in a thick Deutsch accent to me so I inspected the array of voices returned by getVoices and to my surprise Deutsch was set as default (go figure). I tested the feature in a console using the given example
var u = new SpeechSynthesisUtterance(); u.text = 'Hello World'; u.lang = 'en-US'; u.rate = 1.2; u.onend = function(event) { alert('Finished in ' + event.elapsedTime + ' seconds.'); } speechSynthesis.speak(u); and it spoke to me in American English (my browser's language setting: "en-US") so I figured I would set the lang equal to navigator.language and not explicitly set a voice or voiceURI but it still didn't work so I stepped through the chunker code and found this part was evaluating false when x was equal "lang"
for (x in utt) { if ( utt.hasOwnProperty(x) && x !== 'text') { newUtt[x] = utt[x]; } }
*still a mystery since ({lang:"en-GB"}).hasOwnProperty("lang") has no problem returning true
But after modifying that snippet to account for the "lang" special case this plugin will not shutup! LOL loving it!
for (x in utt) { if ( (utt.hasOwnProperty(x) || (x == 'lang' && utt["lang"])) && x !== 'text') { newUtt[x] = utt[x]; } } Wormopolis should adapt this for his chess plugin to give play by play on game playbacks, I did something similar on a vb program years ago and it was a joy listening to PGN replays while doing other stuff. tl;dr Summary://msg.voiceURI = "native"; msg.lang = navigator.language;
for (x in utt) { if ( (utt.hasOwnProperty(x) || (x == 'lang' && utt["lang"])) && x !== 'text') { newUtt[x] = utt[x]; } }
Edit:
Also added page change if(route && route.name && route.name.match(/^thread|search_results|all_recent_posts$/)){ this.add_hear_button(); pb.events.on('afterSearch', this.add_hear_button.bind(this)) } Peter, just noticed that the function has to be bound since it utilizes `this`
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 23, 2024 5:38:26 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 5, 2016 12:44:35 GMT -8
so is this getting updated ?
anyone ?
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Jan 7, 2016 11:04:21 GMT -8
so is this getting updated ? anyone ? Probably not.
|
|