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 - Freddo

Pages: [1]
1
That'll work wonders yeah.

2
sounds good?  ;D

3 - I want to create powerful tools for manipulating the command tree.  Most important is to be able to import and merge a command tree from another file.

This may not be neccesary, instead, why not apply the ability to use includes, (XBMC uses a method similar to this for it's skins), instead of actually merging files, simply let one file reference another, i.e:

Code: [Select]
<include>/profiles/XBMC.xml</include>

In voicecommands.xml would essentially inject everything from xbmc.xml into the main voicecommands.xml wherever the include line was. This way your users can simply swap out XBMC.xml when a new version is released instead of you having to do a complicated re-merge. This could be represented in the tree editor as a second(or third, fourth, fifth) root node, with all of it's commands nested underneath. Hope that makes sense.

3

Code: [Select]
       <command name="[repeat:10:{payload1}]action(4)">
  <phrase optional="true">Go</phrase>
  <phrase>Down</phrase>
           <payloadRange>1,20</payloadRange>
        </command>


Sounds solid in concept but isnt the repeat syntax kind of out of xml spec? (is that even a thing?) Sorry to criticise because clearly it works just fine as it is, but in my mind the most logical xml would be this?

Code: [Select]
       <command repeat="{payload 1}" delay="10" name="action(4)">
  <phrase optional="true">Go</phrase>
  <phrase>Down</phrase>
           <payloadRange>1,20</payloadRange>
        </command>

where repeat is the number of times to repeat and delay is how often? I understand this would require you to implement a gui solution for defining these values though.

I like the idea of being able to inject payloads at custom positions in the command, it'd greatly simplify the xml I'm doing, for example in my xbmc windows right now I have to do this:
Code: [Select]
   <payload>
        <value>home)</value>
        <phrase>home, top menu, start page</phrase>        
    </payload>

Note I had to enter the trailing close bracket there because XBMC wasnt getting the command quite right via HTTPAPI.

I really don't mean to seem so critical, this is an awesome fun app to play around with let alone for free! even though it's just a bit of fun for now and not really a serious solution to control XBMC all the time, it is great being able to just flop down on the sofa and go "new tv" and see whats fresh!

I'm using the PS3eye which has a 4 mic array ontop of it, results are suprisingly accurate even right accross the room (2m+ from mic to sofa), although I'm not sure if it'll be able to accurately ignore the tv sounds. I do have to ennunciate quite sharply to get it to work sometimes, but I'll be refining my voicecommands profile to try and reduce the number of phonetically similar commands to a minimum for better accuracy.

 I was curious JJ, you use the windows voice recognition engine, is there any point in doing the training/tutorials for that ? will it help with recognition accuracy in your app?

4
Just thought I'd post this too, neat little application for limited repeats to hopefuly make general navigation (up, down left right etc) a little more...natural to use:

Code: [Select]
        <command name="[repeat:10:2]action(4)">
   <phrase optional="true">Go, Double</phrase>
   <phrase>Down</phrase>
           <phrase>two, twice, Down</phrase>
        </command>

Also worth noting are page up and down:

Code: [Select]
        <command name="execbuiltin(Action(PageUp))">
            <phrase>Page</phrase>
            <phrase>Up, Left</phrase>
        </command>
        <command name="execbuiltin(Action(PageDown))">
            <phrase>Page</phrase>
            <phrase>Down, Right</phrase>
        </command>

5
do you know if it is possible to clear the sms state? ...

It works fine if you jump to a letter that is on a new key, but not if you try to jump from (a,b,or c) to (a,b,or c)

am I making sense?

anyway if we could clear first it would solve the problem...

Freddo: Did you ever try to disable UAC ?

Thanks JJ, I've tried the new build and repeat works just like you described, and unfortunately no, I can't find a smsJump clear button, nor does it appear to time out at all, so thats a bit knackered still, might have to post again in the XBMC forums and see if we can get a straight up Jump(a-z) instead of SMSJump(2-9), that'd make all this much simpler.

In the meantime filterSMS DOES have a clear-filter command :

Code: [Select]
    <commandGroup name="XBMC Filter Controls">
        <command name="execbuiltin(Action(FilterClear))">
            <phrase>Clear</phrase>
    <phrase>This, That, The</phrase>
    <phrase>Filter</phrase>
        </command>
        <command name="execbuiltin(Action(filtersms6))">
            <phrase>Filter</phrase>
    <phrase optional="true">Letter</phrase>
            <phrase>Mike, M, Emm</phrase>
        </command>
    </commandGroup>

So that does now work awesomely. Thanks for all your hard work! I'll poke the XBMC devs tomorrow about getting straight up Jump(0-Z) , Filter (0-Z) and Search(0-Z) actions, which would simplify all this immensely.

Oh and no I didn't get time to check UAC, I will try it in future and report back though.

6
Awesome, can't wait!

Pages: [1]