arkryal Wrote:lettered jump-lists are now working using sendkeys.
The spoken commands are a bit tricky (as I said, some letters sound the same)...
Thanks for posting this but it wont work for me, I'm not sure why. XBMC responds correctly to actually pressing shift-Letter on the actual keyboard, but when I use voice commands to do it it doesn't work. I've tried all sorts but it just never responds. In addition, I tried testing it by just opening in notepad and seeing if these commands would invoke keystrokes in there, i.e I expect if I say "Jump To Mike" that I'll see an M typed in notepad, that doesn't happen.
Here's my entire voicecommands.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--voicecommands.xml-->
<!--This should be in the same folder as VoxCommando.exe.-->
<VoiceCommands>
<commandGroup name="XBMC Testing Functions">
<command name="Action(11)">
<phrase>info,more</phrase>
</command>
<command name="Action(10)">
<phrase>return</phrase>
</command>
<command name="Action(27)">
<phrase>Codec</phrase>
</command>
<command name="Action(25)">
<phrase>Subtitles,sub,subs,caption,show text</phrase>
</command>
<command name="Action(12)">
<phrase>pause,unpause,wait,resume</phrase>
</command>
<command name="Action(13)">
<phrase>stop</phrase>
</command>
<command name="Mute">
<phrase>mute,silence,shut up</phrase>
</command>
<command name="Exit">
<phrase>close x b m c, shutdown</phrase>
</command>
<command name="Action(79)">
<phrase>play</phrase>
</command>
<command name="Action(20)">
<phrase>forward</phrase>
</command>
<command name="Action(22)">
<phrase>skip forward</phrase>
</command>
<command name="Action(21)">
<phrase>back</phrase>
</command>
<command name="Action(23)">
<phrase>skip Back</phrase>
</command>
<command name="execbuiltin(Action(fastforward))">
<phrase>Fast Forward</phrase>
</command>
<command name="execbuiltin(Action(rewind))">
<phrase>Rewind</phrase>
</command>
<command name="execbuiltin(Action(increaserating))">
<phrase>I like it, I love it</phrase>
</command>
<command name="execbuiltin(Action(decreaserating))">
<phrase>I don't like it, I hate it, it sucks, it blows</phrase>
</command>
<command name="execbuiltin(Action(select))">
<phrase>Select</phrase>
</command>
<command name="execbuiltin(EjectTray())">
<phrase>Open Tray, Open Drive, Close Tray, Close Drive</phrase>
</command>
</commandGroup>
<commandGroup name="Launch XBMC">
<command name="D:\Program Files\XBMC\XBMC.exe">
<phrase>x b m c</phrase>
</command>
</commandGroup>
<commandGroup name="XBMC Jump To windows">
<command name="execbuiltin(ActivateWindow">
<phrase>Menu</phrase>
<payloadFromXML>C:\Users\chris\Desktop\VoxCommando 073 english\payloads\XBMCwindows.xml</payloadFromXML>
</command>
<command name="execbuiltin(ActivateWindow(VideoLibrary,RecentlyAddedEpisodes))">
<phrase>new tv, new shows, new episodes, latest tv, latest episodes</phrase>
</command>
<command name="execbuiltin(ActivateWindow(VideoLibrary,TVShowTitles))">
<phrase>tv shows, tee vee shows, television</phrase>
</command>
<command name="execbuiltin(ActivateWindow(VideoLibrary,TVShowYear))">
<phrase>tv by year</phrase>
</command>
<command name="execbuiltin(ActivateWindow(VideoLibrary,TVShowActors))">
<phrase>tv by actors</phrase>
</command>
<command name="execbuiltin(ActivateWindow(VideoLibrary,TVShowGenres))">
<phrase>tv by genre</phrase>
</command>
<command name="execbuiltin(ActivateWindow(videolibrary,movietitles))">
<phrase>movies by title, movies, films, film</phrase>
</command>
<command name="execbuiltin(ActivateWindow(videolibrary,RecentlyAddedMovies ))">
<phrase>new movies, new films, recently added films</phrase>
</command>
<command name="execbuiltin(ActivateWindow(videolibrary,moviegenres))">
<phrase>movies by genre</phrase>
</command>
<command name="execbuiltin(ActivateWindow(videolibrary,movieyear))">
<phrase>movies by year</phrase>
</command>
</commandGroup>
<commandGroup name="XBMC Simple Navigation">
<command name="action(1)">
<phrase>left</phrase>
</command>
<command name="action(2)">
<phrase>right</phrase>
</command>
<command name="action(3)">
<phrase>up</phrase>
</command>
<command name="action(4)">
<phrase>down</phrase>
</command>
</commandGroup>
<commandGroup name="SENDKEYS misc">
<command name="+A">
<phrase>Jump To Alpha</phrase>
</command>
<command name="+B">
<phrase>Jump To Beta</phrase>
</command>
<command name="+C">
<phrase>Jump To Charlie</phrase>
</command>
<command name="+D">
<phrase>Jump To Delta</phrase>
</command>
<command name="+E">
<phrase>Jump To Echo</phrase>
</command>
<command name="+F">
<phrase>Jump To Foxtrot</phrase>
</command>
<command name="+G">
<phrase>Jump To Golf</phrase>
</command>
<command name="+H">
<phrase>Jump To Hotel</phrase>
</command>
<command name="+I">
<phrase>Jump To Indigo</phrase>
</command>
<command name="+J">
<phrase>Jump To Juliet</phrase>
</command>
<command name="+K">
<phrase>Jump To Kilo</phrase>
</command>
<command name="+L">
<phrase>Jump To Lema</phrase>
</command>
<command name="+M">
<phrase>Jump To Mike</phrase>
</command>
<command name="+N">
<phrase>Jump To November</phrase>
</command>
<command name="+O">
<phrase>Jump To Oscar</phrase>
</command>
<command name="+P">
<phrase>Jump To Papa</phrase>
</command>
<command name="+Q">
<phrase>Jump To Quebec</phrase>
</command>
<command name="+R">
<phrase>Jump To Romeo</phrase>
</command>
<command name="+S">
<phrase>Jump To Sierra</phrase>
</command>
<command name="+T">
<phrase>Jump To Tango</phrase>
</command>
<command name="+U">
<phrase>Jump To Uniform</phrase>
</command>
<command name="+V">
<phrase>Jump To Victor</phrase>
</command>
<command name="+W">
<phrase>Jump To Whiskey</phrase>
</command>
<command name="+X">
<phrase>Jump To X-Ray</phrase>
</command>
<command name="+Y">
<phrase>Jump To Yankee</phrase>
</command>
<command name="+Z">
<phrase>Jump To Zulu</phrase>
</command>
</commandGroup>
</VoiceCommands>
and XBMCwindows.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--xbmc windows-->
<!--see: http://xbmc.svn.sourceforge.net/viewvc/xbmc/trunk/guilib/Key.h?revision=31448&content-type=text/plain-->
<PayloadsRoot>
<payload>
<value>home)</value>
<phrase>home, top menu, start page</phrase>
</payload>
<payload>
<value>settings)</value>
<phrase>settings, setup, options</phrase>
</payload>
<payload>
<value>pictures)</value>
<phrase>photos, pictures</phrase>
</payload>
<payload>
<value>filemanager)</value>
<phrase>file manager</phrase>
</payload>
<payload>
<value>music)</value>
<phrase>music, tunes, songs</phrase>
</payload>
</PayloadsRoot>
I also found the recognition rate very low, as a compromise for now I replaced all the letters with the Nato phonetic alphabet, which gives me way way higher accuracy.
Hope you guys can help, this is so close to awesome! Thanks for reading.