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.

Vox Commando - Voice Commands

If you have a question or need help, this is the place to be.
Post Reply

What Language are you using VoxCommando with?

English
6
33%
French
0
No votes
German
7
39%
Swiss-German
0
No votes
Italian
1
6%
Spanish
2
11%
Dutch
0
No votes
Other
2
11%
 
Total votes: 18

Ize
Posts: 14
Joined: Mon Apr 12, 2010 7:41 am

Re: Vox Commando - Voice Commands

Post by Ize »

OK i updated to the latest version and got it to play me some Dexter :D

However the other two shows i have(spartacus & knight rider) won't work for some reason :(

I raised the playcount check to 20(cause i've seen all episodes of spartacus), it recognizes the command but won't play anything...

I haven't watched a single ep of knight rider but it won't do anything either... only dexter works but i guess it's a start... probably another error on my side :D
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: Vox Commando - Voice Commands

Post by jitterjames »

I'm probably stating the obvious here, but the shows would have to be scanned to the xbmc library, not just available as files.

Try creating a smart playlist in xbmc, see if you can get it to play one of those other shows. If you get it working, then open the .xsp file created by xbmc and compare it to the one we are creating with eventghost (c:\voxtemp.xsp) when you request the same show.

if you like, you can post your complete eventghost xml file as an attachment and I'll take a look to see if I can figure it out.

Obviously you need to make sure you are spelling the show exactly right, as it appears in the xbmc library.

I tested with "24" and "Bored to Death" and it works for me. It also works with a bunch of movies (different macro). All my movies seem to work except "Låt den rätte komma in". I can't seem to figure out how to deal with those characters in xbmc.
Ize
Posts: 14
Joined: Mon Apr 12, 2010 7:41 am

Re: Vox Commando - Voice Commands

Post by Ize »

Sounds good, im gonna try it and report back after work today :)

EDIT:
Couldn't test yesterday cause i had no time :(

Hopefully my new microphone will arrive today tho and i won't have to scream @ my netbook anymore to get something recognized :D

Btw. why can't i set the threshold below 50%? it always jumps to 50% again :/

Also how about a timeout for voice recognition?

Like you say HEY BITCH!(your command :P) to wake up the voice recognition stuff and then a timer starts counting down from 10 to 0 (configurable would be nice?) where, if you say a valid command it will set the timer back to 10

if the timer reaches 0 the voice stuff will be put on ignore again until you wake it up with a valid activation command :o
Ize
Posts: 14
Joined: Mon Apr 12, 2010 7:41 am

Re: Vox Commando - Voice Commands

Post by Ize »

I can't figure out how to create a smart playlist in the alaska skin :lol:

Im gonna switch skins later and try again :mrgreen:
Ize
Posts: 14
Joined: Mon Apr 12, 2010 7:41 am

Re: Vox Commando - Voice Commands

Post by Ize »

Meh still can't get it to work for other series...

However this works so far:

http://www.youtube.com/izeizebaby

first video :D
golauty
Posts: 3
Joined: Sun Mar 14, 2010 11:02 am

Re: Vox Commando - Voice Commands

Post by golauty »

This is really a great program.
Everything works perfect, but i have a question about the modes.
Is there an option to start VoxCommando in stand-by mode? Like a starting parameter or something like that.
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: Vox Commando - Voice Commands

Post by jitterjames »

golauty wrote: Is there an option to start VoxCommando in stand-by mode? Like a starting parameter or something like that.
No there is not. There absolutely should be and I will add that to the next version.

There is a solution though. You can send vox some (as yet undocumented) commands using the broadcaster (you must use the latest version of broadcaster which I attached in the first post). If you install the eg plugin: Task Create/Switch Events, you can detect when vox starts, wait a second or two (experiment for the shortest reliable wait) and then send the Standby command to Vox. Make sure the broadcast action in eg uses the same port that vox is listening on.

here's the macro but you'll need to adjust it, and make sure you have task plugin installed first.

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1194">
    <Macro Name="Vox standby on launch" Expanded="True">
        <Event Name="Task.NewWindow.VoxCommando" />
        <Action>
            EventGhost.Wait(2.0)
        </Action>
        <Action>
            BroadcastListener.Broadcast(u'Vox', u'Standby', 33000)
        </Action>
    </Macro>
</EventGhost>
I'll try to get an updated version with command line parameters up soon, but I'm in the middle of other "upgrades" which are 1/2 finished so it gets sticky for me.

