Page 2 of 3
Re: IntelliSpeech
Posted: Mon Nov 10, 2014 7:27 am
by Pako
Sem;colon wrote:...That's even more awsome!
btw. I think I fond a bug: On my pc, if I have my microphone not plugged in, I don't have a default recording device.
I get the following error when I start the plugin ...
Thank you for reporting this issue.
I do not have a chance to try it unfortunately.
Please try the attached version!
Pako
Re: IntelliSpeech
Posted: Mon Nov 10, 2014 8:40 am
by Pako
eirik226 wrote:Hey,
quick follow up question! Is it possible to use custom voice packages with this plugin? Say I bought and downloaded a voice I like, would it be possible to add that?
Thanks in advance!
I'm sorry, but this question I have not noticed.
I have to disappoint you. It is not possible.
User-entered text is sent to a Google server and the server returns an audio file.
Here is the page where you can try it:
https://www.google.com/intl/en/chrome/demos/speech.html
Pako
Re: IntelliSpeech
Posted: Mon Nov 10, 2014 7:08 pm
by Sem;colon
looks good, no error at start any more!
Re: IntelliSpeech
Posted: Tue Nov 11, 2014 5:10 am
by Pako
Sem;colon wrote:looks good, no error at start any more!
Thank you for your cooperation.
The fixed file is available for download in the opening post (version 0.3).
Pako
Re: IntelliSpeech
Posted: Sat May 09, 2015 8:06 pm
by kalia
Hello,
I get the following error on startup:
Code: Select all
Plugin: IntelliSpeech
Stack trace (most recent call last) (1694):
File "threading.pyc", line 504, in __bootstrap
File "threading.pyc", line 532, in __bootstrap_inner
File "threading.pyc", line 484, in run
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 354, in __MainLoop
self.__DoOneEvent()
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 326, in __DoOneEvent
self.HandleAction(action)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 289, in HandleAction
action()
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
self.returnValue = self.func(*self.args, **self.kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Classes\EventThread.py", line 142, in StartSession
actionThread.Func(actionThread.StartSession, 120)(filename)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 213, in Wrapper
eg.PrintStack()
Unhandled exception in WorkerThread <EventThread>:
Callers stack:
File "wx\_core.pyc", line 8010, in MainLoop
File "wx\_core.pyc", line 7306, in MainLoop
File "wx\_core.pyc", line 14669, in <lambda>
Traceback (most recent call last) (1694):
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 326, in __DoOneEvent
self.HandleAction(action)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 289, in HandleAction
action()
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
self.returnValue = self.func(*self.args, **self.kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Classes\EventThread.py", line 142, in StartSession
actionThread.Func(actionThread.StartSession, 120)(filename)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 214, in Wrapper
raise Exception("Timeout while calling %s" % func.__name__)
Exception: Timeout while calling StartSession
Using EG version 0.4.1.r1694 and plugin version 0.3.
Thanks,
Kalia
Re: IntelliSpeech
Posted: Sun May 10, 2015 5:41 am
by Pako
I am afraid that I can not solve this problem.
It is clear that it applies to any specific hardware or software on your computer.
Or you can provide some guidance as I can see the same error on my computer?
Pako
Re: IntelliSpeech
Posted: Sun May 10, 2015 5:17 pm
by kalia
Thank you for the reply Pako.
I think you are right about the hardware/software setup I have. I am using modified sound card drivers (kx audio drivers) which may be causing the problem.
On a side note, it appears that the IntelliSpeech plugin (with my unique setup) was also causing problems with the Webserver server plugin. Since I disabled the IntelliSpeech plugin, I do not have any problems with Webserver (
viewtopic.php?f=9&t=1663&start=105#p34747). I will continue testing for now. I might have to go back to the old Speech plugin.
Thanks,
Kalia
Re: IntelliSpeech
Posted: Sat Aug 01, 2015 7:34 pm
by yokel22
Has this plugin been broken for anyone else over the last few days? It's acting like google changed something. Commands fire fine but never get back a tts result.
Re: IntelliSpeech
Posted: Tue Aug 04, 2015 11:17 am
by TVBig
Yes, it is broken. These same symptoms.
Re: IntelliSpeech
Posted: Wed Aug 05, 2015 9:59 pm
by Sem;colon
...looks like Google put some capture in front of it.
http://translate.google.com/translate_t ... d&tl=en-us
Re: IntelliSpeech
Posted: Sun Sep 20, 2015 6:57 am
by Pako
The problem with the new API has been resolved some time ago and the plugin is fully functional again.
Pako
Re: IntelliSpeech
Posted: Wed Dec 30, 2015 9:13 am
by Pako
It seems that Google again has changed their (unofficial) API and therefore functionality of the plugin is now very limited.
Unfortunately, I have not found any solution yet.
Pako
Re: IntelliSpeech
Posted: Tue Mar 15, 2016 10:41 am
by TVBig
Pako wrote:It seems that Google again has changed their (unofficial) API and therefore functionality of the plugin is now very limited.
Unfortunately, I have not found any solution yet.
Pako
Hi,
I found a solution. Try it:
In the method
speakIt add to the dictionary
body:
and use this function:
Code: Select all
def Get_GoogleTTS_TK(t):
def RL(a,b):
for c in range(0,len(b)-2,3):
d = b[c+2]
d = ord(d)-87 if d>="a" else int(d)
d = a>>d if b[c+1]=="+" else a<<d
a = (a+d)&4294967295 if b[c]=="+" else a^d
return a
b = int(math.floor(random.random()*1000000))
a = t
c = "&tk="
d = []
for f in range(len(a)):
g = ord(a[f])
if g<=128:
d+= [g]
else:
if g<=2048:
d+= [g>>6|192]
elif g&64512==55296 and f+1<len(a) and ord(a[f+1])&64512==56320:
g = 65536+((g&1023)<<10)+ord(a[f+1])&1023
d+= [g>>18|240]
d+= [g>>12&63|128]
f+=1
else:
d+= [g>>12|224]
d+= [g>>6&63|128]
d+= [g&63|128]
a = b or 0
for e in d:
a+=e
a=RL(a,"+-a^+6")
a=RL(a,"+-3^+b+-f")
if a<=0:
a=(a&2147483647)+2147483648
a=int(a%1E6)
return str(a)+"."+str(a^b)
Re: IntelliSpeech
Posted: Fri Mar 18, 2016 9:47 am
by Pako
TVBig wrote:Hi,
I found a solution.
This is great news!
A big thank you!
I thought it would never work ...
Hopefully it will work continuously or at least a long time.
In the initial post is a link to download the corrected version (0.5).
Pako
Re: IntelliSpeech
Posted: Tue Aug 16, 2016 9:02 pm
by Sem;colon
Hi Pako, IntelliSpeech doesn't work with EG 0.5.0 yet
