Jump to content
Sign in to follow this  
Nico1854

Voice Attack Profile - How to Trigger commands after P3D events

Recommended Posts

I'm actually trying to build a Voice Attack profile.

 

I would like some commands to initiate after passing P3D events. I think the easiest way would be to send (automatically from P3D )a Key stroke on the event.

 

For example, when I pass above 10'000ft, I want to initiate a command in Voice Attack asking me to switch lights off.

 

Is there a way to get these informations from P3D and how ?

 

Airborne

Passing above transition altitude

Passing above 10'000ft

Passing below 10'000ft

Passing below TA

 

Are there other events that we can get out of P3D to use in other programs such as VA ?

Share this post


Link to post

You will have to create a plugin for VoiceAttack that interfaces with the sim via SimConnect.


Ed Wilson

Mindstar Aviation
My Playland - I69

Share this post


Link to post

Ooops,

 

That's out of my capabilities actually. I will check how to in VA user guide because I'm now reading about SimConnect and it does not seem to be easy.

 

Thank's for your answer

Share this post


Link to post

You will have to create a plugin for VoiceAttack that interfaces with the sim via SimConnect.

hmmmm that apply to interfacing VoiceAttack with FSUIPC?

 

Thanks,

 

Chas


My first sim flight simulator pD25zEJ.jpg

 

Take a ride to Stinking Creek! http://youtu.be/YP3fxFqkBXg Win10 Pro, GeForce GTX 1080TI/Rizen5 5600x  OCd,32 GB RAM,3x1920 x 1080, 60Hz , 27" Dell TouchScreen,TM HOTAS Warthog,TrackIR5,Saitek Combat Rudder Pedals HP reverbG2,Quest2

Share this post


Link to post

Yes.


Ed Wilson

Mindstar Aviation
My Playland - I69

Share this post


Link to post

I'm actually trying to build a Voice Attack profile.

 

I would like some commands to initiate after passing P3D events. I think the easiest way would be to send (automatically from P3D )a Key stroke on the event.

 

For example, when I pass above 10'000ft, I want to initiate a command in Voice Attack asking me to switch lights off.

 

Is there a way to get these informations from P3D and how ?

 

Airborne

Passing above transition altitude

Passing above 10'000ft

Passing below 10'000ft

Passing below TA

 

Are there other events that we can get out of P3D to use in other programs such as VA ?

Yes you can do this with Spad.Next which has a plugin for Voice Attack that works. I have used it and confirms that it works. In addition you can send a command from VA to Spad.Next which has logic and direct access to standard events and variables as well as Lvars and self created local variables.You can get it here https://www.fsgs.com/pages/landing-page/.

 

Terry

Share this post


Link to post

Hi Terry,

 

Awesome - I've been using VA but didn't know there was a way to truly communicate between P3D and VA... Off to learn... Thanks...

 

Regards,

Scott


imageproxy.png.c7210bb70e999d98cfd3e77d7

Share this post


Link to post

Hi Terry,Awesome - I've been using VA but didn't know there was a way to truly communicate between P3D and VA... Off to learn... Thanks...Regards,Scott

I forgot to mention there is a Vjoy plugin on the VA site that also works for having VA send virtual button pushes which are defined in Spad.Next as it also sees Vjoy sticks.

 

Terry

Share this post


Link to post

Looks like an interesting connection....I have been wondering why there was virtually no FSX/P3D chatter here or on the VoiceAttack forums....space games, yes....flight sims...Not_So_Much.

 

Is it possible that VA is an innovative Poor man's MCE?

 

Here is what has been done....though the author seems to be unresponsive...definitely an elderly Brit. Sick? Deceased?

 

What ever...sending him and his, healing vibes!

 

...a shame...we all could learn from this guy...

 

Chas


My first sim flight simulator pD25zEJ.jpg

 

Take a ride to Stinking Creek! http://youtu.be/YP3fxFqkBXg Win10 Pro, GeForce GTX 1080TI/Rizen5 5600x  OCd,32 GB RAM,3x1920 x 1080, 60Hz , 27" Dell TouchScreen,TM HOTAS Warthog,TrackIR5,Saitek Combat Rudder Pedals HP reverbG2,Quest2

Share this post


Link to post

With the newly released Spad.next VoiceAttack plugin you can execute commands and change Lvars, variables etc. by a voice command but I don't believe you can have sim events trigger a "text to speak" command. I think it's only one way so far.

 

Joe


Joe (Southern California)

SystemI9-9900KS @5.1Ghz/ Corsair H115i / Gigabyte A-390 Master / EVGA RTX 2080 Ti FTW3 Hybrid w 11Gb / Trident 32Gb DDR4-3200 C14 / Evo 970 2Tb M.2 / Samsung 40inch TV 40ku6300 4K w/ Native 30 hz capability  / Corsair AX850 PS / VKB Gunfighter Pro / Virpil MongoosT-50 Throttle / MFG Crosswind Pedals /   LINDA, VoiceAttack, ChasePlane, AIG AI, MCE, FFTF, Pilot2ATC, HP Reverb G2

