EDCD / EDDI

Companion application for Elite Dangerous
Other
453 stars 82 forks source link

Found Potential Bug? #2514

Closed MacMonkey93 closed 1 year ago

MacMonkey93 commented 1 year ago

EDDI does not display any icon in sound setting nor sound mixer and does not play sound at all.

Expected

I expected for the app to play sound when used.

Observed

When i pressed the Test voice button under the "Text-to-Speech" Tab so see if I could hear it respond to me nothing plays.

Steps to reproduce

  1. Open app, Go to "Text-to-Speech" tab click on Test voice and hear if it responds. Look in sound mixer and sound setting for the EDDI App Thing no workie
  2. Test to see if EDDI appears in the sound settings and test if it responds.

Configuration

My Investigation:

I have uninstalled EDDI twice, Had removed voice attack to eliminate that causing issues. Made sure every check mark was set for the app to work correctly,

Investigation Notes:

I was running the old version v.4.0.1 and the same issues applied as v.4.0.2.

EDDI Logs

No log file found.

Player journals

Tkael commented 1 year ago

Did you look for log files? They'd be at %APPDATA%/EDDI on your computer and suffixed with a .log extension. image

image

If EDDI doesn't generate any .log files then it is either failing very quickly after it starts (in which case the UI probably wouldn't appear at all) or there may be a file permission issue preventing it from writing to the folder location discussed above.

MacMonkey93 commented 1 year ago

Do you want all of the log files?

Tkael commented 1 year ago

You are free to provide just what you think might be useful. I probably won't need more than the most recent couple but it won't be a problem if you wish to send more.

Please attach them to this ticket in a .zip folder.

MacMonkey93 commented 1 year ago

I will just send all the log files as im not exactly sure which ones to send. EDDI Logs.zip

Tkael commented 1 year ago

This appears to be the primary problem:

2023-02-26T16:30:34 [Warning] SpeechService:play Failed to speak; CSCore not registered. Installation may be corrupt or Windows version may be incompatible.: {"ClassName":"CSCore.CoreAudioAPI.CoreAudioAPIException","Message":"IAudioClient::IsFormatSupported caused an error: 0x80070057, \"The parameter is incorrect.\".","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   at CSCore.CoreAudioAPI.AudioClient.IsFormatSupported(AudioClientShareMode shareMode, WaveFormat waveFormat, WaveFormat& closestMatch)\r\n   at CSCore.SoundOut.WasapiOut.SetupWaveFormat(IWaveSource source, AudioClient audioClient)\r\n   at CSCore.SoundOut.WasapiOut.InitializeInternal()\r\n   at CSCore.SoundOut.WasapiOut.Initialize(IWaveSource source)\r\n   at EddiSpeechService.SpeechService.play(IWaveSource source, Int32 priority) in EddiSpeechService\\SpeechService.cs:line 305","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nIsFormatSupported\nCSCore, Version=1.2.1.2, Culture=neutral, PublicKeyToken=5a08f2b6f4415dea\nCSCore.CoreAudioAPI.AudioClient\nBoolean IsFormatSupported(CSCore.CoreAudioAPI.AudioClientShareMode, CSCore.WaveFormat, CSCore.WaveFormat ByRef)","HResult":-2147024809,"Source":"CSCore","WatsonBuckets":null,"Interface":"IAudioClient","Member":"IsFormatSupported"}

As you appear to be using Windows 10 (same as I am), I would suggest the following: 1) Check for windows installation / corruption issues as described here. 2) Reinstall EDDI. 3) Report back to let me know if the issue is still present?

Additionally: You seem to be using the Name (spoken) field in the Commander Details tab improperly as MacMonkey93 is not a valid IPA code that can be converted into a phonetic pronunciation of your commander name. Try using this instead: mækˈmʌŋkiˈnaɪntiˈθɹi.

MacMonkey93 commented 1 year ago

Capture This is from the windows ten fix and nothing is wrong with that so i guess il try another reinstall.

Tkael commented 1 year ago

Are you perhaps using audio drivers which differ from the Windows default?

MacMonkey93 commented 1 year ago

Yeah im using Realtek audio drivers

Tkael commented 1 year ago

In that case you might try reinstalling / updating your audio drivers.

MacMonkey93 commented 1 year ago

Alright il try reinstalling my audio drivers

MacMonkey93 commented 1 year ago

my audio drivers are upto date and theres nothing wrong with them sooo what now?

Tkael commented 1 year ago

I'll try adding a fallback in the next release but this seems like it may be more of a Windows (and perhaps registry) issue than an EDDI issue. I'm not sure there's very much else that I can do.