Driver170 Posted August 18, 2023 Report Share Posted August 18, 2023 Hi, I’m looking to activate a command via FSUIPC with a voice command. I’m currently using Voiceattack and trying to figure out this. So i would be saying “cabin crew ten minutes to landing” and this would trigger an audio sound with prosim. I’m running P3D and prosim737 homecockpit software. Link to comment Share on other sites More sharing options...
John Dowson Posted August 18, 2023 Report Share Posted August 18, 2023 There are plenty of other support requests on using VoiceAttack with FSUIPC which maybe helpful. I have not used VoiceAttack myself, but I understand that this will convert a voice command into a key-press combination. You can assign this key-press combination to start a lua script which would then play the required sound file using the lua sound library. Link to comment Share on other sites More sharing options...
Driver170 Posted August 18, 2023 Author Report Share Posted August 18, 2023 Hi, You can use the trial version which i’m using just now. Link to comment Share on other sites More sharing options...
John Dowson Posted August 18, 2023 Report Share Posted August 18, 2023 1 hour ago, Driver170 said: You can use the trial version which i’m using just now. Of course...there is no difference between the trial and a full license, except that the trial license will expire... Not sure if that was a question or a statement... Link to comment Share on other sites More sharing options...
Driver170 Posted August 18, 2023 Author Report Share Posted August 18, 2023 46 minutes ago, John Dowson said: Of course...there is no difference between the trial and a full license, except that the trial license will expire... Not sure if that was a question or a statement... I was hoping you could use it and find out how to assign the key press from the voice command to in FSUIPC which i can then use it with prosim737 Link to comment Share on other sites More sharing options...
John Dowson Posted August 19, 2023 Report Share Posted August 19, 2023 Of course you can - as I said: 21 hours ago, John Dowson said: You can assign this key-press combination to start a lua script which would then play the required sound file using the lua sound library. Link to comment Share on other sites More sharing options...
Driver170 Posted August 19, 2023 Author Report Share Posted August 19, 2023 49 minutes ago, John Dowson said: Of course you can - as I said: But can this be sent to prosim though? Link to comment Share on other sites More sharing options...
John Dowson Posted August 19, 2023 Report Share Posted August 19, 2023 4 hours ago, Driver170 said: But can this be sent to prosim though? Can what be send to ProSim? Do you mean the key press? If so, what would ProSim do with a key press? You did say that you wanted to "trigger an audio sound with prosim" - how do you do this? i.e. what do you need to send to ProSim to trigger the sound? Can you not trigger/play the sound file in FSUIPC using a lua script, which you can assign to the key press sent from VoiceAttack? Link to comment Share on other sites More sharing options...
Driver170 Posted August 24, 2023 Author Report Share Posted August 24, 2023 Prosim said - But for a voice command i would recommend going the fsuipc way with user inputs/gates Just not sure how to approach this? Link to comment Share on other sites More sharing options...
John Dowson Posted August 24, 2023 Report Share Posted August 24, 2023 I am not sure what you want from me...I have already advised on what you should do: On 8/18/2023 at 1:24 PM, John Dowson said: You can assign this key-press combination to start a lua script which would then play the required sound file using the lua sound library. Why can you not just do that? And I would like you to answer my questions if you need help. I do not understand ProSim's response as I have no idea what you asked them... On 8/19/2023 at 4:15 PM, John Dowson said: You did say that you wanted to "trigger an audio sound with prosim" - how do you do this? i.e. what do you need to send to ProSim to trigger the sound? Can you not trigger/play the sound file in FSUIPC using a lua script, which you can assign to the key press sent from VoiceAttack? ? 23 minutes ago, Driver170 said: Just not sure how to approach this? Approach what? What is wring with my initial suggestion? Link to comment Share on other sites More sharing options...
Driver170 Posted August 24, 2023 Author Report Share Posted August 24, 2023 Hi sorry, You did say that you wanted to "trigger an audio sound with prosim" - how do you do this? i.e. what do you need to send to ProSim to trigger the sound? With prosim you can use input / gates. But i’m very limited in how all this works. Sorry you don’t understand prosim. Its confusing for me also. Prosim has something like FSUIPC 32bit U and you can assign 0x3344.0 for example Can you not trigger/play the sound file in FSUIPC using a lua script, which you can assign to the key press sent from VoiceAttack? Yes, but i’m just unsure how to approach lua scripts? Link to comment Share on other sites More sharing options...
John Dowson Posted August 24, 2023 Report Share Posted August 24, 2023 4 minutes ago, Driver170 said: You did say that you wanted to "trigger an audio sound with prosim" - how do you do this? i.e. what do you need to send to ProSim to trigger the sound? With prosim you can use input / gates. But i’m very limited in how all this works. Sorry you don’t understand prosim. Its confusing for me also. Prosim has something like FSUIPC 32bit U and you can assign 0x3344.0 for example Ok, so writing a certain value to an offset can trigger the sound? If so, then you can assign the key press (which will sent from Voice Attack) to write a value to an offset to trigger this using one of the Offset * controls (e.g. Offset Byte Set). It is up to you to determine what value needs to be set to which offset to trigger this - I cannot help with this. 20 minutes ago, Driver170 said: Can you not trigger/play the sound file in FSUIPC using a lua script, which you can assign to the key press sent from VoiceAttack? Yes, but i’m just unsure how to approach lua scripts? Just try this. You will need to know the location of the sound file (*.wav), and then just use the sound,play function to play the file - see the Lua library documentation. Your key press can then just start the lua script that then plays the sound. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now