VoxCommando

New Features and Feature Requests => I will post new features here (LEGACY BOARD ONLY) => Topic started by: jitterjames on February 25, 2011, 01:36:17 PM

Title: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on February 25, 2011, 01:36:17 PM
The latest version of VoxCommando (0.875) has been cleaned up and neatly packaged and is now available on the website here: http://www.voxcommando.com/downloads.asp

VoxCommando is officially not free anymore, but if you are not a registered user you can still access all of it's features in "trial" mode.  Trial mode supports all the same features as the full version, you are only limited to a certain number of commands before you must restart the program.  Once you have tried it, you can buy a license on the website using PayPal, and then activate the trial to upgrade to the full version.

There is now only one download, regardless of what program you will use VC with.  When you first run the program you will be prompted to select a standard configuration (i.e. XBMC, iTunes, MediaMonkey, WMC)

To preview the new installer and interface, and to see a detailed guide to setting VC up to work with XBMC you can check out this new tutorial video on youtube:



(I recommend watching it full-screen at 720p resolution if you can)

Advanced users won't get much new information from this video, but I know you love the sound of my voice so check it out anyway!

This is the first in a series of videos for the new version that I am planning to make.  I will post new videos here, as they are available, showing off some new features and advanced techniques.

For those of you who have not checked out any new versions of VoxCommando for a while, there is quite a bit that has been changine lately, but the two key features that I am excited about are

1) Events - (tutorial will come soon showing this off)
2) Automatic Help File Generator, that will create an html page showing all your voice commands.  You can bring this page up anytime you want or print it for your room-mates or guests.  This new feature will probably be refined in future versions, but it already works quite well, and is very easy to use.

Enjoy!
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Wanilton on February 25, 2011, 03:03:57 PM
Hello James,

Cool your video, your are one robot??? ::) sorry, não resisti a tentação de dar umas risadas, sua voz esta muito diferente neste vídeo.
Great tutorial for new users, i am wait for more complex tutorials videos.

congratulations again...very professional.

Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on February 25, 2011, 03:35:18 PM
I did my best to be clear and concise.  If I made you laugh then at least I have accomplished one good thing today!  ;)

At least I didn't use my "talking to my dog" voice...
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Wanilton on February 25, 2011, 03:54:55 PM
It´s a joke of course, no offense... :P
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on February 25, 2011, 06:50:51 PM
no offence taken
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: DHHJ on February 25, 2011, 07:16:23 PM
James,

Just watched the video. Congrats on getting a full release out- great job. The video is an excellent start. Time for version 1.0 ?!

DHJ
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on February 26, 2011, 12:42:30 PM
There are a couple of bugs that I have noticed and will be fixing soon.

1) copy/paste in the tree editor: if you try to past text (say from a phrase into a command) it will actually paste a new node into the tree instead of the text

2) focus events: don't seem to be generated when VC is in off mode.  This is not critical, but it could cause problems I think so I will fix this.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Auri on February 26, 2011, 05:16:34 PM
James,

I finally got some time to test the new version (sorry been away from home for work to germany last week).
I did some out of the box testing and what I noticed is that while you work with the "save" "discard changes" in the command tree it is not all dummy proof.

Perhaps this is by design, but I tested the following :

* Delete functions and folders then used the CANCEL button and on the next screen chose discard changes. Afterwards going back to the command tree the folders and functions are gone.
* Some buttons don't have "info labels" while you hover over them with your mouse, such as to >> in the middle to name one, just details but pointing this out for ya, do with it as you see fit.
* While command tree is open, when choosing FILE -> "Apply standard configuration" or FILE -> "Full restart" the following error appears :

Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
   at System.Windows.Forms.Application.ExitInternal()
   at System.Windows.Forms.Application.Exit(CancelEventArgs e)
   at System.Windows.Forms.Application.Exit()
   at VoxCommando.Main.installConfig()
   at VoxCommando.Main.loadConfigurationToolStripMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
VoxCommando
    Assembly Version: 0.8.7.5
    Win32 Version: 0.8.7.5
    CodeBase: file:///C:/Users/Auri/Documents/VoxCommandoXBMC%200_875%20EN/VoxCommando.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Interop.SpeechLib
    Assembly Version: 5.4.0.0
    Win32 Version: 5.4.0.0
    CodeBase: file:///C:/Users/Auri/Documents/VoxCommandoXBMC%200_875%20EN/Interop.SpeechLib.DLL
