Author Topic: [v1.6.7.6] TSS action speaks old text after changing command phrase  (Read 3004 times)

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
When a prefix/suffix combination has one or more "Say Something with Text-To-Speech" actions in either prefix or suffix, if the command phrase for either is changed, the TTS actions will "freeze" their internal values for the rest of the session.

E.G. if the prefix contains
Code: [Select]
Say, 'prefix'
and the suffix contains
Code: [Select]
Say, 'suffix'
If these values are changed:
Code: [Select]
Say, 'change'
Code: [Select]
Say, 'both'
triggering the command will still speak "prefix suffix", despite the values visually updating(and saving to the profile, as they remain changed after restarting VoiceAttack).

No matter which change is made to the command phrase, be it adding or removing characters, or adding or removing dynamic command name variations, even though there is a "Profile load time" message in the log(as I have the "-showloadtime" command line option enabled), indicating data should have been refreshed, the TTS spoken words remain what they were before the command phrase change.

Changing the "Wait until speech completes before continuing command" did take effect, as the prefix TTS action now finished before the suffix would start, yet the spoken text remained the same.

This also happens with TTS actions that have random phrases, E.G. "test 1;test 2".

If a TTS action is added when the values are already frozen, it will speak the entered phrase the first time the command runs, but it those added actions are changed thereafter, they too will be frozen to their initial setting.
Although I did once get an added action to speak the same phrase as the already frozen one above it, but I couldn't replicate that.

If TTS actions are removed, they will speak their initial phrase, I.E. the values stay with their actions.

If a TTS action is given a token to speak, that value will be spoken correctly.

I don't know if any other actions are affected by this, but variables don't appear to be at least.


Nothing short of restarting VoiceAttack seems to unfreeze the values, even manually switching profiles doesn't solve it.
« Last Edit: March 26, 2018, 06:36:59 PM by Pfeil »

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: [v1.6.7.6] TSS action speaks old text after changing command phrase
« Reply #1 on: March 24, 2018, 09:29:45 PM »
I found the cause of this (cache) and the fix will be in the next release ;)


Crazy how you find this stuff.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: [v1.6.7.6] TSS action speaks old text after changing command phrase
« Reply #2 on: March 26, 2018, 06:36:35 PM »
Appears to be fixed in v1.6.9.28