Makar8000 / ACT-Discord-Triggers

An ACT plugin for routing audio to discord
50 stars 14 forks source link

Not All TTS Voices Showing in Drop Down #71

Closed stormbard closed 2 years ago

stormbard commented 2 years ago

Describe the issue I've got multiple TTS voice packs installed; en-US, en-AU, en-GB, etc. When I go to select the TTS Voice in the plugin settings in ACT only a few of them show up; David, Zira, Hazel. I'd like to be able to select a different one as my group finds these a bit grating.

To Reproduce Steps to reproduce the behavior:

  1. Install multiple voice packs; I used the defaults that come with Windows 10, and reboot.
  2. Open ACT and select Plugins
  3. Select Discord Triggers Tab
  4. Select the drop down for TTS Voice
  5. Only see a fraction of what is installed

Environment Information:

Makar8000 commented 2 years ago

The TTS List uses .NET functions to get the list of installed voices on the system. If it is not returning the voice you installed, then it's possible that the voice installed is not supported for your system/locale to be used for Speech Synthesis.

More info: https://docs.microsoft.com/en-us/dotnet/api/system.speech.synthesis.speechsynthesizer.selectvoice?view=netframework-4.8#remarks