Share this post


Link to post
On 11/23/2016 at 10:11 AM, joepoway said:

With the newly released Spad.next VoiceAttack plugin you can execute commands and change Lvars, variables etc. by a voice command but I don't believe you can have sim events trigger a "text to speak" command. I think it's only one way so far.

 

Joe

I was just going through your comments and managed to get Spadnext working with voiceattack. But I am not able to send commands to change the lvars . There isn't much documentation regarding this. 

here is what I did.

installed spadnext and voiceattack + the plugin required to communicate between them.
from spadnext I found out the Lvar I need to change. The name is ATR42_NEEDLE_ASI_BUG  its value is 70,  I want to read it from Voice attack and change it to 170. so, I then use the command to Execute an External Plugin Function to get the value and then use set a decimal value to enter the value 170 . However, nothing happens this is the result of the main window  . I don't get any errors, can someone help me what am I missing here ? Is there a way I can print or call out what values I have got from spadnext?

here  are the steps

https://photos.app.goo.gl/R7v6tQ7c9qsHtykn7

https://photos.app.goo.gl/5sKHZTDk7fuD6ZaJ7

https://photos.app.goo.gl/2Xc2Eo49FYbZCNTf9

https://photos.app.goo.gl/RFdiDxRdSr31QxFv9

https://photos.app.goo.gl/f2aAsdtZqfxjcFK39

Share this post


Link to post
1 hour ago, Choman said:

I was just going through your comments and managed to get Spadnext working with voiceattack. But I am not able to send commands to change the lvars . There isn't much documentation regarding this. 

here is what I did.

installed spadnext and voiceattack + the plugin required to communicate between them.
from spadnext I found out the Lvar I need to change. The name is ATR42_NEEDLE_ASI_BUG  its value is 70,  I want to read it from Voice attack and change it to 170. so, I then use the command to Execute an External Plugin Function to get the value and then use set a decimal value to enter the value 170 . However, nothing happens this is the result of the main window  . I don't get any errors, can someone help me what am I missing here ? Is there a way I can print or call out what values I have got from spadnext?

here  are the steps

https://photos.app.goo.gl/R7v6tQ7c9qsHtykn7

https://photos.app.goo.gl/5sKHZTDk7fuD6ZaJ7

https://photos.app.goo.gl/2Xc2Eo49FYbZCNTf9

https://photos.app.goo.gl/RFdiDxRdSr31QxFv9

https://photos.app.goo.gl/f2aAsdtZqfxjcFK39

Let me try and refresh my memory. I haven’t used SPAD.next for almost 2 years, I now use Linda to program all my controllers. I remember it wasn’t obvious, I’ll give it a look and see if I still have copies of my old code.

Joe


Joe (Southern California)

SystemI9-9900KS @5.1Ghz/ Corsair H115i / Gigabyte A-390 Master / EVGA RTX 2080 Ti FTW3 Hybrid w 11Gb / Trident 32Gb DDR4-3200 C14 / Evo 970 2Tb M.2 / Samsung 40inch TV 40ku6300 4K w/ Native 30 hz capability  / Corsair AX850 PS / VKB Gunfighter Pro / Virpil MongoosT-50 Throttle / MFG Crosswind Pedals /   LINDA, VoiceAttack, ChasePlane, AIG AI, MCE, FFTF, Pilot2ATC, HP Reverb G2

Share this post


Link to post

This may not be what the OP has in mind, but it would be worth looking at what Multi Crew Experience can do for you, since I believe most of your requests would be covered by the Co-pilot through your voice commands in stock airplanes and many - most - add-ons, and in case you need more than what is offered, you can always customise your own work-flows. To check if this is for you, you can try the free trial version. In addition to your co-pilot, you will also be able to speak to ATC (native or some add-ons) making your flights even more realistic. I have been using it since release many years ago and could not think flying without it!...

Edited by Jean-Claude

Share this post


Link to post

finally figured out the way to send voice commands to prepar3d to simulate events. I am pretty close to creating my fully functional ATC and Captain and even fix bugs of my aircrafts in prepar3d. The only thing remaining is the way to receive commands from prepar3d. There is a way to this by using scripts in SPADNEXT that will trigger commands exactly as the way the OP wants. 

For example when the altitude reaches 10,000 ft the script will invoke a key board command, may be CTRL +T , This keyboard command will then invoke a function in voice attack that will have a voice command assigned to it to say Flight level 100.

This can be quite powerful, next thing to look for is documentation on scripting or an example. Anybody?\

ps: my aircraft doesn't support multicrew, hence all this trouble. I want to make it a study level aircraft.

Edited by Choman

Share this post


Link to post

Update: Its possible! just use the script from spadnext to callout commands like, engine fire, 10000 feet or gear up etc. it has endless possibilities . It is extremely powerful and immersive. you can create and perform any scenario. No more opening up the VR and reading checklist, No need to buy any third party multicrew addon. Thank you 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...