Page 7 of 34 FirstFirst 1234567891011121314151617 ... LastLast
Results 61 to 70 of 337

Thread: RRVoice

  1. #61
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,702
    Blog Entries
    1
    @Jebus

    Is there any way to optomize the code so that it reacts quicker when issuing a command?

    When running the plugin, I fire the main menu command, and the debug log shows the following:


    <Fire "RRVCON" command>
    SENDMSG;SystemListening;ListeningYes
    PLAYSOUND;C:\Program Files\Road Runner\Skins\DFX5\Ding.wav
    RRVC_ON
    <Spoken Command: "Main Menu">
    BYIND;Mute;MUTE<<DONOTHING
    MUTE
    SETIND;!RRVC_Ind;ON
    ONRRVC_ON
    LOAD;Menu.skin
    ONSCREENCHANGE
    SETIND;!RRVC_Ind;OFF
    PLAYSOUND;C:\Program Files\Road Runner\Skins\DFX5\VoiceUnderstood.wav
    SENDMSG;SystemListening;ListeningNo
    BYIND;Mute;DONOTHING<<MUTE
    MUTE

    As it is above, it appears that the plugin is waiting for RR to do it's thing, before the RRVCOFF command is fired, making it seem more sluggish than it should.

    Could the order of the fired events be changed, so that it listens, gets the command, then fires the RRVCOFF or whatever needs fired in the plugin immediately, and THEN actually fire the RR command?

    This is most noticeable on screens with embedded apps. When you use a voice command to load a skin with an embedded app, everything comes to a stand still till the screen loads and the app embeds, and then the RRVCOFF is fired, and the audio unmutes. This makes it seem like the system did not hear what you said, and I find myself starting to repeat the command.

    This is on my desktop system, a Dual Core 2.8 GHZ with 4 gigs of Ram. I can only immagine this would multiply itself on a slower CarPC.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  2. #62
    Variable Bitrate Jebus's Avatar
    Join Date
    Dec 2007
    Location
    Washington, USA
    Posts
    312
    Understood, The timing of all that is too much. I was thinking of removing the volume attenuation/playwave routines altogether, and let the user do it their own way.
    I've been working on streamlining it more, because of RRScript.

    With RRScript I can easily do that any way I want to. Even change it on the fly, for different media functions. Just run a different script.
    I'll be posting that pretty soon. I want to add more syntax checking and logging to it.

    With RRVoice I'll have something new soon, the other functions will stay the same. For triggering, there will only be the the two on/off commands and the two on event messages, all grouped properly.

    ...JJG
    RRVoice Version 1.1.0.10 BETA
    RRVCConfig Version 1.0.0.69 BETA
    RRMouseTrap Version 1.5 Beta
    RRPointer Version 1.0 BETA Update Soon
    RRTTS Testing
    RRScript Testing
    SerialSwitch In Development

  3. #63
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    Some more request...

    Use PI indicators instead of custom RR ones. Less needed cmds called to turn other one off/on
    Do a SETVAR;RRVCPath;xxx at startup when you save it to rr.ini

    *When the plugin loads, check the skinpath for a RRVoice.ini and use that, other wise default to PI folder for default. This would allow for different skin voice cmds suited for the skin that is currently loaded. And with having said that, you could update your internal ini path variable when you see the 'ONSKINSTART' cmd come thru the PI.
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  4. #64
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,702
    Blog Entries
    1
    Wow jebus, we are hitting you with all sorts of requests, sorry! But while are are at it

    Is there a command to force it to update the voice commands from the rrvoice.ini? With the newly added ability you added to create commands "on the fly" so to speak, when one is added, it will not work on a skin till you leave the skin, and then come back to it and it refreshes the voice commands.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  5. #65
    Variable Bitrate Jebus's Avatar
    Join Date
    Dec 2007
    Location
    Washington, USA
    Posts
    312
    H'mm yes I saw that earlier when I added the event, I added the call, gotta check that. Yes, any Voice Command or screen change will refresh the grammar.
    No Worries, I have all the ATTEN Vol stuff stripped out. You do that yourself now. I also reordered the triggers.
    Make sure you don't have debugging on in the build you have right now...
    Lotta file writes if you do...
    I am adding the ini location routines now, and working on the syncing of music when a manual artist/album/song is issued from RR. So RRVoice shows the same and has the grammer for it loaded properly.
    Gonna be a bit...
    ...JJG
    RRVoice Version 1.1.0.10 BETA
    RRVCConfig Version 1.0.0.69 BETA
    RRMouseTrap Version 1.5 Beta
    RRPointer Version 1.0 BETA Update Soon
    RRTTS Testing
    RRScript Testing
    SerialSwitch In Development

  6. #66
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    Gonna be a bit...
    So how long is your bit.... few days, weeks, months, er dear I say years.
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  7. #67
    Variable Bitrate Jebus's Avatar
    Join Date
    Dec 2007
    Location
    Washington, USA
    Posts
    312
    A little shorter than awhile....
    ...JJG
    RRVoice Version 1.1.0.10 BETA
    RRVCConfig Version 1.0.0.69 BETA
    RRMouseTrap Version 1.5 Beta
    RRPointer Version 1.0 BETA Update Soon
    RRTTS Testing
    RRScript Testing
    SerialSwitch In Development

  8. #68
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,702
    Blog Entries
    1
    Quote Originally Posted by Blue ZX3 View Post
    So how long is your bit.....
    Quote Originally Posted by Jebus View Post
    A little shorter than awhile....
    ...JJG
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  9. #69
    Variable Bitrate Jebus's Avatar
    Join Date
    Dec 2007
    Location
    Washington, USA
    Posts
    312

    Update....

    I will have the newest RRVoice version to you guys this weekend.
    It looks for and ADDS the COMMANDS SECTION from the ini in the current skin folder automagically if it's there.
    You do not need the settings Section in the skinpath's RRVoice.ini.
    It can be called anything, currently I have it at Menu.ini in the Settings Section of RRVoice.ini
    I still have to update the addvoice command and the skin change routine.
    There are some other minor items that I'm working on.

    The commands have changed.

    ON_RRVOICE_ON VR is on
    ON_RRVOICE_OFF VR is off

    ON_RRVOICE_STARTUP Class Initialize
    ON_RRVOICE_SHUTDOWN Class Terminate

    RRVOICE_ON RR command to turn VR on
    RRVOICE_OFF RR command to turn VR off

    RRVOICE_LIST RR command to create RRVoice.txt with current commands when called.
    This is for a custom list in a screen, such as the included RRVoice.skin

    No Voice Commands can be duplicated, It uses the first one found and ignores the duplicate...I will make it check the skin path first...

    There is no more Volume/mute/pause routine. You do that yourself, the way you want in your skin...All you get is ON_RRVOICE_ON and ON_RRVOICE_OFF...Even the indicator is yours to update.
    I think that is the best, (speediest), way to do it.

    With Debug off it is fast, with debug on, not so much...
    I have a ton of debugging code in there...But thats ok, That is why it works so well...

    Gimme some input guys, while I have the IDE open...
    ...JJG
    RRVoice Version 1.1.0.10 BETA
    RRVCConfig Version 1.0.0.69 BETA
    RRMouseTrap Version 1.5 Beta
    RRPointer Version 1.0 BETA Update Soon
    RRTTS Testing
    RRScript Testing
    SerialSwitch In Development

  10. #70
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,702
    Blog Entries
    1
    That all sounds perfect. It would still be good to have an indicator in the plugin to know if it is loaded or not. As for listening, or not listening, that can be handled by the skinner as you mentioned.

    You mentioned above that when you change screens the VRList is updated. I was aware of that part.... what I was hoping is that there was a command to manually refresh the voice commands. For instance, if you are on say a weather screen, and change a city, the VR commands are added to the RRVoice.ini, (Oops now the rr.ini ) but are not available for testing unless you leave the weather screen, and then come back to it.

    I can't wait to give it a test run when you get it ready
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •