VoiceAttack & Large profile - takes minutes to start up and update

45 views
Skip to first unread message

Rob

unread,
Jan 17, 2016, 4:56:13 AM1/17/16
to VoiceAttack
I have a large (347 commands) profile for MWO that now takes VA about 1 - 2 minutes to launch. Also whenever I update the profile (or add to it), it takes about 1 minute to save before I can use VA and occasionally I get an unhandled exception

Is this considered a large profile, or is VA capable of larger profiles ? Could there be a command in the profile that's 'upsetting' VA ?

Happy to attach the profile to this post if required


Thanks !

Luca D

unread,
Jan 17, 2016, 7:01:09 AM1/17/16
to VoiceAttack
Nope, is not a large profile, there are people running stuff in the 5 digits i think ;)

Posting the profile could help... what version are you running? (latest stable version/latest beta version/other?)

Rob

unread,
Jan 17, 2016, 7:32:21 AM1/17/16
to VoiceAttack
v.1.5.8 and profile attached.

Note that I'm not the original author of the profile, just one I found on the 'net that worked for me. I've just been adding to it
Mechwarrior Online v1.0c-Profile.vap

Luca D

unread,
Jan 17, 2016, 10:02:48 AM1/17/16
to VoiceAttack
Can't pinpoint anything specific in the commands that causes the issue, but this fixed it for me:
Open VA, create a new profile, choose "import", select your existing .VAP file and check all the commands.

There's still a tiny bit of lag when switching/saving, but it's perfectly manageable on my system

Note that i'm using the latest beta available, so if it does not work with your current VA installation, it might be worth a try to update the software first

Gary

unread,
Jan 17, 2016, 12:21:31 PM1/17/16
to VoiceAttack
Hi, Rob.

That profile effectively expands into over 35 thousand commands, given all the prefixes and suffixes.  VoiceAttack does not impose any kind of limit on the number of items you can add (profiles, commands or command actions), however, VoiceAttack has no way of assessing what a system can actually handle.  The bottleneck in this situation is that the speech engine is being choked.  At some point, I will provide a warning indicating how a high number of commands will affect load time (as somewhat of a band-aid for edge cases).  I am also looking at alternatives to the built-in speech engine to offer as a fix (farther down the line, though).  The only workaround for this (if you want to call it that) is to run VoiceAttack with the -altload command line parameter.  This will allow fast loading of the profile, but will diminish recognition accuracy.

Sorry about that!

Gary

Gary

unread,
Jan 17, 2016, 12:22:18 PM1/17/16
to VoiceAttack
Thanks, Luca.  The number of commands that are actually created is not visible to the user... I have to look at it in debug o_O

Gary

Rob

unread,
Jan 18, 2016, 6:11:14 AM1/18/16
to VoiceAttack
Hi guys, I gave Luca's hint a go (importing into a new profile) and indeed, it saved much, much faster and editing the profile is now back to normal (saves right away, no sitting there with Windows wheel spinning)

I really appreciate your help and the quick responses ! You saved me a lot of anger and frustration ! Thanks heaps !
Reply all
Reply to author
Forward
0 new messages