davidacm / NVDA-IBMTTS-Driver

This project is aimed at developing and maintaining the NVDA IBMTTS driver. IBMTTS is a synthesizer similar to Eloquence. Please send your ideas and contributions here!
GNU General Public License v2.0
56 stars 23 forks source link

IBMTTS Suggestion #65

Closed lbk2907 closed 2 years ago

lbk2907 commented 2 years ago

Hey there. Greetings. I have a few suggestion for the IBMTTS update here. I not sure if this can be accepted or can be more better.

  1. Sample rate GUI. Add the check box to the voice settings dialog to enable the 8 KhZ, 11Khz and 22KhZ. If 1 of them is check, the rest will uncheck automaticly. Let's say 11KhZ is check by default. When user go to the voice settings and check the 22KhZ, the voice will automaticly take effect and the 11KhZ will uncheck automaticly. Don't forget the dialog for the 22KhZ check box that said "turn this on only when you are using IBM library).
  2. Install tasks. After installation, IBMTTS will search for "ibmeci.dll" in "C:\Windows\Speech\viavoice". If it exists, it will automaticly set the IBMTTS folder address to "C:\Windows\Speech\viavoice" and IBMTTS library name to "ibmeci.dll". If the path "C:\Windows\Speech\viavoice" or "ibmeci.dll" inside the "C:\Windows\Speech\viavoice" doesn't exist, it will set to the default folder (ibmtts) and the library name to "eci.dll". If the "eci.dll" also doesn't exist in the "ibmtts" folder, it will pop up the option for user whether to set the library path now or they can do it later in preferences settings.
  3. IBMTTS Settings in preferences. Add the combo box to choose the IBMTTS path (If possible). IBMTTS will search for "ibmeci.dll" in "C:\Windows\Speech\viavoice" and "eci.dll" in the default path (ibmtts). The combo box will display base on the result that IBMTTS can found. If the library searched by IBMTTS is not exist, that option will disappear from the combo box. Let's say IBMTTS only can found the "ibmeci.dll" in "C:\Windows\Speech\viavoice", the combo box only have this 2 options:
    • IBMECI In C:\Windows\Speech\viavoice
    • Custom Path The default path (ibmtts) will disappear from the combo box. If no driver was found, it will only display the "Custom Path" in the combo box. If "Custom Path" was selected, they have an old style like the current version. User need to set the folder address and the library name manually. Thanks in advance.
ultrasound1372 commented 2 years ago

I'm unaware of IBMTTS installs that go there, the one I'm aware of goes in C:\Program Files (x86)\ViaVoiceTTS. @Mohamed00?

Mohamed00 commented 2 years ago

Some unofficial installers go in that path, but the official ones don't.

davidacm commented 2 years ago

Hi all. Even if search for the libraries could be a good idea, I can't accept this. Search for libraries implies that I'm recommending or suggesting their use, and those things can convert this add-on in an illegal one.

If you want to do something to register, even install libraries automatically, see this template utility called ECILibraries that I made to help everyone to package the legal libraries that they could have. By using this template, you can separate the libraries of the add-on. Therefore you won't lose the libraries each time you update the add-on. That's was the main point behind this, but you can implement new features if you want.

P.S. Please don't mix more than one suggestion in by thread. It may be harder to do, but helps to mantain the order of solved and not solved things.

Regards, David CM.