VoxCommando

Help and Support (Using VoxCommando) => VoxCommando Basics and Core Features => Topic started by: philby85 on January 14, 2014, 05:07:20 AM

Title: Unusal problem with listen command
Post by: philby85 on January 14, 2014, 05:07:20 AM
Hi Guys,

I have installed one of the Ivona trial voices. If I use this in prefix mode it works as intended, no issues. If I uncheck prefix and use the listen command, it will understand the listen command i.e. computer,start listening etc, after that it is all unrecognised by VC. I have added a TTS action to speak " Yes " after listen command and it responds ok. Using 1.183 or 1.1.85 does same thing. If I use the supplied anna voice then there is no issues with both prefix mode or listen command.

Kind regards

Phil
Title: Re: Unusal problem with listen command
Post by: Kalle on January 14, 2014, 06:38:12 AM
Did you restart VC after uncheck the prefix-mode? This necessary!
Far es I know, the TTS Voice has nothing to do with recognition.
Title: Re: Unusal problem with listen command
Post by: philby85 on January 14, 2014, 06:45:35 AM
Hi Kalle,

Yes I did restart and have quite a few times. I just thought it was an unusual one. Thanks as always for your reply.

cheers

Phil
Title: Re: Unusal problem with listen command
Post by: nime5ter on January 14, 2014, 08:56:38 AM
Hi Phil,

Just to clarify, because I'm not quite sure I'm following. Are you saying:

1. When the supplied Anna voice is selected, VoxCommando is properly recognising voice commands in general, whether you're in standby mode and using a prefix or when you're in green listen mode and using (or not using?) a prefix, *and* when prefix mode is disabled and you're just issuing commands in green mode;

2. With the trial Ivona voice selected, VoxCommando is properly recognising voice commands in general only when you're in standby mode and using a prefix, as well as when you're in green listen mode with prefix enabled? But, suddenly, VC is not recognising any voice commands that you're saying (apart from the initial 'start listening' command that puts VC in green mode) if prefix mode is disabled?

--

If that's not right, please let me know. :) One thing I'm not clear on is whether it's working in green mode when prefix mode is checked. You can always use VC in green mode, whether or not you have prefixes enabled; and when prefix is enabled and you're in green mode, you can say your command with or without a prefix. I'm not sure from your description which of all the variations we're talking about.

Anyhow, it's definitely strange behaviour. Computers, eh? Some things you can try:

