Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - LightsOn

Pages: [1] 2
1
VoxCommando Basics and Core Features / Re: srgs error?
« on: July 11, 2019, 06:14:23 AM »
Hi jitterjames,

you come to my rescue once again - thank you.

Indeed it was the issue of too many large xml payloads in the same group.

I simply backed up my files, deleted each group until I found the offending group that caused the issues, restored the backup files, then did some long overdue administration in terms of tidying things up into appropriate groups etc. taking into account the one that had been identified as the issue and hey presto all is now fine again.

Thank you.

2
VoxCommando Basics and Core Features / srgs error?
« on: July 10, 2019, 10:23:46 AM »
So I spend a few hours tweaking and adding new commands, nearly done, then start getting the attached error?

Tried full install and restoring back ups from before today- same outcome.

Any ideas?

3
VoxCommando Basics and Core Features / Re: Search a in b
« on: July 09, 2019, 08:47:13 AM »
Appreciate the details - its helps me and each day my set up is getting better and better.  Thank you.

4
VoxCommando Basics and Core Features / Re: Search a in b
« on: July 09, 2019, 07:43:49 AM »
Hi Kalle,

Okay thank you.

So it does make a difference then.  As such I shall try my implementation later today and report back if I get better results.

Thank you.

5
VoxCommando Basics and Core Features / Re: Search a in b
« on: July 09, 2019, 04:39:00 AM »
Hi Both,

Thank you for taking the time to help me.  Firstly - apologies - I had thought my example was clear but I agree I think in my attempt to make things clear I have done quite the opposite.

The goal is I have a list of radio stations in a payload.  This Payload is dynamically created every so often - so stations listed change.  As such I wanted to be able to "search" for if a station existed.  Playing desired station is easy enough.

nime5ter, your example is as good as what I need. Thank you.  I was so close in my own attempts.  I (perhaps oddly) could not see how to obtain the value of a <Return> but can now see that you pass the action, then use {LastResult}, this is now clear.  I also tried PayloadXML.GetPhrase myself but see now that I need to pass PayloadXML.GetValue to be then able to use PayloadXML.GetPhrase.  I seemingly was staring at the answers but just was not paying enough attention!

This small help has really got me up and running - thank you.

My code now looks like the below - admittedly this is a altered version of the example by nime5ter but as good as there.

Code: [Select]
            </command>
            <command id="454" name="Search my list for {1}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
                <action>
                    <cmdType>PayloadXML.GetValue</cmdType>
                    <params>
                        <param>Payloads\produce.xml</param>
                        <param>{1}</param>
                    </params>
                    <cmdRepeat>1</cmdRepeat>
                </action>
                <if ifBlockDisabled="False" ifNot="False">
                    <ifType>LastActionSuccess</ifType>
                    <ifParams>&amp;&amp;</ifParams>
                    <then>
                        <action>
                            <cmdType>PayloadXML.GetPhrase</cmdType>
                            <params>
                                <param>Payloads\produce.xml</param>
                                <param>{LastResult}</param>
                            </params>
                            <cmdRepeat>1</cmdRepeat>
                        </action>
                        <action>
                            <cmdType>OSD.ShowText</cmdType>
                            <params>
                                <param>Found: {LastResult}</param>
                                <param>5000</param>
                            </params>
                            <cmdRepeat>1</cmdRepeat>
                        </action>
                    </then>
                    <else>
                        <action>
                            <cmdType>OSD.ShowText</cmdType>
                            <params>
                                <param>{1} was not found in the payload file</param>
                                <param>5000</param>
                            </params>
                            <cmdRepeat>1</cmdRepeat>
                        </action>
                    </else>
                </if>
                <phrase>Search my list for</phrase>
                <payloadDictation>payloadDictation: Regular</payloadDictation>
            </command>
        </commandGroup>


What I am finding now however is that it does not always trigger off the back of the phrase so as such I may need to simply improve the phrase used?  If I search for something I know is there it always works.  If I search for something random it some times does and sometimes does not trigger the event to search if it is present or not.  Any thoughts around this?  Am I right in thinking I should just play with the phrase used?

I am using TellVox at present and not my actual voice however - not sure if this makes any difference?  I assume not.

Thank you in advance.


