Author Topic: How do I make Voice Attack store the numbes I said and then repeat it to me  (Read 64 times)

ArthurDeNardi

  • Newbie
  • *
  • Posts: 3
Hello, I'm new to voice attack and I managed to do some checklists for the airbus a320. But when it comes to the Vspeeds I need to say the values of the speeds and then need it to repeat the values I said
For example
Me:
144, 145, 146, 90
Voice Attack
V1, 144 ;VR 145; V2 146; THRUST 90

Is there a way to do that?

SemlerPDX

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 291
  • Upstanding Lunatic
    • My AVCS Homepage
Check out the "Wait for Spoken Response" action under "Other > Advanced > Get User Input"

You can set it to listen for a range of numbers if you want, such as [0..500] and to store the user input in a text variable, i.e. ~myResponseVariable.

Next, you can use the "Say something with Text to Speech" action making use of the text token to insert the value of what was spoken into the TTS phrase, i.e.
"You said {TXT:~myResponseVariable}"

Find complete info on Tokens in the VoiceAttack Help Manual (press F1 when VoiceAttack is open and in focus) starting around page 164.