If you want to work your own method out, the magic commands are:

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1194">
    <Folder Name="Vox Mode Commands" Expanded="True">
        <Macro Name="Vox On" Expanded="True">
            <Action>
                BroadcastListener.Broadcast(u'Vox', u'On', 33000)
            </Action>
        </Macro>
        <Macro Name="Vox Off" Expanded="True">
            <Action>
                BroadcastListener.Broadcast(u'Vox', u'Off', 33000)
            </Action>
        </Macro>
        <Macro Name="Vox Standby" Expanded="True">
            <Action>
                BroadcastListener.Broadcast(u'Vox', u'Standby', 33000)
            </Action>
        </Macro>
    </Folder>
</EventGhost>
golauty
Posts: 3
Joined: Sun Mar 14, 2010 11:02 am

Re: Vox Commando - Voice Commands

Post by golauty »

I tried it and it works. So thank you :)
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: Vox Commando - Voice Commands

Post by jitterjames »

no problem.

here's a version just for you with command line args. It's possible I have introduced a bug whilst playing with other things so I won't put this version up on the first post.

call it like this:

VoxCommando.exe (defaults to "On" mode)

or

VoxCommando.exe -Off

or

VoxCommando.exe -Standby

note the cmd line argument is case sensitive
Attachments
VoxCommando061special.zip
(172.75 KiB) Downloaded 140 times
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: Vox Commando - Voice Commands

Post by jitterjames »

if you like VoxCommando, consider doing some or all of the following:

-tell your friends / put a link to my youtube videos on your site.

-make a youtube video that shows how you are using it

-go to my vox videos on youtube and rate or make comments.

the more people that take an interest in the program the more I will develop it. Eventually I plan to create a proper website with downloads tutorials forum etc. and hopefully I will be able to generate some add revenue from the web site.

For now it just makes me happy to know that others are using it, and I appreciate suggestions on ways to improve it.
Ize
Posts: 14
Joined: Mon Apr 12, 2010 7:41 am

Re: Vox Commando - Voice Commands

Post by Ize »

Posted video with me using it - check
rate your videos - check
:lol:

anyway... i guess you overread the edit of my post above so im asking the same s**t again :mrgreen:

why can't i set the threshold below 50%? it always jumps to 50% again :/

Also how about a timeout for voice recognition?

Like you say HEY BITCH!(your command :P) to wake up the voice recognition stuff and then a timer starts counting down from 10 to 0 (configurable would be nice?) where, if you say a valid command it will set the timer back to 10

if the timer reaches 0 the voice stuff will be put on ignore again until you wake it up with a valid activation command :o
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: Vox Commando - Voice Commands

Post by jitterjames »

you are right, I did not notice that post. I'll get back to you soon.

thanks for making the video.

I have been a bit distracted lately by other things, but I will continue to work on vox, and I will address your questions shortly.

what kind of microphone did you get?
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: Vox Commando - Voice Commands

Post by jitterjames »

IzeIze BABY!

I set the minimum for confidenceto 50 because I didn't think anyone would want to go that low! I've attached a new version which lets you set it as low as you want. You may find that some commands are still not issued because first it has to pass microsoft's check that it thinks it got a valid command.

There is already an idle timeout function which can be set right below the confidence setting that works the way you describe. I never used it myself so its functionality was poor. I think I have improved it now, let me know. Currently when the timeout occurs it switches to standby mode. Eventually I could include an option to switch to either standby or off mode.

If you are using the timeout function, I recommend that you consider using the prefix mode instead. I have found this extremely useful when doing stuff around the house, rating songs while doing dishes etc.
Attachments
VoxCommando062special.zip
-allows lower confidence setting in options
-improved idle timeout function
(172.85 KiB) Downloaded 142 times
Ize
Posts: 14
Joined: Mon Apr 12, 2010 7:41 am

Re: Vox Commando - Voice Commands

Post by Ize »

Thanks i'll try it out later when im back from work :D

I got the logitech usb desktop mic... works fine but im trying to find a way to boost it's volume...

it works when im 2-3meters away but not always as you can see in my video :X
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: Vox Commando - Voice Commands

Post by jitterjames »

I think you are unlikely to get good results with anything over 2 meters, except maybe if you got an array microphone (but even then I'm not too sure). Maybe you can get the mic closer to the couch? You can get a 10 foot usb extension cable cheap. Even if you can boost the volume, you will be picking up a lot of unwanted sounds.
Post Reply