6
VoxCommando Basics and Core Features / Search a in b
« on: July 08, 2019, 02:28:43 AM »
Hi all,

Struggling with this one but feel it will have a simple answers.

I have a payload and I want to search it for 'b'.

The search is 'a' - this is payload:diction. So I speak 'search for x' where x is anything I choose.

I want it to search for x ('a') in payload list 'b' and if found do x and if not do y.

Similar example is 'Do we have the number 5 in a list of 1 to 10' = yes. 'Do we have number 12 in a list of 10 = no.'

Any advice is welcomed.

Thank you.

7
Thank you for this – and great video, thanks.

Just as a note – setting TCP.GS.SetPrefix and leaving it blank does not work for me but if you TCP.GS.SetPrefix with {Empty} it does work.

Some tweaks have been needed to my voice commands to make them work better but on the whole it is now working great as wanted – thank you.

8
Hi again,

All working much better now knowing the above. Thank you.

Can I create a time based condition in VC? As if so I could call GS with the prefix, this action could remove the prefix allowing for me to chat away a load of commands, then I could – after a set idle time (or other command), put the prefix back.

I think I can set a prefix with “TCP.GS.SetPrefix” but can I set an ‘action’ based on idle time?

Would I need to restart VC after setting a prefix for it to take effect?

9
Hi,

Thank you for this - will use this now.  Will also ensure I unblock if required.

Thanks again.

10
Bingo! I have caught up.

So – I have the below options in my eyes if I am to go the simpler route (not using the more advance event patterns):

1) Have TCP.GS.Off but have it turn on and turn off VC on one single command only – this would rely on the MS speech engine to be good at recognising the desired “wake up” type command. A command could reverse this.

2) Do away with the idea of the wake up type command and instead use a prefix permanently in VC with TCP.GS.SetPrefix.  as such each command given would need to be spoken with the “prefix” each time.

Thank you for the help – it’s really appreciated.

11
Hi jitterjames,

Thank you for taking the time to help me.  Your reply is not only very helpful and informative – it has also made me chuckle a bit! Thank you.

So with the above in mind – I am keen to go exclusively with Google as I have had mixed luck with regards to windows based voice recognition over the years and Google seems more advanced in this area than Microsoft.  However this then poses one last issue for me and this is:

-> Before with no use of google I used a mix of VC.On and VC.standby, with this method I had a trigger that was “always on” and thus was easy to call, while all other triggers were ignored even if spoken.  The trigger that put VC into ON mode meant all other triggers could then be called – like a sort of wake up.  How then – with VC permanently OFF in order to use google do I get the same / similar set up?  E.G one trigger brings the system to life? Without that trigger it is less sensitive or does not work is the goal.

Thank you in advance.

12
Hi jitterjames,

Thank you – but I am a little confused?

There are three states, on, standby, and off.  You are staying to turn VC ‘OFF’, but surly in doing this I lose the option of ‘standby’ and ‘on’? And does turning VC ‘Off’ not stop everything from working?

Before I used google voice I had one command that was an always on command that set the state to on from standby.  Standby would initiate after 15 seconds of idle time so as to reduce triggers taking place when they are not needed.

So your answer raises a few questions:

1) Should ‘off’ be correct whenever using google voice?
2) Is is normal that if VC is not off the duplicate commands are identified?
3) Can I run VC and google voice but prevent duplication? As in this case surly I get best result?

Apologies for the added questions – just keen to ensure I have full understanding.

Thank you in advance.

13
Hi All,

First off – thank you for Voxcommando – great kit.

Seeking a little help with my setup if possible?  I am using latest install with the google voice integration (version: 2.2.4.5b).  All works in terms of recognition etc.

The issue I am having is:

-> When google voice is turned on, commands are recognised once but get triggered twice.  If turned off (green microphone no longer green) then the command is recognised once and triggers once.

Can I set things up to only use google voice and nothing else? I am assuming it is recognised the command with Microsoft speech recognition and also google speech recognition?

14
I think I could too, but it does allow me to briefly see the number entered so in fact it works really well for me as it is. 

Thank you again for such quick and helpful replies.

15
Okay found solution.  Added a 1 second pause with VC.pause then used XJson.Btn.KB 'enter' - all works like a charm.

Thanks again.

Pages: [1] 2