1. Purge your cache (in file menu -- see http://voxcommando.com/mediawiki/index.php?title=Main_Menu), restart and try again. If that doesn't help, then
2. Try a clean install. That is, create a new folder and install VC again with your preferred config. Test that it is working with both voices and as you expect it to work. If so, you can copy over your previous voicecommands.xml with your customized commands.
3. If it's still behaving strangely, please enable logging (http://voxcommando.com/mediawiki/index.php?title=Log) and re-create the problem as completely as possible, with both TTS voices, in green mode and standby/prefix mode, using several commands in each case. Please then let us know which commands you tried and what seemed to happen, and attach the voxLog.txt file to your post.

You're welcome to start with the last if you prefer, but it might be easiest to go with 1 & 2.


Title: Re: Unusal problem with listen command
Post by: jitterjames on January 14, 2014, 10:09:29 AM
I don't really see how the two things could possibly be related.  OK, you never know with computers, but I expect that it is probably just a coincidence that makes you think the TTS voice has anything to do with the recognition.
Title: Re: Unusal problem with listen command
Post by: Kalle on January 14, 2014, 01:27:06 PM
Quote
I have added a TTS action to speak " Yes " after listen command and it responds ok. Using 1.183 or 1.1.85 does same thing. If I use the supplied anna voice then there is no issues with both prefix mode or listen command.

In VC options, where you set the default voice, is a "test" button and if you press this button after setting up the TTS voice Ivona, you must hear the TTS Voice speaking aloud "I seem to be working" - can you hear the voice speaking?
Title: Re: Unusal problem with listen command
Post by: jitterjames on January 14, 2014, 02:34:53 PM
TTS is working... Recognition is the problem.
Title: Re: Unusal problem with listen command
Post by: jitterjames on January 14, 2014, 02:42:22 PM
There is really no point in trying to guess what the actual problem is here until we see a log.
Title: Re: Unusal problem with listen command
Post by: philby85 on January 14, 2014, 07:15:35 PM
Hi Everyone,
Thank you for all the replies. I have attached two log files. One with ivona, one with anna. All I changed between the two was the voice and a restart of VC. With Ivona i tried to launch xvmc. With anna I was able to launch and browse.
I think I will bite the bullet and re install windows and test. It's all good fun right ?  :biglaugh

kind regards

Phil
Title: Re: Unusal problem with listen command
Post by: jitterjames on January 14, 2014, 08:25:39 PM
It looks like you uploaded the same log twice.

Anyway, I don't think you need to re-install windows.  We tested the the Ivona trial voices here and it caused problems so I think you should just avoid it.
Title: Re: Unusal problem with listen command
Post by: philby85 on January 14, 2014, 08:35:31 PM
Whoops my bad. Thanks for the advice. I presume people are using the paid for version ok though.

cheers

Phil
Title: Re: Unusal problem with listen command
Post by: jitterjames on January 14, 2014, 09:56:36 PM
Yes.  Several people use Ivona Brian.  I have not heard of any other problems reported by our users yet.
Title: Re: Unusal problem with listen command
Post by: jitterjames on January 15, 2014, 03:49:13 PM
So it seemed that we had problems on a laptop with the Ivona trial voices installed.  Uninstalling the software seemed to eliminate the problem.

But I just decided to try the Ivona trial voices on my htpc and so far it is working fine.  I just though I should mention it.  If it get a change I will test on another machine later.

So for anyone reading this, it is still worth trying the trial voices if you are interested in evaluating them.  If it works, great, and if not you can just uninstall it.

Please share your experience with us.  Let us know if it works properly for you with VoxCommando or not.
Title: Re: Unusal problem with listen command
Post by: philby85 on January 15, 2014, 04:53:25 PM
Hi James,

I re installed windows 7 and of course VC. I purchased the brian voice from Ivona and installed it. If I use the listen command and add an action TTS speak and the word is Yes. The problem is there. I then replace it with how can I help or something else it works fine. I switched back and forth same issue on Yes as a single word. If you need anything, please ask.

regards

Phil
Title: Re: Unusal problem with listen command
Post by: jitterjames on January 15, 2014, 05:00:35 PM
Sounds like the solution is to use something other than just "yes" but that certainly is bizarre.  ???

Could you please post the XML for your "pay attention" command.

Thanks.  :D
Title: Re: Unusal problem with listen command
Post by: jitterjames on January 15, 2014, 05:05:43 PM
I just tested with this command and the trial of the brian voice and it works fine for me for some reason.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="1022" name="Pay attention" enabled="true" alwaysOn="True" confirm="False" requiredConfidence="0" loop="False" loopDelay="" loopMax="" description="">
  <action>
    <cmdType>VC.On</cmdType>
    <cmdString />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>TTS.Speak</cmdType>
    <cmdString>yes</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Listen,start listening, pay attention</phrase>
</command>

But this is not the preferred way to do it.  It would be better to use the TTS.SpeakSync action first, and then do VC.On
Title: Re: Unusal problem with listen command
Post by: philby85 on January 15, 2014, 05:14:05 PM
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="31" name="Listen" enabled="true" alwaysOn="True" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>VC.On</cmdType>
    <cmdString />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>TTS.Speak</cmdType>
    <cmdString>yes</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>computer, start listening, pay attention</phrase>
  <event>Amulet.On</event>
</command>


Thanks James for your help. I will try as suggested.

cheers

Phil
Title: Re: Unusal problem with listen command
Post by: philby85 on January 15, 2014, 05:18:38 PM
Hi James,

I tried as you suggested and Yes worked fine.

cheers

Phil
Title: Re: Unusal problem with listen command
Post by: Kalle on January 16, 2014, 05:18:22 AM
Hi Phil,

here is a listen command with a bit more human touch. With this command VC will give you diffrent answers, depends on how you ask for listen. Example: If you say "good morning computer", VC responds with "good morning Phil, I hope you slept well" or when you say "good evening computer" it responds with "good evening Phil ...".
This command use a "optional" payloadList at first, so it is not necessary to use "good morning, ..." if you want to trigger the command. If you use only "listen", "pay attention" or "computer" ..., VC switch to ON-Mode without any response.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="160" name="Listen" enabled="true" alwaysOn="True" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)==(B)</ifType>
    <ifParams>{1}&amp;&amp;good morning</ifParams>
    <then>
      <action>
        <cmdType>TTS.SpeakSync</cmdType>
        <cmdString>{1} Phil, I hope you slept well.</cmdString>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)==(B)</ifType>
    <ifParams>{1}&amp;&amp;good evening</ifParams>
    <then>
      <action>
        <cmdType>TTS.SpeakSync</cmdType>
        <cmdString>{1} Sir, nice to hear you. | {1}, nice to meet you.</cmdString>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)==(B)</ifType>
    <ifParams>{1}&amp;&amp;good afternoon</ifParams>
    <then>
      <action>
        <cmdType>TTS.SpeakSync</cmdType>
        <cmdString>{1} Sir, nice to hear you. | {1}, nice to meet you.</cmdString>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)Contains(B)</ifType>
    <ifParams>hi-hello&amp;&amp;{1}</ifParams>
    <then>
      <action>
        <cmdType>TTS.SpeakSync</cmdType>
        <cmdString>{1} Phil, nice to hear you. | {1} Phil, nice to meet you.</cmdString>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <action>
    <cmdType>VC.On</cmdType>
    <cmdString />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <payloadList optional="true">good morning, good afternoon, good evening, hi, hello</payloadList>
  <phrase>start listening, pay attention, listen, computer</phrase>
