I recently installed Wine according to this answer and “Balabolka”, a very good TTS program that runs smoothly under Windows, afterwards. Wine did not install SAPI 4 or SAPI 5 voices which are required to use the program. So, I downloaded a free German (Steffi) and a free British English (Emily) SAPI 5 voice and installed them as well.
Unfortunately, Balabolka does not recognise these voices although they are installed. What can I do? Usually, Balabolka should be able to detect the voices automatically. But this does not work under Ubuntu. Furthermore, Balabolka does not seem to have an option which enables the user to manually select the installed voices if they are not detected by Balabolka itself.
Edit 1: I just saw that there is an option where one could (theoretically) select different voices but the option is greyed out.
Edit 2: It seems to be possible to install SAPI 4 voices so that Balabolka recognises them but I do not know how this can be achieved. I tried installing a SAPI 4 voice but it did not show up when I started the program. Having a SAPI 4 voice, however, would be at least better than having no solution at all.
I did not find any way (currently) to make the program work with SAPI 4/5 voices, but you can work with some of Microsoft Speech Platform voices.
Create 32-bit Wine Prefix:
Install Balabolka:
Test if program works:
Install Microsoft Speech Platform voice files (specifically x86 Package and Runtime Languages), I will choose ZiraPro, however you can install other voice files:
Install
winetricks
:Install
msxml6
:Check if this program works. (Repeat step 3 and choose Microsoft Speech Platform Tab in the program)
Hope this helps...
P.S. To install other voice files, go to https://www.microsoft.com/en-us/download/details.aspx?id=27224, download and then install with:
Source:
How do I create a 32-bit WINE prefix?
https://appdb.winehq.org/objectManager.php?sClass=version&iId=34389
I followed this github guide sapi5_on_linux and got it to work. The most important and relevant line is the following:
You need to use
winetricks
to installspeechsdk
.Unfortunately I did not encounter the exact problem you are describing myself, but I just created a new TTS utility which could help you as well. It works offline, for free with AI-based high-quality voice. You can you it everywhere: Firefox browser, PDF reader, chrome, LibreOffice, etc.
You can give it a try, it comes form research on deep learning and AI, and I find it much better than espeak, festival and co. Hopefully you can do without Wine.
Feel free to have a look, I just created a video tutorial with installation steps and DEMO: https://youtu.be/hb1ZVwUcPCU
Download link and Project page: https://github.com/MattePalte/Verbify-TTS
Feel free to leave comment/open issue to discuss new ideas, problems or constructive criticism.
Hoping it will help you.