This requested feature is essential for blind users of every accessibility software and not only NVDA and JAWS. Because when they select Mbrola voice for first time, their synthesizer wait for accepts license agreement and until that they can't hear anything!
Hence Mbrola at first run should prove itself for example with creation one 10ms audio file in parallel. This mean Espeak continue speaking with similar Espeak voice instead of selected Mbrola voice until Espeak ensure Mbrola is ready for immediate outputs.
As we know two types of applications use Espeak. For first group like text to mp3 applications, usual wait for Mbrola is better but for other group like JAWS & NVDA no wait for Mbrola is necessary. Therefore it's good to have different voices for using with these two groups of applications. For example user enter "nwmb-en1" during setup Espeak for create a no wait enabled version of "mb-en1" voice. Name of this new voice with active no wait option could be perhaps "english-nwmb-en1".
A simple solution exist for fix this bug!
I emailed to "Thierry DUTOIT" and he said:
"The popup window appears only when the software is launched.
When it is left open , it should not ask for additional confirmation each time you use it in the same computer session..."
Hence one can invoke Mbrola license with an empty text and then use it for real use. This solve crash problem of (all) screen readers with Mbrola voices (in all OS).
Algorithm:
1- Create a variable with False value when load eSpeak.
2- Every time before use Mbrola voices, check variable if value be False:
A: send an empty text for invoke Mbrola license
B: change value of variable to True
C: use that Mbrola voice.
But if value of variable be True then simply use that Mbrola voice.
Thanks in advance
Best Regards
Mahmood Taghavi
Best Solution for using Mbrola in Windows:
Please use "mbrola_cygwin.exe" instead of "mbrola.dll".
It behave like Linux version of mbrola hence fix license problem.
More Info:
https://sourceforge.net/p/espeak/bugs/112/#eb37
Best Regards
Mahmood Taghavi
Last edit: Mahmood Taghavi 2014-03-10