blindpandas / bookworm

The Universally Accessible document Reader
https://getbookworm.com
Other
120 stars 38 forks source link

Bookworm does not detect any of RHVoice SAPI voices #257

Open cyrmax opened 1 month ago

cyrmax commented 1 month ago

Describe the Problem

Bookworm does not detect any of RHVoice SAPI voices. It only sees Microsoft ones, either x86 or x64 version of the app.

To Reproduce

  1. Download and install any voice from RHVoice.org (you need SAPI voices, not NVDA ones);
  2. Open Bookworm and either create a new profile or try to edit already existing one;
  3. Choose speech engine SAPI;
  4. Try to find any of installed RHVoice voices in a list of voices.

Expected behavior

RHVoice voices should appear in list and be available for reading books.

If the problem is related to a file, indicate the file you have opened

n/a

Desktop (please complete the following information):

Additional context

n/a

cyrmax commented 1 month ago

After some research I found that RHVoice stores its SAPI voices information in registry there: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\TokenEnums And for 32 bit versions under x64 system here: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\SPEECH\Voices\TokenEnums

Maybe this helps.