</command>


have fun

Kalle
Title: Re: Unusal problem with listen command
Post by: philby85 on January 17, 2014, 12:15:36 AM
Thank you Kalle,

I appreciate all your help. I have copied this command and I am enjoying the human touch aspect. Touches like this, make it all seem more interactive.

Thanks again !

cheers

Phil
Title: Re: Unusal problem with listen command
Post by: Stealth on December 27, 2014, 06:48:26 AM
Hi I'm having a similar issue when trying to remove the prefix option

I have upgraded my system to use the Amulet remote control mic and it works well using the prefix mode.  However when I remove the check mark from the prefix mode box in options I do a full restart, raise the remote speak a command which appears to be recognised on but the command wont action.

If I put the check mark back in again, restart speak the command, this time with the prefix the command actions ok.

Can anyone help?

Thanks

Steve
Title: Re: Unusal problem with listen command
Post by: jitterjames on December 27, 2014, 08:44:47 AM
I don't think this is related to the problem above.

To give a command without a prefix VoxCommando must be ON (green).

If VoxCommando is ON then you can give a command with or without a prefix.

If VoxCommando is green and you are giving a command and it is recognising you but not doing the command then something is odd.

In that case:

1 Pay attention to what is appearing in the history panel of VoxCommando.
2 Tell us what version number of VC you are using.
3 Post a complete log.

http://voxcommando.com/mediawiki/index.php?title=Options#Prefix_Mode

http://voxcommando.com/mediawiki/index.php?title=Log
Title: Re: Unusal problem with listen command
Post by: Stealth on December 28, 2014, 03:37:03 AM
James thank you for your reply. I re-installed the software and changed the idle timeout and it now seems to be working ok.

Kindest regards

Steve