I can't believe it's already time for the next big release. Version 0.5 is here...
bug reports welcome.
edit: I've replaced the file that I uploaded earlier today with a new one. I basically just removed some log messages that I had forgotten to take out.
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Voice recognition / speech commands
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: Voice recognition / speech commands
- Attachments
-
- VoxCommando.zip
- version 0.500001
- (434.73 KiB) Downloaded 289 times
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: Voice recognition / speech commands
here's some useful stuff I should have mentioned. If VC detects multiple candidates for what you said it stores them so you can then say Option 1, OPtion 2 etc. to activate that alternate command. It also sends a message to eventghost that lists the options with their numbers. Here's an EG macro that displays that message:
you also need a command in VC called Option with a payloadRange of 1,8 so that you can actually ask for the option and be understood. You can change the phrases but the command has to be "Option" for it to work and it should have a single payloadRange.
Am I explaining this properly?
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1194">
<Macro Name="Display VoxCommando Message" Expanded="True">
<Event Name="Broadcast.Message" />
<Action>
EventGhost.PythonScript(u'fileencoding = "iso-8859-1"\neg.globals.message = eg.event.payload.decode(fileencoding)\nprint u"before:",eg.globals.message\n')
</Action>
<Action>
EventGhost.ShowOSD(u'{eg.globals.message}', u'0;-48;0;0;0;700;0;0;0;0;3;2;1;34;Arial', (255, 255, 255), (0, 0, 0), 4, (0, 0), 0, 5.0, True)
</Action>
</Macro>
</EventGhost>Code: Select all
<command name="Option">
<phrase>Option,Select Option</phrase>
<payloadRange>1,10</payloadRange>
</command>Am I explaining this properly?
Re: Voice recognition / speech commands
Something happend between version 0.4 and 0.5.
When i say "set volume 1" in version 0.4, it broadcast "Set Volume 1".
When i say "set volume 1" in version 0.5, it broadcast "Set Volume".
Can┬┤t get it work in version 0.5, just switch between the two versions.
Sorry for my very bad English.
/Bump
When i say "set volume 1" in version 0.4, it broadcast "Set Volume 1".
When i say "set volume 1" in version 0.5, it broadcast "Set Volume".
Can┬┤t get it work in version 0.5, just switch between the two versions.
Sorry for my very bad English.
/Bump
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: Voice recognition / speech commands
I recommend you go back to .4 for now then.
I'll upload an updated version with instructions soon, but I'm pretty busy with other stuff right now so it'll take a few days.
J
I'll upload an updated version with instructions soon, but I'm pretty busy with other stuff right now so it'll take a few days.
J
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: Voice recognition / speech commands
I've started a new thread since this one is getting confusing, and wasn't originally intended for Vox anyway.
see here: http://www.eventghost.org/forum/viewtop ... f=2&t=2063
I recommend you start from scratch first and test that payloads etc. are working properly before you reconfigure, or try to adapt your old xml.
Let me know how it goes.
see here: http://www.eventghost.org/forum/viewtop ... f=2&t=2063
I recommend you start from scratch first and test that payloads etc. are working properly before you reconfigure, or try to adapt your old xml.
Let me know how it goes.
Re: Voice recognition / speech commands
Hi guys!
Does anybody have any idea what kind of plugin can I use instead of VoxCommando?
I would like to give voice command for EG but in my language (Hungarian) and the Voxcommando does not support it.
Can I connect somehow the google speech recognition into the EG? (Google has hungarian language support)
like this --> https://chrome.google.com/webstore/det ... ncockgcmjh
or this Chrome plugin-->
https://chrome.google.com/webstore/deta ... jcdcbibeml
Thank you in advance for every help!
Does anybody have any idea what kind of plugin can I use instead of VoxCommando?
I would like to give voice command for EG but in my language (Hungarian) and the Voxcommando does not support it.
Can I connect somehow the google speech recognition into the EG? (Google has hungarian language support)
like this --> https://chrome.google.com/webstore/det ... ncockgcmjh
or this Chrome plugin-->
https://chrome.google.com/webstore/deta ... jcdcbibeml
Thank you in advance for every help!
Re: Voice recognition / speech commands
I think speachpad supports Hungarian
https://chrome.google.com/webstore/deta ... pdcf?hl=en
Language Codes
https://speechpad.pw/blog/speech-input-languages/
There is an option to "output to clipboard". If selected you could use the following code in EG to get the clipboard contents
To launch the speech tab right click the extension and click "Speachpad" or from "chrome://extensions" scroll to the bottom and select keyboard shortcuts and and set a keyboard shortcut to launch the speachpad tab.
There are many more options if you have an android device
https://chrome.google.com/webstore/deta ... pdcf?hl=en
Language Codes
https://speechpad.pw/blog/speech-input-languages/
There is an option to "output to clipboard". If selected you could use the following code in EG to get the clipboard contents
Code: Select all
import win32clipboard
# get clipboard data
win32clipboard.OpenClipboard()
eg.globals.clipboard = win32clipboard.GetClipboardData()
win32clipboard.CloseClipboard()
print eg.globals.clipboard
There are many more options if you have an android device
