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
I'm sure there are situations where that would come in handy, but eventGhost already has a text to speech plugin that works pretty well.
If you are using eventGhost anyway it might be more efficient.
Just add the plugin "speech" from the "other" category.
It's called in a manner similar to the eg OSD.
J
If you are using eventGhost anyway it might be more efficient.
Just add the plugin "speech" from the "other" category.
It's called in a manner similar to the eg OSD.
J
Re: Voice recognition / speech commands
Wow I had no idea, I love EG! You learn something new everyday! Maybe I should check out all the plugins before I open my big mouth
Andy
Andy
jitterjames wrote:I'm sure there are situations where that would come in handy, but eventGhost already has a text to speech plugin that works pretty well.
If you are using eventGhost anyway it might be more efficient.
Just add the plugin "speech" from the "other" category.
It's called in a manner similar to the eg OSD.
J
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: Voice recognition / speech commands
Here's version 0.4 complete with some sample xml.
There's still a lot to do but it's getting there!
Be careful editing the xml. Your commands should maintain the following structure (for now).
So:
- you must have a root node called <VoiceCommands>
- it must contain all your <commandGroup> nodes.
- and they contain lists of <command>
Mind the lowercase attributes: name="Whatever" and optional="true"
I recommend every command have at least 1 non-optional phrase in it, though technically you don't have to.
this works but is a bit iffy...
There's still a lot to do but it's getting there!
Be careful editing the xml. Your commands should maintain the following structure (for now).
Code: Select all
<VoiceCommands>
<commandGroup name="YOUR GROUPNAME HERE">
<command name="YOUR COMMAND NAME HERE">
...phrases and payloads here.
</command>
<command name="YOUR COMMAND...
.
.
</commandGroup>
<commandGroup name="YOUR NEXT GROUPNAME HERE">
ETC...
- you must have a root node called <VoiceCommands>
- it must contain all your <commandGroup> nodes.
- and they contain lists of <command>
Mind the lowercase attributes: name="Whatever" and optional="true"
I recommend every command have at least 1 non-optional phrase in it, though technically you don't have to.
Code: Select all
<command name="Move">
<phrase optional="true">please,kindly</phrase>
<phrase optional="true">Move,Go,Travel,Skip</phrase>
<payloadList>Up,Down,Left,Right</payloadList>
<payloadRange>1,20</payloadRange>
</command>- Attachments
-
- Broadcaster.zip
- updated version of plugin required to parse payloads
- (5.7 KiB) Downloaded 196 times
-
- VoxCommando0_4.zip
- VoxCommando 0.4 with payloads (ranges and lists) and optional phrases
- (631.42 KiB) Downloaded 210 times
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: Voice recognition / speech commands
oops. When I originally posted the new version of Vox I forgot to include the updated EG plugin. You need to put that in the eg plugins directory.
sorry about that.
J
sorry about that.
J
Re: Voice recognition / speech commands
im running xp sp3. I tryed running voxcammando but it says "error vox needs to close". Any help??
Re: Voice recognition / speech commands
Hi James, tested out the new version and it works great.
My voicecommands.xml has approximately 60 commands and when I start up the program, it takes about 30 seconds to go through the "loading and processing grammars..." before being able to function. Is there any way to reduce this wait time (other than reducing the number of commands
) as well as a way of turning off that message, maybe put it in the log section?
Thanks,
Andy
My voicecommands.xml has approximately 60 commands and when I start up the program, it takes about 30 seconds to go through the "loading and processing grammars..." before being able to function. Is there any way to reduce this wait time (other than reducing the number of commands
Thanks,
Andy
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: Voice recognition / speech commands
I don't know if it will run on xp or not. do you have sapi installed?carz181 wrote:im running xp sp3. I tryed running voxcammando but it says "error vox needs to close". Any help??
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: Voice recognition / speech commands
I don't think there is anything I can do at this point to reduce the startup time. Make sure you uncheck all the optional grammars (artist, album, song, and movies). Mine only takes a few seconds to start on a netbook with 1 gig of ram and an intel atom processor.andyss wrote:Hi James, tested out the new version and it works great.
My voicecommands.xml has approximately 60 commands and when I start up the program, it takes about 30 seconds to go through the "loading and processing grammars..." before being able to function. Is there any way to reduce this wait time (other than reducing the number of commands) as well as a way of turning off that message, maybe put it in the log section?
Thanks,
Andy
the only thing I can think of is if there is a bad command that is confusing it somehow. Send me your xml if you want and I'll try it here.
Re: Voice recognition / speech commands
I put it into the plug ins folder and it showes up under the plug in but i cant click ok.....? and i did install the speech thing
Re: Voice recognition / speech commands
After reading your post I figured it out. I guess the program doesn't like extra line breaks in the xml file. Works great now and takes only a couple of seconds to load up.
Andy
Andy
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: Voice recognition / speech commands
cool. I'm surprised actually that line breaks would do that. I'll have to do some tests.
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: Voice recognition / speech commands
I'm sorry but I don't understand this post.carz181 wrote:I put it into the plug ins folder and it showes up under the plug in but i cant click ok.....? and i did install the speech thing
Re: Voice recognition / speech commands
James, I offered to make some suggestions so hope you are still interested. Hope these are not too far-fetched.
Andy
I know these things would take time (if they are worthy of inclusion) but I just wanted to say thanks for your work on this, I'm really enjoying using the program.Implement a timer function (similar to intercom) so that after a certain amount of time of activating "Send Commands" it automatically turns off so that you could send it a command or two or three and not forget to manually turn it off and send commands you didn't want sent. I see it as another phrase that activates this e.g. to turn on Normal mode say "Start Listening" (or whatever) then you would need to turn it off manually by saying "Stop Listening" and to turn on "Timer" mode say something else, "Computer Timer" (or whatever) and it turns off after a user defined time limit like 5 seconds or a certain amount of time not getting a valid command or 5 seconds of silence. (Hope that comes across clear enough). Actually, come to think of it, some of this can probably be done with Eventghost by sending a Window Message to the "Send Commands" check box. If that's possible can you provide the required parameters (Message, wParam, lParam) for that specific control so I can try it out?
A Dictation mode where you could talk freely and (hopefully) it picks up what you say like Windows Speech Recognition does with the ability to toggle it on and off for certain functions or uses. I use VC and EG to mainly control Windows Media Centre, and I would love to be able to use such a mode for the Search Function of Media Centre.
Open Payloads. I don't know if you can or want to implement this as I kinda see the direction you are taking in that you want to limit the number of phrases to keep it more accurate. By Open Payloads I mean that you say a command with *any* payload and VC passes the command+payload to EG to do whatever you want.
Ability to define your own sounds with other files instead of replacing speechon.wav / speechoff.wav.
Poll at intervals for the default recording device and change accordingly. If you don't select (or in my case activate) the correct default device before VC starts you need to do so and restart VC.
Ability to edit your command groups/commands/phrases directly in the VC window.
Minimize to tray.
Ability to turn off the startup message "loading and processing grammar..."
Andy
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: Voice recognition / speech commands
Thanks Andy. These mostly seem like good ideas. Some of them I have been planning on anyway. Especially the open payload, which I will do soon. Of course you end up with a lot of errors this way but I'll leave it to the user if they want to use it. In some cases it will still be appropriate.
Other things can be done already with workarounds, but could be made easier. I'll get back to you soon with more details.
J
Other things can be done already with workarounds, but could be made easier. I'll get back to you soon with more details.
J
- jitterjames
- Experienced User
- Posts: 677
- Joined: Thu Aug 13, 2009 4:36 pm
- Location: Quebec, Canada
- Contact:
Re: Voice recognition / speech commands
Andy: If you have a minute...
can you please tell me 3 things.
-brand and model of bluetooth headset you are using
-brand and model of bluetooth dongle
-what stack. (vistas built in, or widcomm, or bluesoleil... don't know if there are others)
I just bought a motorola H390 and am having no joy getting it to work with vista.
was there anything else you had to do/hack to get it to work as a mic?
thanks, J
can you please tell me 3 things.
-brand and model of bluetooth headset you are using
-brand and model of bluetooth dongle
-what stack. (vistas built in, or widcomm, or bluesoleil... don't know if there are others)
I just bought a motorola H390 and am having no joy getting it to work with vista.
was there anything else you had to do/hack to get it to work as a mic?
thanks, J