----------------------------------------
CoreAudioApi
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Users/Auri/Documents/VoxCommandoXBMC%200_875%20EN/CoreAudioApi.DLL
----------------------------------------
System.Speech
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Speech/3.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Interop.iTunesLib
    Assembly Version: 1.13.0.0
    Win32 Version: 1.13.0.0
    CodeBase: file:///C:/Users/Auri/Documents/VoxCommandoXBMC%200_875%20EN/Interop.iTunesLib.DLL
----------------------------------------
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Ionic.Zip
    Assembly Version: 1.9.1.5
    Win32 Version: 1.9.1.5
    CodeBase: file:///C:/Users/Auri/Documents/VoxCommandoXBMC%200_875%20EN/Ionic.Zip.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


This is all I can find for now.
I didn't know wether to post this in this thread or bug reports, so move if needed.

Regards
Auri
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on February 26, 2011, 05:32:12 PM
Thanks Auri, posting here is OK I think.
Quote
* Delete functions and folders then used the CANCEL button and on the next screen chose discard changes. Afterwards going back to the command tree the folders and functions are gone.

I've never seen this happen.  I'd like to know exactly what you are doing here, because I suspect that you are clicking the save icon first.  Once you've clicked save it is saved (by design) the choice to cancel and dismiss can only cancel changes since your last save.  Please check this.  I've used this cancel dismiss thing thousands of times during testing on several computers and have never noticed anything like this.

Quote
* Some buttons don't have "info labels" while you hover over them with your mouse, such as to >> in the middle to name one, just details but pointing this out for ya, do with it as you see fit.
Ok thanks for pointing this out.  This is a combination of "by design" and lazyness.  I tend to put tool-tips on buttons where I think the function might not be obvious, or where there could be confusion.  But it's true that I could add some more tool-tips to clarify things and it wouldn't hurt!

Quote
* While command tree is open, when choosing FILE -> "Apply standard configuration" or FILE -> "Full restart" the following error appears :

This is a perfect example of why coders can't beta test their own programs.  It would never occur to me to click those buttons when the edit window was open!  :bonk.  The easy solution would be for me to make the edit tree modal (can't do anything with the parent window) but that doesn't work because we need to use the main window sometimes to switch modes, views, or drag events from the history.  So I guess the best solution would be to disable the file menu while the command tree editor is open?  I wonder if anything else on the menu would make it crash?


Great bug report Auri.  Thanks!  ;D  Keep em coming...
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Auri on February 26, 2011, 05:48:31 PM
Thanks Auri, posting here is OK I think.
I've never seen this happen.  I'd like to know exactly what you are doing here, because I suspect that you are clicking the save icon first.  Once you've clicked save it is saved (by design) the choice to cancel and dismiss can only cancel changes since your last save.  Please check this.  I've used this cancel dismiss thing thousands of times during testing on several computers and have never noticed anything like this.
Ok thanks for pointing this out.  This is a combination of "by design" and lazyness.  I tend to put tool-tips on buttons where I think the function might not be obvious, or where there could be confusion.  But it's true that I could add some more tool-tips to clarify things and it wouldn't hurt!

This is a perfect example of why coders can't beta test their own programs.  It would never occur to me to click those buttons when the edit window was open!  :bonk.  The easy solution would be for me to make the edit tree modal (can't do anything with the parent window) but that doesn't work because we need to use the main window sometimes to switch modes, views, or drag events from the history.  So I guess the best solution would be to disable the file menu while the command tree editor is open?  I wonder if anything else on the menu would make it crash?


Great bug report Auri.  Thanks!  ;D  Keep em coming...

Hey thats one of the reasons we are here James, to help you test.  To be honest I would never use the combination of things I tested, but it's for the express purpose of invoking errors since logicly I would never tr and restart or close a program with other windows open.

To answer qoute nr 1 : I did not use any of the SAVE buttons.  But testing this now again and I can no longer provoke this action, so I must have somehow saved it.  Lets drop this one as you are probably right.
To answer qoute nr 2 : Yeah I figured as much but just wanted to point it out, it's cool ... atleast you know it there (or rather not there :D )
To answer qoute nr 3 : Or you could check if the command tree window is open when people use this buttons and then just close the command tree window before the actual command. I would then let it default close without saving changes.  Or perhaps in the discard window to a clean close following the users choise to save or discard and then perform the FILE action such as full restart or restore standard config, I dunno how deep the command tree window is nested in the main screen (if that makes sence to you :D )

