Replies: 17 comments 36 replies
-
Thank you very much for your detailed analysis! |
Beta Was this translation helpful? Give feedback.
-
I think the best next course of action is to create a reproducible test case: install the voice on a Windows machine (computer or virtual), create a simple HTML + Javascript test webpage that can be opened in Google Chrome or any other Chromium-based web browser (although Microsoft Edge might in fact behave differently as it is capable of interfacing with Windows proprietary or platform-specific APIs). The test webpage simply lists available TTS voices via the Web Speech API ... the test fails if the Leticia voice is not listed. That bug report can be sent to the owners / maintainers of this synthetic speech voice. |
Beta Was this translation helpful? Give feedback.
-
Hi to all! |
Beta Was this translation helpful? Give feedback.
-
no way. we found the problem. |
Beta Was this translation helpful? Give feedback.
-
I am trying to use the version of Thorium from Microsoft store.
But, I don’t see options for configuration of Microsoft voices via thorium.
From: Daniel Weck ***@***.***>
Sent: Friday, April 5, 2024 5:51 PM
To: edrlab/thorium-reader ***@***.***>
Cc: Zvonimir Stanečić ***@***.***>; Comment ***@***.***>
Subject: Re: [edrlab/thorium-reader] Using RHVoice for TTS in Thorium instead of Windows Default (Discussion #2095)
that's weird, it's normally the exact opposite :) the WebSpeech API picks from SAPi5, excluding OneCore premium TTS voices ?!
—
Reply to this email directly, view it on GitHub <#2095 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACVCDEYW5RLEPTH2O2A37GTY33B73AVCNFSM6AAAAABFXFVF7KVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TAMRTGMYTM> .
You are receiving this because you commented. <https://github.com/notifications/beacon/ACVCDE7TFTXTCOKPSHOUJ23Y33B73A5CNFSM6AAAAABFXFVF7KWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQARGXVI.gif> Message ID: ***@***.*** ***@***.***> >
…--
Ta wiadomość e-mail została sprawdzona pod kątem wirusów przez oprogramowanie antywirusowe Avast.
www.avast.com
|
Beta Was this translation helpful? Give feedback.
-
Hi,
This way you describe here shouldn’t be used at all.
Your screenshots are not helping me, as I am totally blind.
Note that Sapi voices should be looked up from the registry.
From: brenojac ***@***.***>
Sent: Friday, April 5, 2024 6:22 PM
To: edrlab/thorium-reader ***@***.***>
Cc: Zvonimir Stanečić ***@***.***>; Mention ***@***.***>
Subject: Re: [edrlab/thorium-reader] Using RHVoice for TTS in Thorium instead of Windows Default (Discussion #2095)
Dear @danielweck <https://github.com/danielweck> @zstanecic <https://github.com/zstanecic> ,
Let me add to the discussion, given my investigations this far. Thorium is able to list windows TTS voice which are locally installed and listed at the folder C:\Windows\Speech_OneCore\Engines\TTS. I can add and remove new voices using Windows voice configuration interface:
image.png (view on web) <https://github.com/edrlab/thorium-reader/assets/563016/a6af2c1d-9b45-4932-97be-35debd6dea3d>
@zstanecic <https://github.com/zstanecic> , After adding any voices in this fashion, it will get listed in Thorium when you open an EPUB or other format and click on the Activate TTS button:
image.png (view on web) <https://github.com/edrlab/thorium-reader/assets/563016/81ec8f13-0e26-4562-a4e0-d446e48c2928>
And
image.png (view on web) <https://github.com/edrlab/thorium-reader/assets/563016/139defa4-d3cb-4d3f-8158-692ea0e5edaa>
I'm not sure if you tried like that. Now, when installing Leticia voice, the files wont go to the Windows TTS folder, which is where voices are listed in Thorium (sorry if I'm mistaken about this, but that's how I'm understanding what Thorium is doing). Everything installed by Leticia voice goes to C:\ProgramData\Olga Yakovleva\RHVoice, am I correct?
Now, in theory the SAPI 5 interfaces would be able to retrieve voices from both Windows TTS and Leticia's RHVoice, given they are compatible? That still needs to be understood in my option. When I list the voices using https://jsbin.com/wuqumukesu/edit?js,console,output, I still get the same listing as Thorium. Only Windows TTS voices. If this listing goes through SAPI, why cant it locate Leticia's voice as well?
image.png (view on web) <https://github.com/edrlab/thorium-reader/assets/563016/d820925b-7985-46f2-bc91-9b5abb856fbf>
Breno
—
Reply to this email directly, view it on GitHub <#2095 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACVCDE6PJFZD7NI54FMCJP3Y33FSPAVCNFSM6AAAAABFXFVF7KVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TAMRTGY3DE> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/ACVCDE53WQ2XEXAMTUHFD5DY33FSPA5CNFSM6AAAAABFXFVF7KWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQARGYK4.gif> Message ID: ***@***.*** ***@***.***> >
…--
Ta wiadomość e-mail została sprawdzona pod kątem wirusów przez oprogramowanie antywirusowe Avast.
www.avast.com
|
Beta Was this translation helpful? Give feedback.
-
Dear @zstanecic Sorry my last post was not helpful. Have you managed to test the TTS feature of Thorium? It is not available as a configuration option. Instead, the available voices show up when clicking in the Activate TTS Button, while reading an ebook. On the top center there'll be a list of voices to select. But the voices listed are the ones installed as a Windows voice package. You mentioned the voices are retrieved from the Windows Registry. Could you point out where Leticia voice is located? That may help us find out why Thorium is unable to find it. Breno |
Beta Was this translation helpful? Give feedback.
-
Windows voice package? So, it means only Narrator natural voices or OneCore voices.
RHVoice stores his info as follows:
32-bit registry key: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\SPEECH\Voices\TokenEnums\RHVoice
64-bit: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPEECH\Voices\TokenEnums\RHVoice
I don’t have a way to choose voices when I press the activate text to speech button.
I don’t have combobox or any other element.
From: brenojac ***@***.***>
Sent: Friday, April 5, 2024 9:07 PM
To: edrlab/thorium-reader ***@***.***>
Cc: Zvonimir Stanečić ***@***.***>; Mention ***@***.***>
Subject: Re: [edrlab/thorium-reader] Using RHVoice for TTS in Thorium instead of Windows Default (Discussion #2095)
Dear @zstanecic <https://github.com/zstanecic>
Sorry my last post was not helpful. Have you managed to test the TTS feature of Thorium? It is not available as a configuration option. Instead, the available voices show up when clicking in the Activate TTS Button. On the top center there'll be a list of voices to select. But the voices listed are the ones installed as a Windows voice package.
You mentioned the voices are retrieved from the Windows Registry. Could you point out where Leticia voice is located? That may help us find out why Thorium is unable to find it.
Breno
—
Reply to this email directly, view it on GitHub <#2095 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACVCDE5ACK4F26DK3J2MHMLY33Y5DAVCNFSM6AAAAABFXFVF7KVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TAMRVGI4DA> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/ACVCDE6T7ZIAWECJZRCEQRLY33Y5DA5CNFSM6AAAAABFXFVF7KWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQARG3QA.gif> Message ID: ***@***.*** ***@***.***> >
…--
Ta wiadomość e-mail została sprawdzona pod kątem wirusów przez oprogramowanie antywirusowe Avast.
www.avast.com
|
Beta Was this translation helpful? Give feedback.
-
I don’t see this combobox with a keyboard, so it is inaccessible.
Thanks!
From: brenojac ***@***.***>
Sent: Friday, April 5, 2024 11:12 PM
To: edrlab/thorium-reader ***@***.***>
Cc: Zvonimir Stanečić ***@***.***>; Mention ***@***.***>
Subject: Re: [edrlab/thorium-reader] Using RHVoice for TTS in Thorium instead of Windows Default (Discussion #2095)
@zstanecic <https://github.com/zstanecic> , there's actually a combobox where voices are listed. I installed NVDA and it was able to read them, but only when I point the mouse to it. The first item on the list is Voice: system default. When clicking on the combobox, it lists the rest of the voices available.
@danielweck <https://github.com/danielweck> Could you please help us figure out why Thorium is not able to find Leticia's voice? Entries are being add in the windows registry as described above. What else could you suggest to make Thorium list Leticia's voice?
Thanks in advance.
Breno
—
Reply to this email directly, view it on GitHub <#2095 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACVCDE7UKUXV2E7DOTLVHRLY34HSTAVCNFSM6AAAAABFXFVF7KVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TAMRWGEYTS> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/ACVCDEZNMR233QGRE3MDGDTY34HSTA5CNFSM6AAAAABFXFVF7KWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQARG5EO.gif> Message ID: ***@***.*** ***@***.***> >
…--
Ta wiadomość e-mail została sprawdzona pod kątem wirusów przez oprogramowanie antywirusowe Avast.
www.avast.com
|
Beta Was this translation helpful? Give feedback.
-
Hi,
With script provided above, I cannot find anoy of the RHVoice voices which were locally installed.
Thanks,
Zvonimir Stanecic
…--
Ta wiadomość e-mail została sprawdzona pod kątem wirusów przez oprogramowanie antywirusowe Avast.
www.avast.com
|
Beta Was this translation helpful? Give feedback.
-
Dear @danielweck @zstanecic , Hope your both well. We keep investigating how to use Letícia's voice from Thorium Reader. Using NVDA with Leticia requires an additional plug-in to make it work. We're willing to develop one for Thorium in case it is also necessary. We are really eager to use Letícia voice as we're sure she's the best voice today for brazilian portuguese. @zstanecic could we be in closer contact with RHVoice team to make this happen? We have a dedicated developer who could try to go deeper into investigating the use of RHVoices in Thorium either through SAPI or through an additional plug-in. Finally, is there any additional documentation we could use to understand RHVoice's are exposed to SAPI 5? Best regards,
|
Beta Was this translation helpful? Give feedback.
-
@brenojac have you tested Microsoft Natural voices voices for Portuguese as well? On Edge, Microsoft now provides:
In my experience with other languages, Microsoft Natural voices are some of the best available on the market and the best ones that come preloaded in a browser or an OS. On Windows 11, the selection is smaller currently but it includes Antonio and Francisca with the most recent Windows 11 updates: https://support.microsoft.com/en-us/windows/appendix-a-supported-languages-and-voices-4486e345-7730-53da-fcfe-55cc64300f01 As a side note, I've been documenting high quality voices across platforms in a documentation repo at https://github.com/HadrienGardeur/web-speech-recommended-voices Portuguese is fairly high in my to-do list, I've opened an issue to handle it next along with German: HadrienGardeur/web-speech-recommended-voices#6 |
Beta Was this translation helpful? Give feedback.
-
Hi,
Unfortunatelly no.
They use different protocols
…--
Ta wiadomość e-mail została sprawdzona pod kątem wirusów przez oprogramowanie antywirusowe Avast.
www.avast.com
|
Beta Was this translation helpful? Give feedback.
-
Hi there, I found NaturalVoiceSAPIAdapter which can simulate natural voices as SAPI5. Unfortunately, I don't know how to add it to Thorium. If there are any solutions, please let me know. Thanks a lot. |
Beta Was this translation helpful? Give feedback.
-
Hi Lero!
Console newer is showing the sapi voices.
There we have a bug also with RHVoice.
Cromium is cloud-centric, this our local voices are not suitable for use
with thorium.
|
Beta Was this translation helpful? Give feedback.
-
So this is actually Chromium's fault... This commit in Chromium repository added the ability to list OneCore voices. Here's the code in question: bool TtsPlatformImplBackgroundWorker::GetVoiceTokens(
Microsoft::WRL::ComPtr<IEnumSpObjectTokens>* out_tokens) {
if (S_OK ==
SpEnumTokens(kSPCategoryOneCoreVoices, NULL, NULL, &(*out_tokens))) {
} else if (S_OK != SpEnumTokens(SPCAT_VOICES, NULL, NULL, &(*out_tokens))) {
return false;
}
return true;
} You can see that once OneCore voices ( The committer thought that the OneCore voice list would include all SAPI voices as well (e.g. the OneCore voice There is a PR that tries to fix this, but it hasn't been merged yet, because the submitter didn't reply to any comment from the reviewer. Copying the Speech registry key to Speech_OneCore works, because Chromium is actually using SAPI 5 to load OneCore voices, instead of using the appropriate WinRT API. It just tells the SAPI 5 system to load the voices at the OneCore voice registry key, which isn't correct, and some OneCore voices can fail to work correctly because of this. |
Beta Was this translation helpful? Give feedback.
-
Thanks so much, now it works :DDDD |
Beta Was this translation helpful? Give feedback.
-
Dear Thorium Team and community,
We've been trying to setup the Leticia Voice for Brazillian Portuguese (https://louderpages.org/leticia) as a TTS option in Thorium. It is SAPI 5 compatible, according to them: "You can also use RHVoice with other applications for Windows, e.g. JAWS, if they are compatible with Microsoft Speech API Version 5".
Now, we followed threads #1792, #1648, #1151, but were not able to make the Leticia voice show up in the list. We even tried a Windows Registry hack (https://stackoverflow.com/questions/47379725/how-do-i-add-a-voice-language-to-speechsynthesis), as suggested by @danielweck, but unfortunately it didn't solve it. I decided to open this issue so that perhaps we could investigate and find a solution together that may be useful to us and others in the future.
Here are the steps we've taken this far:
Browse https://rhvoice.org/languages/ and click on Portuguese. It will redirect to https://louderpages.org/leticia
Download and install https://rhvoice.org/download/RHVoice-Brazilian-Portuguese-voice-Leticia-F123-v4.6.1021.18-setup.exe
Try to list the new TTS voices in Thorium or Windows or even in the browser using https://jsbin.com/wuqumukesu/edit?js,console,output
Unfortunately in either case, Leticia voice does not show up as an alternative anywhere.
Further investigations have shown us that Windows TTS voices are stored at C:\Windows\Speech_OneCore\Engines\TTS, while RHVoice Leticia Voice are at C:\ProgramData\Olga Yakovleva\RHVoice\ and apparently in a different format. Not sure how to go from here.
One hint I suspect comes from RHVoice page stating that "you should configure your software to use RHVoice as its speech synthesizer", which suggest it as alternative to Windows TTS?
Has anyone in the community gone through this problem? Suggestions / hints are welcome.
Thanks in advance
Breno
Beta Was this translation helpful? Give feedback.
All reactions