Menu

#20 Custom path to Mbrola engine

closed
5
2014-10-15
2013-10-03
No

This requested feature, allow users to put Mbrola engine files (mbrola.dll and maybe mbrplay.dll & tctsaudio.dll) beside Espeak and define this path for Espeak. The goal is to make Mbrola enabled portable pack of Espeak. Hence for example NVDA and JAWS users can use Mbrola voices even in portable mode! Also this will be cool for developer that want make portable applications with Espeak and Mbrola.

Discussion

  • Mahmood Taghavi

    Mahmood Taghavi - 2013-10-03

    Also please define a default path for example "espeak-data\mbrola" that end user can put Mbrola execution files to make Mbrola enabled portable pack of Espeak. This is good especially for Blind users of NVDA and JAWS.

    Thanks in advance

     

    Last edit: Mahmood Taghavi 2013-10-03
  • Jonathan Duddington

    This should already be possible.

    On Windows, eSpeak loads the mbrola.dll by calling the Windows system function:

    LoadLibraryA("mbrola.dll");

    According to http://msdn.microsoft.com/en-us/library/windows/desktop/ms684175%28v=vs.85%29.aspx

    "The first directory searched is the directory containing the image file used to create the calling process"

     
  • Mahmood Taghavi

    Mahmood Taghavi - 2013-10-03

    Thanks a lot. Although I thought about one predefined path in espeak folder but what you say is true and work fine. Users of NVDA can copy "mbrola.dll" file and place it beside "NVDA.exe". (Not in "synthDrivers" folder beside "espeak.dll").
    Also for other situation such as Espeak "TTSApp.exe" and "command_line/espeak.exe", user can copy "mbrola.dll" and put it beside ".exe" file of each application.

     
  • Jonathan Duddington

    • status: open --> closed
     

Log in to post a comment.