Regards
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on February 26, 2011, 06:36:42 PM
that gets complicated.  It's easier to just disable the file menu.  Consider it a "semi-modal" window.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Auri on February 26, 2011, 07:48:10 PM
that gets complicated.  It's easier to just disable the file menu.  Consider it a "semi-modal" window.

Cool, you know best James.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on February 27, 2011, 04:39:22 PM
As promised, a tutorial showing how to use Events...

Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Wanilton on March 02, 2011, 03:12:20 PM
I did some testing with events, a situation that I noticed is that if we have the same events in different groups of commands, it obviously performs the functions where the event appears, asks: Is it possible to isolate the event only for the command triggered, isolating the same event that are present in other groups of commands XBMC?
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 02, 2011, 04:42:45 PM
I don't understand.  :'(
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Wanilton on March 02, 2011, 05:17:29 PM
Import this commands, test Command Cinema Plus, triggered by "cinema plus + name of the movie", the answear 2 tts returns, one tts each command,  ie 1 TTS.Speak Cinema Experience home +  1 TTS.Speak Cinema Plus message.

My conclusion was that if we have the presence of a single event, in this case XBMC.CELaunch in many others commands, all actions planned in all commands, will be executed regardless of the command called, which I think is not correct, vox should respect and perform only returns actions for the command that I called lastly, based course at the event, but isolating the action for the command sent.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 02, 2011, 05:32:32 PM
The whole point of an event is that they are not triggered by a voice command, but by something external!  The event will be triggered even if you queue the movie using your remote control.  This is what we want.

If you want something triggered by a voice command, just put it in the voice command. You don't need an event in that situation.

If you are getting TTS twice on an event, simply delete one of your commands that is using that event.  Why do you have two?

The one change that I will probably make, is to make commands triggered by events only active if they are in a group that is Enabled.  Currently they will be triggered, even if the group they are in is Disabled.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: painy on March 03, 2011, 02:50:34 PM
Great job on the tutorial, really helpful :)
Found a little bug: When i rightclick edit properties in the tree editor. i get a "unhandled exeption has occured in your application" error. Doesn't crash VC though.

Also a question, I managed to create an event that disables my Medamonkey commands when XBMC is focused, but I don't know how to enable them again when XBMC defocuses. Does such an event exist? The reason why I want this is because when I talk dutch (my mother language), the voice recognition engine flips out, and hears al sorts of english commands set in VC ow (despite using prefix mode, and the two languages don't sound alike). This causes a lot of false positives and my MM often starts playing when I'm talking to someone while watching a movie in XBMC.
Is there anyone else who has this problem? or is it mainly my cheap microphone that's causing this.
A potential way around this would be an event that triggers VC.off/disable groups while in listen or standby mode if VC hears like 10 consecutive commands with accuracy levels lower than the set 'required confidence'. Could this be done?

Another question: Is there an event that recognises hotkeys? I ask this because i have a remote app on my smartphone that can trigger commands. I'd like to assign a button in the app to turn on/off VC. I don't know how to do this directly, but i know that the app can emulate keyboard hotkeys (like CTRL ALT A or something) and I could use that if VC would be able to recognise this.

And an idea. There are a few smartphone remote control apps. For example Gremote  (http://gbmsoftware.com/) This program has integrated accelerometer functions. I bet the creator could easily build in an option that emulates the amulet controller(tilting your smartphone to turn on and off VC). And maybe even utilise the smartphone's mic (like you did with you ipod touch) to run voice commmands.
If you think this would be a good idea, I could try and sent the creator an email and asks how he feels about doing that if you'd like.

Greets
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 03, 2011, 03:17:20 PM
Found a little bug: When i rightclick edit properties in the tree editor. i get a "unhandled exeption has occured in your application" error. Doesn't crash VC though.

Can you please provide more information on this.  I don't get this error when I right-click a group and select "Edit Properties"
- What are your various language settings (overriding display language in VC options?)
- OS language?
- What are you right-clicking?  A group?  Does it happen with every group, or just one?
- Is it possible to copy and paste the actual error code here?

Also a question, I managed to create an event that disables my Medamonkey commands when XBMC is focused, but I don't know how to enable them again when XBMC defocuses. Does such an event exist? The reason why I want this is because when I talk dutch (my mother language), the voice recognition engine flips out, and hears al sorts of english commands set in VC ow (despite using prefix mode, and the two languages don't sound alike). This causes a lot of false positives and my MM often starts playing when I'm talking to someone while watching a movie in XBMC.
Is there anyone else who has this problem? or is it mainly my cheap microphone that's causing this.
A potential way around this would be an event that triggers VC.off/disable groups while in listen or standby mode if VC hears like 10 consecutive commands with accuracy levels lower than the set 'required confidence'. Could this be done?

