How to install YouTube voice search plus quality TTS

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
User avatar
ETP
Posts: 1193
Joined: Tue 19 Oct 2010, 19:55
Location: UK

How to install YouTube voice search plus quality TTS

#1 Post by ETP »

WARNING - This is highly addictive!

Having recently included this in a slightly different form in Obedient Pup I found that I really missed it when I returned to using my other pups. It in fact uses YTinstant and is pretty simple to set up.

1. Install the browser extension "Select and Speak 0.2.1" and configure it as shown below, ensuring that you tick the boxes at the bottom.

2. Install the attached xdotool pet. (xdotool-2.20110530.1-3)

3. Create the following directory /root/noob/files and extract the attached script and icon into the files directory.

4. Drag the ytinstant script onto your desktop and assign the icon to it. Edit the text as shown in the screenshot.

5. If you are using JWM add the following line of code to the hidden file jwmrc-personal.

Code: Select all

<Key keycode="115">exec:/root/noob/files/ytinstant.sh</Key>
This will trigger the script using your left hand Windows key.

6. Restart X.

Testing:

Voice search - press the Windows key and when invited to speak try "London Beat 9 a.m." or "Magic Bus Live at Leeds". N/B You must close the tab before making a second search.

TTS - Select some text in your browser, then right click it and pick "Speak text". (This gives the same quality TTS as in Obedient Pup).
Attachments
xdotool-2.20110530.1-3.pet
(43.98 KiB) Downloaded 451 times
ytinstant.tar.gz
ytinstant.sh plus youtube.png
(16.9 KiB) Downloaded 410 times
select_and_speak.jpg
Select and speak settings
(27.18 KiB) Downloaded 669 times
ytinstant_icon.jpg
Precise 5.4.3 (k3.2.29) with chromium-25.0.1323.1-i686-1sl pet
(51.02 KiB) Downloaded 700 times
Regards ETP
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#2 Post by Ted Dog »

SWEET, does this work in 64bit as well, not a fan of google since the whole NSA datamining crap, and being ran by 'retired' NSA chief. :wink:

User avatar
ETP
Posts: 1193
Joined: Tue 19 Oct 2010, 19:55
Location: UK

How to install YouTube voice search plus quality TTS

#3 Post by ETP »

Ted Dog wrote:SWEET, does this work in 64bit as well, not a fan of google since the whole NSA datamining crap, and being ran by 'retired' NSA chief. :wink:
Hi Ted Dog,
32 or 64bit it matters not. I agree that there are some worrying aspects to Google but from the TTS & STT point of view, IMHO they are way ahead and constantly improving. I confess that I use Thunderbird in preference to Gmail and make no use of Google Drive. :)
Regards ETP
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#4 Post by Ted Dog »

Thanks, for all the time you put in this, and sharing what you learn. Looks like I bumped into my 'datalimit' on my 'unlimited' dataplan. I was downloading portus at an avg of 130Kps, now at dialup speeds, 15Kps good thing I used wget so I could restart it after they dropped my connection to switch me to SLLLLOOOOOWWWWWW mode. Had only 17m left now over 3hours.. :x

I could also be equipment overheating, it has cooled down to 104F from the high of 109F. My A/C has not been able to keep-up and I moved my chair directly under the vent, however the wifi box is still in the 'hot' zone

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#5 Post by amigo »

"TTS & STT point of view, IMHO they are way ahead and constantly improving"
The hardest part about implementing, especially, STT is getting enough people to speak known words so that models can be improved. Since google has implemented these services they get a very large volume of real voice data to work with, which no STT project has been able to do.

One can only hope that some STT project is able to do something similar.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#6 Post by greengeek »

Ted Dog wrote:not a fan of google since the whole NSA datamining crap, and being ran by 'retired' NSA chief. :wink:
Unfortunately the datamining is at an ISP level anyway - so I suspect it doesn't matter if you use google or duckduckgo these days...

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#7 Post by Ted Dog »

there is a LARGE difference in tracking logs and true datamining. Datamining requires large storage and lots of computer power, ISPs can't would not be in that field unless 'feeding into' one
Worked on a massive one for a top ten company/Organization in terms computing power and data base size Oracle DB company never tested it in the range we used, and sent people over to learn from us, gladly used our results to bump the range of usability took 6 fully maxed out hardrive highest powered IBM mainframes to hold the single database project, additional 2 IBMs for indexing, plus four more IBMs for redundancy, and 3 more for backups and inbound data feeds.

it took 6 months, to answer the primary datamining search at that time. The Generals (ah, sorry CEOs) where pissed at the dollars drained,since they predicted the outcomes based on experience and gut feel, they just proved themselves right :shock:
Google uses the same tools and setup as datamining for supporting the primary search engine.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#8 Post by greengeek »

I'm convinced that the ISPs (once they open their doors as now required by law...) just echo the data packets wherever they are told...

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#9 Post by greengeek »

BTW... nice work ETP
This new interface stuff you are bringing to puppy is really interesting to see... There's no doubt google and others are bringing new possibilities to the home computer environment, especially via the broadband connection. This is really using the cloud to advantage. Quite exciting stuff.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#10 Post by greengeek »

Hi ETP,
have you stumbled across any non-internet based TTS solutions that approach ispeech in quality?

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#11 Post by amigo »

svox-pico (from android) has nice voices and is as easy to implement as flite. Actually, most of the TTS implementations are easy enough -one could use a wrapper system to be able to use whichever one a user wanted.

User avatar
ETP
Posts: 1193
Joined: Tue 19 Oct 2010, 19:55
Location: UK

#12 Post by ETP »

greengeek wrote:Hi ETP,
have you stumbled across any non-internet based TTS solutions that approach ispeech in quality?
Not as yet but you do have the measure of me in that I do stumble about a bit. :lol:
Regards ETP
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]

Post Reply