karashiiro / TextToTalk

Chat TTS plugin for Dalamud. Has support for triggers/exclusions, several TTS providers, and more!
MIT License
48 stars 29 forks source link

Support for Additional Voices #2

Closed Kitsune86 closed 3 years ago

Kitsune86 commented 4 years ago

Version: 1909 Windows 10

I'm wondering if this plugin pulls from the available voices in control panel on Windows 10 or is limited to Zira / David when using Canadian English (EN) as the default language. In my control panel I have a couple extra voices available that were installed from a third party but they don't show up in the addon

karashiiro commented 4 years ago

It can't use all of them, but it's not limited to those -- I have Haruka from my Japanese voice packs in addition to the English voices. Any 64-bit voice package should work if it's installed correctly. 32-bit voice packages cannot work since 64-bit applications (like Dalamud) can't load them.

As a general rule any of the "Desktop" voices in the packages you can install from the Settings app seem to work.

lee89tw14 commented 3 years ago

So author can't also use the Ayumi's voice right? cause I noticed that Haruka sometimes miss the kannji's pronunciation, not big deal but not sure is that SAPI's problem or what and also not sure will it be fine if changed to another Jp voice.

karashiiro commented 3 years ago

If it's not in the list, then it can't be used, no. You can try finding some third-party 64-bit voice packs to see if any of those work, though. Let me know if you find any so I can link to them.

QHayward commented 3 years ago

I've managed to get TextToTalk to work with the other Microsoft voices (i.e. Mark, Haruka, etc.)

The process is slightly involved, but these are the instructions I followed: https://www.ghacks.net/2018/08/11/unlock-all-windows-10-tts-voices-system-wide-to-get-more-of-them/

(alternative instructions: https://www.reddit.com/r/Windows10/comments/96dx8z/how_unlock_all_windows_10_hidden_tts_voices_for/) (someone's explanation of the issue: https://developercommunity.visualstudio.com/t/support-for-sapi-54-onecore/948724)

karashiiro commented 3 years ago

I'll try to add a function that does this automatically.

karashiiro commented 3 years ago

Added the VoiceUnlocker project to the solution, which performs this automatically. I'll release a new plugin version soon that has a thing to run this in the config, too.

karashiiro commented 3 years ago

Releasing with https://github.com/goatcorp/DalamudPlugins/pull/905