Another question: Is there an event that recognises hotkeys? I ask this because i have a remote app on my smartphone that can trigger commands. I'd like to assign a button in the app to turn on/off VC. I don't know how to do this directly, but i know that the app can emulate keyboard hotkeys (like CTRL ALT A or something) and I could use that if VC would be able to recognise this.

And an idea. There are a few smartphone remote control apps. For example Gremote  (http://gbmsoftware.com/) This program has integrated accelerometer functions. I bet the creator could easily build in an option that emulates the amulet controller(tilting your smartphone to turn on and off VC). And maybe even utilise the smartphone's mic (like you did with you ipod touch) to run voice commmands.
If you think this would be a good idea, I could try and sent the creator an email and asks how he feels about doing that if you'd like.

Greets

What are you using as your prefix?  I don't think the problem is a cheap microphone necessarily, but maybe it is just picking up too much.  I personally don't use Vox where it is always listening.  Even with prefix mode I didn't find it very practical.

There is no global keypress function in VC and I don't much like the idea of adding one, though it is probably a possibility.  You can easily set this up using eventGhost.  Any program can send events to VC using simple UDP broadcasts, so yeah, if you want to get that integrated into some remote apps that could be cool.  If they are interested I can provide the string that needs to be sent.

You can trigger events in VC using a command line program.  Would that help?  Which remote app are you using on your smartphone?
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 03, 2011, 03:27:50 PM
Quote
Also a question, I managed to create an event that disables my Medamonkey commands when XBMC is focused, but I don't know how to enable them again when XBMC defocuses. Does such an event exist?

Actually, ya, I had intended to create a defocus event and then I forgot!  I will put this in the next version.

I will add this.  Currently you can only turn MediaMonkey back on using various focus events for other programs, which is obviously not ideal.

You can also set a process in the group properties (well I can, apparently you can't because it will crash) so that the group will only be enabled when that process is active.  I was thinking it would be nice to be able to set an anti-process in here instead.  You could specify an anti process by preceding the process name with an '!'.  This is another thing I have been intending to get around to...
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: painy on March 03, 2011, 04:36:33 PM
Can you please provide more information on this.  I don't get this error when I right-click a group and select "Edit Properties"
- What are your various language settings (overriding display language in VC options?)
- OS language?
- What are you right-clicking?  A group?  Does it happen with every group, or just one?
- Is it possible to copy and paste the actual error code here?

Everything is set to default (english), OS is english.
When I drag an event to the tree, and I rightclick the event and press edit properties, i get the error.
And I just noticed that the edit properties option in the right click menu only appears on events that i dragged from the history tab, and not the ones I add manually.

Error code:

Object reference not set to an instance of an object

Code: [Select]
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at VoxCommando.CommandTreeEditor.editPropertiesToolStripMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
VoxCommando
    Assembly Version: 0.8.7.5
    Win32 Version: 0.8.7.5
    CodeBase: file:///C:/Users/Stijn/Downloads/Voxcommando/VoxCommando.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Interop.SpeechLib
    Assembly Version: 5.4.0.0
    Win32 Version: 5.4.0.0
    CodeBase: file:///C:/Users/Stijn/Downloads/Voxcommando/Interop.SpeechLib.DLL
----------------------------------------
CoreAudioApi
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Users/Stijn/Downloads/Voxcommando/CoreAudioApi.DLL
----------------------------------------
System.Speech
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Speech/3.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Interop.iTunesLib
    Assembly Version: 1.13.0.0
    Win32 Version: 1.13.0.0
    CodeBase: file:///C:/Users/Stijn/Downloads/Voxcommando/Interop.iTunesLib.DLL
----------------------------------------
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
InputSimulator
    Assembly Version: 0.1.0.0
    Win32 Version: 0.1.0.0
    CodeBase: file:///C:/Users/Stijn/Downloads/Voxcommando/InputSimulator.DLL
----------------------------------------
Interop.SongsDB
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Stijn/Downloads/Voxcommando/Interop.SongsDB.DLL
----------------------------------------



Quote
What are you using as your prefix?  I don't think the problem is a cheap microphone necessarily, but maybe it is just picking up too much.  I personally don't use Vox where it is always listening.  Even with prefix mode I didn't find it very practical.

My prefix words are computer and monkey for medamonkey. I don't think altering these would help much, as talking dutch can even activate commands like "monkey what artist is this" when i never said anything remotely similar.
I don't see any other option then using prefix mode. I don't have the amulet remote, or any other real remote, and I usually have music running when using VC. If i am to exit stand by mode, VC immediately picks up various words from my music/movie and hears them as commands like play/pause.  

Quote
There is no global keypress function in VC and I don't much like the idea of adding one, though it is probably a possibility.  You can easily set this up using eventGhost.  Any program can send events to VC using simple UDP broadcasts, so yeah, if you want to get that integrated into some remote apps that could be cool.  If they are interested I can provide the string that needs to be sent.

You can trigger events in VC using a command line program.  Would that help?  Which remote app are you using on your smartphone?

That would be the Gremote app specified in my post above

Quote
Actually, ya, I had intended to create a defocus event and then I forgot!  I will put this in the next version.

I will add this.  Currently you can only turn MediaMonkey back on using various focus events for other programs, which is obviously not ideal.

You can also set a process in the group properties (well I can, apparently you can't because it will crash) so that the group will only be enabled when that process is active.  I was thinking it would be nice to be able to set an anti-process in here instead.  You could specify an anti process by preceding the process name with an '!'.  This is another thing I have been intending to get around to...

Sounds like a plan :D
I don't have problem editing groups btw, only single dragged events
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 03, 2011, 05:01:15 PM
OK thanks.  Now I know what is wrong.  Events do not have properties.  But I forgot to set the context menu when an event is dragged in so you are probably seeing the context menu for Groups.  Thank-You!

btw - I already got a test for Unfocused events working so you will have them soon!  (maybe tomorrow)

I'm not sure what the best way to deal with the Gremote challenge is.  It seems to work only for Android and I only have an iPod Touch here.  Are you able to direct a keypress to a particular program, or will it just be sent to whatever has focus? Are you able to customize your gremote to do other things like send a program a "message" or to send udp broadcasts, or to run a program?
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: painy on March 03, 2011, 05:34:47 PM
Quote
I'm not sure what the best way to deal with the Gremote challenge is.  It seems to work only for Android and I only have an iPod Touch here.  Are you able to direct a keypress to a particular program, or will it just be sent to whatever has focus? Are you able to customize your gremote to do other things like send a program a "message" or to send udp broadcasts, or to run a program?

I'm afraid it's all pretty closed. Although it is able to send controls to certain programs (like winamp and WMP), it is limited to these two programs, and the controls you can choose from are predefined. Other programs (like XBMC) are controlled via keyboard emulation or hotkeys. The keyboard emulation is send to the program that has focus. It's also able to run custom programs and you can set the parameter.

Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 03, 2011, 05:48:54 PM
Maybe you can get them to add something, but in the mean time you can try this.  If it can execute a program then use the attached and call it like this to generate your own events.

udpsender.exe 33000 "event&&mode.on"
udpsender.exe 33000 "event&&mode.off"
udpsender.exe 33000 "event&&mode.standby"

or if you want you can call actions directly like this.

udpsender.exe 33000 "Vc.On"
udpsender.exe 33000 "Vc.Off"
udpsender.exe 33000 "Vc.Standby"

by the way the 33000 is the port that VoxCommando listens on.  It can be set in options but best to leave it at the default if possible.
BEHOLD THE POWER OF THE VOX!

the UDPSender.exe is available on the download page as part of the "Extra utilities" zip file.
http://voxcommando.com/home/downloads/
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: painy on March 03, 2011, 06:10:04 PM
Your ability to adapt and survive in this software jungle never ceases to amaze me james  ;D
Is it possible to hide UPS sender when it launches? or at least keep it minimised?
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 03, 2011, 06:25:48 PM
VC can launch programs hidden.  Since you are launching the udpsender from GREmote, it will depend on whether they offer a similar function.  My guess is no.

I don't think there is a way to control that visibility from the receiving end, because it is a command line utility so you will always get that windows commandline window unless the caller hides it.

Using a command line utility is obviously not ideal, and can sometimes be a bit slow to respond.  It would be better if GREmote could send udp, or a windows message.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: painy on March 03, 2011, 06:32:59 PM
Ok :(
How can I trigger a group or an event with udp sender (like say 33000 "Vc.Triggerevent.testevent")?
I'll ask around on their forum.

Thx a lot :)
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 03, 2011, 06:46:44 PM
I'm not really sure what you are asking, since I just told you how to do exactly that.

udpsender.exe 33000 "event&&testevent"
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: painy on March 03, 2011, 07:29:33 PM
Do'h
I was wondering what the difference was between "event&&mode.on" and Vc.On" but now i know
Works like a charm!
Thanks james :)
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 03, 2011, 09:11:25 PM
cool :)

I should probably mention that the udp strings:

event&&testevent
and
Vc.Triggerevent.testevent

will ultimately do the same thing, but the first is faster / more efficient because it fires the event directly from the udp listener.  The 2nd has to create a dummy command and then send it off to the action processor where it will determine what kind of action you are calling.  Both will be pretty much instant, but faster is still better.

also, you could directly call

VC.DisableGroup* or VC.EnableGroup* in your udp command if you want, instead of firing an event, but if you want to do more than one action at a time (macro), it makes more sense to use an event, I think.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Kalle on March 03, 2011, 10:48:50 PM
I'm afraid it's all pretty closed. Although it is able to send controls to certain programs (like winamp and WMP), it is limited to these two programs, and the controls you can choose from are predefined. Other programs (like XBMC) are controlled via keyboard emulation or hotkeys. The keyboard emulation is send to the program that has focus. It's also able to run custom programs and you can set the parameter.



Hi, i have test two remoteprogramms for iPhone/iTouch and it's work fine. 1. "XBMC-remote", to control XBMC over WiFi or 3G and 2. "Eventphone", you can Control everthing over Eventghost with WiFi.

Kalle
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 03, 2011, 11:07:06 PM
Thanks Kalle,

I guess Painy probably wants to stick with the application he is using, and he has an Android.  I personally use my iPod (sometimes) to control eventGhost using the dynamic webserver plugin in EventGhost.  You can customize it to do almost anything (if you have the time ;) )

