November 28, 20241 yr MSFS2020 Lorby AxisAndOhs 4.50b32 WIN 11 Pro 24H2 I made a few scripts for a pilot monitoring, which announces the flap position for example. This worked very well with David English US as default voice. Because of a Windows problem I have made an in-place upgrade Windows 11. After the upgrade the default voice was a female voice. I only noticed this during the first flight, as it was no longer “David” speaking. After the flight, I set David as the default voice again, restarted the PC and then started the flight simulator. Unfortunately, AxisAndOhs still uses the woman's voice. My question, what can I do to make AxisAndOhs use David again, which is now the default voice again. Thank you very much Stefan regards Stefan Liebe
November 28, 20241 yr Commercial Member 12 minutes ago, Stefan01 said: I set David as the default voice again, What does that mean? AAO doesn' have a "default voice". You have to use the VOICE command to set the voice that shall be used by your scripts (until you use VOICE again) Edited November 28, 20241 yr by Lorby_SI LORBY-SI
November 29, 20241 yr Author In Windows 11, David is set as the default voice. When I press the “Preview voice” button in Windows Settings=> Time & language => Speech, the response is: “You have selected Microsoft David as the default voice”, I have made a small script to set AAOH: (VOICERATE:-1) (VOICEVOLUME:100) (SPEAK:David should speak ) When I run this script I hear a female voice say: “David should speak ”. This is definitely not the default voice. I assumed that in this case the default voice set in Windows, in my case David, would always be used. For some reason I don't understand, AAOH chooses a different voice and I would like the Windows default voice to be used. regards Stefan Liebe
November 29, 20241 yr Commercial Member 1 hour ago, Stefan01 said: For some reason I don't understand, AAOH chooses a different voice and I would like the Windows default voice to be used. Sorry, but AAO does not choose any voice by default. What you hear is what the Windows SAPI TTS system delivers when AAO simply sends a "speak" command to it. I cannot tell you why that is a different voice than you expect. Maybe you have other scripts running that select a specific voice? That selection would be permanent, which is why in my examples I use Macros to force a specific voice for every SPEAK command. You will have to set the voice that you want, as described in the AAO manual, using the VOICE: command. When you call VOICE: once, it is permanent, until AAO is restarted or a disconnect/reconnect happens (or you set another voice). You could run it as a one-shot automated script. Or create a macro that forces a certain voice. Edited November 29, 20241 yr by Lorby_SI LORBY-SI
November 29, 20241 yr Commercial Member Here is an example for a macro. You would add this code to a script, and execute that script as a global automated script, one shot, beginning. <Macro Name="DAVIDSPEAK">VOICE:Microsoft David Desktop) (VOICERATE:-1) (VOICEVOLUME:100) (SPEAKBLK</Macro> In your scripts you then use (@DAVIDSPEAK:I am David) Be mindful that the David voice may have a different name on your computer. Use the dialog in "Extras->Show list of all SAPI voices" to find the correct one. LORBY-SI
November 29, 20241 yr Commercial Member 1 hour ago, Stefan01 said: In Windows 11, David is set as the default voice. I just rememberd, after that Windows update, chances are that David is not a SAPI voice anymore. Windows uses two different TTS systems in parallel, SAPI and WinRT (see AAO manual chapter "22 TextToSpeech: WinRT vs. SAPI"). AAO can utilize SAPI, Azure, Polly and ChatGPT, but not WinRT. AAO has a feature to convert WinRT voices into SAPI. Just be mindful that this is ultimately a "hack" into the registry. Edited November 29, 20241 yr by Lorby_SI LORBY-SI
November 29, 20241 yr Author Thank you for the detailed explanation. It is a misunderstanding on my part. I thought that if no voice is defined, then AAOH always takes the Windows default voice. I have now done this by entering the command ( VOICE:Microsoft David Desktop) once at the beginning of the session in the first script that is called. This will ensure that David is always the one speaking during the entire session. Thanks again Stefan regards Stefan Liebe
Create an account or sign in to comment