Obviously any method that can talk to eventGhost will work well with VoxCommando, but it may also be possible to generate events using an XBMC remote... I would have to look into that.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Kalle on March 03, 2011, 11:15:21 PM
Thanks Kalle,

I guess Painy probably wants to stick with the application he is using, and he has an Android.  I personally use my iPod (sometimes) to control eventGhost using the dynamic webserver plugin in EventGhost.  You can customize it to do almost anything (if you have the time ;) )

Obviously any method that can talk to eventGhost will work well with VoxCommando, but it may also be possible to generate events using an XBMC remote... I would have to look into that.

if you could program a VC for iPhone, VC would be likely in the top 10 in the iTunes store and all others could throw their remote-apps, but I know a Mac with the appropriate software is expensive, but would be worth considering  :D

Kalle
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 03, 2011, 11:40:59 PM
would that I could, but I would have to start over, and learn how to do it for iPod.  VC is built upon the speech api in windows.

You are right though.  I am pretty sure it would be popular!

First I would have to learn how to turn a mac on.  Is it difficult? :D
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Kalle on March 04, 2011, 01:36:00 AM
would that I could, but I would have to start over, and learn how to do it for iPod.  VC is built upon the speech api in windows.

You are right though.  I am pretty sure it would be popular!

First I would have to learn how to turn a mac on.  Is it difficult? :D

I think it would be sufficient to develop an app that only exists to VC to talk to the PC via WiFi and how Painy already said, to enable the accolator function, the microphone (amulet like that) with a few buttons for basic functions. I would be as an investor there. (Just think of the 15 million sold iPhones and iTouch's just as many and only 1% buys the SOFTWARE for 99 cents and then the bundle with VC)  :D

Kalle
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Auri on March 04, 2011, 02:57:23 AM
IF we could let the iphone be some sort of alternative for an amulet remote (for those of use not living in the continental USA and thus cannot buy an amulet remote) it would be awesome.  Just the microfone function with accelorator or whatever that thing is called over wifi would be all that is needed.

Perhaps a collaboration with someone who already makes iphone/ipad apps ?

On the other hand I'm like ... Lets finish the windows part of the game before expanding to other platforms or other tools/addons, lets make the CORE work first before dreaming of other stuff that might be usefull :p
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Kalle on March 04, 2011, 06:15:20 AM
IF we could let the iphone be some sort of alternative for an amulet remote (for those of use not living in the continental USA and thus cannot buy an amulet remote) it would be awesome.  Just the microfone function with accelorator or whatever that thing is called over wifi would be all that is needed.

Perhaps a collaboration with someone who already makes iphone/ipad apps ?

On the other hand I'm like ... Lets finish the windows part of the game before expanding to other platforms or other tools/addons, lets make the CORE work first before dreaming of other stuff that might be usefull :p

Hi Auri, yes, you're right, but it is only an extension for VC, a replacement for the Amulet  ;)
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 04, 2011, 08:13:24 AM
There already exists a program that lets you use the iPhone as a microphone for windows.  There are a few problems with it.  The main problem, which I think would be a problem for anyone who tried to develop such an app, is that there is a large delay from the time that you speak to the time that the sound arrives at the PC.  Maybe there is some way to reduce this time, who knows.  The other reason that the iPhone sucks as a microphone is that the battery life is too short.  Also, I don't think people would really want to use it as their only application, so it would either have to replace all remote functions, or be able to run in the background.

I personally have higher hopes for better more affortable wireless microphone solutions in the future.  Amulet will no doubt improve and hopefully they, and others will come out with some good options for us.

If you want I can do a demo with the senstic pocket audio app to show you what the delay is like.  Maybe they are just doing something stupid and the delay is unnecessary...

Also consider that if the accelerometer turns the connection off to save battery, there will probably be an additional delay when you lift it before it can connect.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 04, 2011, 08:22:27 AM
IF we could let the iphone be some sort of alternative for an amulet remote (for those of use not living in the continental USA and thus cannot buy an amulet remote) it would be awesome.  Just the microfone function with accelorator or whatever that thing is called over wifi would be all that is needed.

Perhaps a collaboration with someone who already makes iphone/ipad apps ?

On the other hand I'm like ... Lets finish the windows part of the game before expanding to other platforms or other tools/addons, lets make the CORE work first before dreaming of other stuff that might be usefull :p

HEY!  The core DOES work!  I think it works extremely well...  of course it can, and will always improve over time...  Would it help if I started calling it version 2.4 ?
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Kalle on March 04, 2011, 12:47:46 PM
HEY!  The core DOES work!  I think it works extremely well...  of course it can, and will always improve over time...  Would it help if I started calling it version 2.4 ?

It works fine, it's actually been done (for me), the rest is cosmetic and gimmick. I just thought that rises with App Bundle the level of awareness  ;)
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Auri on March 04, 2011, 03:33:11 PM
HEY!  The core DOES work!  I think it works extremely well...  of course it can, and will always improve over time...  Would it help if I started calling it version 2.4 ?

You know what I mean james, it was not meant to pun your release nr's ;)
All I'm saying is "perhaps it's too soon to go dreaming about joining the iFactory that is apple :D"

I don't understand though why the iphone "has" to have this delay, why does an amulet remote not have a delay ? Why does my wireless headset not have a delay ?
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 04, 2011, 03:58:31 PM
Ya, I knew what you meant. :P

(but I don't know what "pun your release nr's " means!)

I don't know why, (or even if), it has to have this big of a delay, but there is no point comparing it to a wireless headset, or the amulet because it is not the same thing.  Surely if Apple wanted to create a device that could stream input from the mic to a computer with very little delay, they could do it, but we are talking about an app that is running on the existing iphone OS and which is sending data though wifi to our router, which is then routed to our pc, where a service is picking up the data and sending it to a virtual windows "recording device", which then gets passed to our speech engine.

There are a lot of layers of hardware and software in there and they are not necessarily all designed with reduced latency as their primary characteristic.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Auri on March 04, 2011, 05:47:51 PM
Ya, I knew what you meant. :P

(but I don't know what "pun your release nr's " means!)

I don't know why, (or even if), it has to have this big of a delay, but there is no point comparing it to a wireless headset, or the amulet because it is not the same thing.  Surely if Apple wanted to create a device that could stream input from the mic to a computer with very little delay, they could do it, but we are talking about an app that is running on the existing iphone OS and which is sending data though wifi to our router, which is then routed to our pc, where a service is picking up the data and sending it to a virtual windows "recording device", which then gets passed to our speech engine.

There are a lot of layers of hardware and software in there and they are not necessarily all designed with reduced latency as their primary characteristic.

Well being a system admin and all there is QoS (Quality of Service) on networks, both wired and wireless :p
With todays gigabit networks and 300mbps N wifi's it should not be much of a problem to greatly reduce if not remove delays.

But lets not go there, I think the info is clear on the subject right now, and that for now it is not a viable option.

On that subject though, next weekend I'll go and test the mics I was telling you about a few weeks ago, so lets see what those bring :D
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 08, 2011, 07:14:30 PM
0879 - I'm tired so hopefully this is going to work!  I'll explain tomorrow about the new stuff but feel free to explore.

You can install from scratch, or you can patch with this (warning it will overwrite your bin.xml)

New features include new events, a german pandorabot, some bug fixes, and Skype!

attachment removed.  revised version here:

http://voxcommando.com/forum/index.php?topic=414.msg2873#msg2873
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 08, 2011, 09:15:48 PM
here are some sample Skype commands and events.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Kalle on March 09, 2011, 07:00:17 AM
0879 - I'm tired so hopefully this is going to work!  I'll explain tomorrow about the new stuff but feel free to explore.

You can install from scratch, or you can patch with this (warning it will overwrite your bin.xml)

New features include new events, a german pandorabot, some bug fixes, and Skype!

Hi James, for first my congratulations for the really successful extensions. The new "help setting" is great.
Bug: A full installation to a new folder there is a problem. If you want to start VC it crashes immediately. If I is an update installation, no problems, everything works as far as I've tested it.

Kalle
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 09, 2011, 09:47:37 AM
Thanks Kalle,

I found the problem and fixed it.  New version is attached.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 09, 2011, 10:05:26 AM
Some other new stuff:

Look in options for the events tab.  Here you can define events that will appear in the main menu under Events.

Also there are new actions for controlling the overlay icon.  You can find these under OSD.

http://voxcommando.com/mediawiki/index.php?title=Actions#OSD
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Wanilton on March 09, 2011, 04:56:56 PM
Some other new stuff:

Look in options for the events tab.  Here you can define events that will appear in the main menu under Events.

Also there are new actions for controlling the overlay icon.  You can find these under OSD.

http://voxcommando.com/mediawiki/index.php?title=Actions#OSD

James,

Show, worked fine in the first moment, but happens one problem, and I even installing the vox in default, I'm still having problems....
Interestingly, to reopen the voxcommando, I received a loop that I believe is linked to the amulet, the history is showing a lot of repeated lines, vox&amuleton

Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
.
.
.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Wanilton on March 09, 2011, 05:35:28 PM
I discovered what it was, for some reason the problem just stopped, accepting the vox communication with skype, In skype I had to accept in that could communicate the problem to disappear in vox, now it´s ok again.
James, what is the correct way integrate new OSD overlay actions with Amulet?
I just want the overlay status to appear only in moments of triggered new commands, not getting in the off state as now.
Look the attached file, i changed command for overlay appears in top right, this is ok?
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 09, 2011, 06:29:28 PM
If I understand you correctly, you need to use

OSD.HideOverlay
OSD.ShowOverlay

the "correct" way will depend on what you want.  For me I like to leave OSD Overlay Icon on all the time.  It automatically fades to 30% when idle.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Wanilton on March 09, 2011, 08:14:04 PM
Thanks James, this is ok for me now...

About this:
Look in options for the events tab.  Here you can define events that will appear in the main menu under Events

I understand how this work, add 3 events, and added perfectly in menu Events,  but explain a little how this work, in my test, this run the event selected, ok fine, but i don´t understand
what purpose, if possible list one or two practical examples of use for this.

Thanks again,

Wanilton
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 09, 2011, 09:13:08 PM
You use it to trigger a command.

This could be useful for testing, to trigger a command you want to test, or maybe for a task that you do often.

You could create an event called refresh.  When this event is triggered, it will tell xbmc to rescan files, then do a GenXML, and then do a rebuild.

Maybe you won't find a use for it, and that is OK.  You don't need to use it.  Or maybe it will be useful for something later on...

Maybe it is just a waste of space...  Not all my ideas are good ones!

Here is an example for you.  You are editing the action that is performed when you lift the amulet remote.  This generates the event: Amulet.On

Maybe you do not want to keep lifting the remote while you are testing.  Instead, you can create the Amulet.On event in the menu, and it is easier to just click the event menu...  saves batteries too.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: Wanilton on March 09, 2011, 09:31:58 PM
I Understand now, it´s a good idea James, thanks for this examples.

You have implemented many new things, and questions naturally arise, I prefer to ask because it may help others also understand the concept, however much you ask seemingly obvious things, not always for me it's clear what use should I do or how to make work in the best possible way, I know that obviously has no means to implement certain features or commands, and that mention "correct"may sound like there's only one way, but here the intention is to find the most efficient way, there is always a best way forward, although n possible routes.

Your program has enormous qualities, and flexibility is certainly one of them as a fan of your work, I congratulate you for being helpful and answering my questions, sometimes looking like a noob either.
Title: Re: VoxCommando Version 0.875 official release is finally here!
Post by: jitterjames on March 26, 2011, 05:45:53 PM
new "alpha" version 0.882 is on the forum now:  http://voxcommando.com/forum/index.php?topic=443.msg3038#msg3038

lots of changes to the command builder...